I have downloaded libav-12.3.  I do a ./configure --enable-shared
--enable-libmp3lame.  Then a make and make install.

I run avconv to encode audio and I get the following:
avconv version 12.3, Copyright (c) 2000-2018 the Libav developers
  built on Feb 20 2018 00:04:26 with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1)
20170516
[alsa @ 0x1e37100] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'hw:1,0':
  Duration: N/A, start: 14710.998956, bitrate: N/A
    Stream #0:0: Audio: pcm_s16le
      44100 Hz, 2 channels, s16, 1411 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))
Press ctrl-c to stop encoding
[mpegts @ 0x1e43d80] frame size not set
Output #0, mpegts, to 'udp://239.255.0.8:11841':
  Metadata:
    encoder         : Lavf57.7.2
    Stream #0:0: Audio: mp3
      44100 Hz, stereo, s16p, 23 kb/s
    Metadata:
      encoder         : Lavc57.25.0 libmp3lame
Non-monotonous DTS in output stream 0:0; previous: 41732, current: 41649;
changing to 41733. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41733, current: 41565;
changing to 41734. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41734, current: 41482;
changing to 41735. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41844, current: 41713;
changing to 41845. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41845, current: 41587;
changing to 41846. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41846, current: 41508;
changing to 41847. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41847, current: 41774;
changing to 41848. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41848, current: 41649;
changing to 41849. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41849, current: 41565;
changing to 41850. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41850, current: 41481;
changing to 41851. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41851, current: 41795;
changing to 41852. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41852, current: 41670;
changing to 41853. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41853, current: 41502;
changing to 41854. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41854, current: 41814;
changing to 41855. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41855, current: 41644;
changing to 41856. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41856, current: 41515;
changing to 41857. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41857, current: 41831;
changing to 41858. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41858, current: 41703;
changing to 41859. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41859, current: 41576;
changing to 41860. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41887, current: 41765;
changing to 41888. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41888, current: 41593;
changing to 41889. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41889, current: 41465;
changing to 41890. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41890, current: 41780;
changing to 41891. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41891, current: 41652;
changing to 41892. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41892, current: 41746;
changing to 41893. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41893, current: 41708;
changing to 41894. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41894, current: 41624;
changing to 41895. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41895, current: 41588;
changing to 41896. This may result in incorrect timestamps in the output
file.
^CNon-monotonous DTS in output stream 0:0; previous: 41896, current: 41457;
changing to 41897. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41897, current: 41770;
changing to 41898. This may result in incorrect timestamps in the output
file.
Non-monotonous DTS in output stream 0:0; previous: 41898, current: 41646;
changing to 41899. This may result in incorrect timestamps in the output
file.
size=       5kB time=0.97 bitrate=  40.3kbits/s
video:0kB audio:4kB other streams:0kB global headers:0kB muxing overhead:
26.435593%
Received signal 2: terminating.
pi@raspberrypi:~/Downloads/libav-12.3 $



Is there a compile options to fix this?

Thanks,

Y-
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to