[FFmpeg-user] audio / video out of sync after recording rtmp stream

Frans Gouverne fransgnl at gmail.com
Sat Apr 13 15:10:01 EEST 2019

okay, thanks, will try it out.

By the way, I also find this workaround myself: stripping off the first 4
seconds (corresponds to the keyframe interval) from the flv file using: -ss
As a result, the excessive audio frames are gone, have tested this with the
problematic record and it works as expected: audio and video are perfectly
in sync now!


Op za 13 apr. 2019 om 13:57 schreef Carl Eugen Hoyos <ceffmpeg at gmail.com>:

> 2019-04-13 11:33 GMT+02:00, Frans Gouverne <fransgnl at gmail.com>:
> > ffmpeg -y -i "rtmp:/domein/client/name live=1" -vcodec copy
> > -acodec copy -f ouput.flv
> Instead please use something like (untested):
> $ ffmpeg -f data -i rtmp://... -c copy -f data -map 0 out.flv
> if you cannot use mplayer -dumpstream or something equivalent.
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list