[FFmpeg-user] Stream blocks when system time changes

Massimo Battistel battistel at gmail.com
Mon Apr 14 19:53:01 CEST 2014


hello,
with the following command line you generate a stream to localhost:

ffmpeg -re -i "anyvideo" -vcodec libx264 -pix_fmt yuv420p -b:v 1M  -acodec
libvo_aacenc -b:a 64k -ac 2 -ar 48000 -f mpegts udp://127.0.0.1:1400

Open the previous stream with VLC, then put system clock 1 minute back.
Stream will block almost immediately.

I would like to know if it is possible to tell ffmpeg to use a different
clock reference or if there are workarounds for this issue.

This was just an example, the real case is daylight saving time (and I
can't disable it).

Thanks,
MB


More information about the ffmpeg-user mailing list