[FFmpeg-user] Audio out of sync after many Non-monotonous DTS in output stream warning

Alessandro Molon alex.molon at vision247.com
Tue Feb 2 16:44:58 EET 2021


> when I transcoding some live stream that comes from DVB, I got many warnings bellow and after a few hours, the audio out of sync.

Is it possible for you try with 

adding fifo_size ad the end on the input url like: -i udp://xxx.xxx.xxx.xxx:xxxxx?fifo_size=1000000

and add a filter to reframe/resample video and audio like:
-filter_complex "[0:v]fps=25[vout];[0:a]aresample=48000[aout]"

It usually work to me

Alex


More information about the ffmpeg-user mailing list