[FFmpeg-trac] #2445(undetermined:new): Live audio/video gets out of sync when the output (file, network, pipe) lags or is too slow.

FFmpeg trac at avcodec.org
Sat Feb 14 19:53:50 CET 2015


#2445: Live audio/video gets out of sync when the output (file, network, pipe)
lags or is too slow.
-------------------------------------+-------------------------------------
             Reporter:  Max-P        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ferdi265):

 I have had that problem as well. Using your setup (using other ffmpeg
 parameters but the same piping setup) I was able to reproduce the problem.

 My command:

 {{{
 ffmpeg -y \
         -f pulse -i alsa_input.pci-0000_00_14.2.analog-stereo \
         -f pulse -i alsa_output.pci-0000_00_14.2.analog-stereo.monitor \
         -filter_complex amerge \
         -f x11grab -s 1280x1024 -r 24 -i :0.0 \
         -c:a libmp3lame -ac 2 -ar 44100 \
         -c:v libx264 -b:v 2000k -minrate 2000k -maxrate 2000k -bufsize
 2000k \
         -g $((24 * 2)) -vf format=yuv420p -crf 22 \
         -threads 4 -preset veryfast -strict normal \
         -f flv - | tee test.flv | ./idelay
 }}}

 FFMPEG version:

 {{{
 ffmpeg version 2.4.3-1ubuntu1~utopic1 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Nov 15 2014 20:19:29 with gcc 4.9.1 (Ubuntu 4.9.1-16ubuntu6)
   configuration: --prefix=/usr --extra-version='1ubuntu1~utopic1' --build-
 suffix=-ffmpeg --toolchain=hardened --extra-cflags= --extra-cxxflags=
 --libdir=/usr/lib/x86_64-linux-gnu --shlibdir=/usr/lib/x86_64-linux-gnu
 --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared
 --disable-stripping --enable-avresample --enable-avisynth --enable-
 fontconfig --enable-gnutls --enable-ladspa --enable-libass --enable-
 libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-
 libflite --enable-libfreetype --enable-libfribidi --enable-libgme
 --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-
 libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-
 libschroedinger --enable-libshine --enable-libspeex --enable-libssh
 --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx
 --enable-libwavpack --enable-libwebp --enable-opengl --enable-x11grab
 --enable-libxvid --enable-libdc1394 --enable-libiec61883 --enable-libzvbi
 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libsoxr
 --enable-openal --enable-libopencv
   libavutil      54.  7.100 / 54.  7.100
   libavcodec     56.  1.100 / 56.  1.100
   libavformat    56.  4.101 / 56.  4.101
   libavdevice    56.  0.100 / 56.  0.100
   libavfilter     5.  1.100 /  5.  1.100
   libavresample   2.  1.  0 /  2.  1.  0
   libswscale      3.  0.100 /  3.  0.100
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  0.100 / 53.  0.100
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/2445#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list