[FFmpeg-user] Change output file at specific time
Stefano Sabatini
stefasab at gmail.com
Fri Dec 6 23:49:40 CET 2013
On date Friday 2013-12-06 16:32:03 +0100, frafart at free.fr wrote:
> Hi,
>
> I try to generate 5 minutes long TS file's from an udp streams. I
> can do it with segment (the accuracy is not very high but it works
> and I don't have really work on all the segment options).
> My problem is : I want that the file rotate at specific time (at
> 00:00:00, 00:05:00, 00:05:10, ...).
>
> Is there a way with ffmpeg to specify not a duration but, for
> exemple an test like timestamp % 300 = 0 ?
No, but we should probably extend the code (and adopt something
similar to ffmpeg -force_key_frames).
> Another question : Can I use an extended pattern for the file name
> (%H for hours, %M for minute, ...) ?
No, this also could be implemented.
Feel free to file feature requests on trac.
--
FFmpeg = Formidable Funny MultiPurpose Enlightened Gargoyle
More information about the ffmpeg-user
mailing list