[FFmpeg-user] Delayed sound in screencast

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Aug 21 13:53:40 CEST 2013


Artur Łącki <alacki93 <at> gmail.com> writes:

> ffmpeg -f pulse -ac 2 -i default -f x11grab -r 30
> -s 1366x768 -i :0.0 -vcodec libx264 -acodec libvorbis 
> -y test.mkv

> ffmpeg version 2.0.1

Unrelated: If you are a user, please test git head 
before posting here.

> Input #0, pulse, from 'default':
>   Duration: N/A, start: 0.019300, bitrate: 1536 kb/s
                          ^^^^^^^^

> Input #1, x11grab, from ':0.0':
>   Duration: N/A, start: 1377024472.739504, bitrate: 1007124 kb/s
                          ^^^^^^^^^^^^^^^^^

This is the reason for desync.
Can you try alsa?
You can also test -use_wallclock_as_timestamps, I don't know 
if it helps.

Carl Eugen



More information about the ffmpeg-user mailing list