Dear all,

I am using the ffmpeg (version n3.0) to record, on the fly, audio and
video. The audio is from an usb microphone and the video is from a logitech
webcam. The audio and the video are mixed and encoded in an output file.
The ffmpeg binaries have been generated by this command:

./configure --disable-static --enable-shared \
        --disable-yasm --enable-gpl --enable-nonfree \
        --enable-libfaac --enable-libmp3lame \
        --enable-libvpx --enable-libfdk-aac \
        --enable-libx264 --enable-libvorbis \
        --prefix=${CURRDIR}/build/ffmpeg

The command used for mixing and encoding is the following one:
ffmpeg -y -f video4linux2 -s 320x240 -r 10 -i /dev/video1 -f alsa
-thread_queue_size 4096 -ar 22050 -i plughw:2 -b:a 56000 -vol 1177 -b:v
200000 -vf crop=320:240:0:0,scale=320:240 -c:v libx264 -c:a libfdk_aac
-pix_fmt yuv420p /home/sdu/Desktop/2016-08-10/13_58_22/openeya.mp4

My problem is that, after some time (between minute 15 and minute 30), the
audio loses the right synchronization and an audio delay is added...

The same behavior is present in various platform (arm/raspberry and intel).

How could I solve this problem?
Thanks in advance.
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to