[FFmpeg-user] Stream blocks when system time changes
LANGLOIS Olivier PIS -EXT
olivier.pis.langlois at transport.alstom.com
Mon Apr 14 20:21:22 CEST 2014
> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> bounces at ffmpeg.org] On Behalf Of Massimo Battistel
> Sent: Monday, April 14, 2014 1:53 PM
> To: FFmpeg user questions
> Subject: [FFmpeg-user] Stream blocks when system time changes
> 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).
I am currently doing some work to propose to ffmpeg dev to robustify the project in that aspect. I can point you out where to fetch v1 of my patch if you want to try it out in your setup but before I have 2 questions.
1. On which platform are you running ffmpeg (my patch only address the issue on Linux)?
2. Would you be able to send the stream on a different machine (in order be sure that the freeze is in ffmpeg and not in the player...)?
Please ignore the confidentiality notice below.
It is automatically added without my consent.
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
More information about the ffmpeg-user