[FFmpeg-user] File rotation (like LOG files!)

Tom Evans tevans.uk at googlemail.com
Thu Feb 13 15:48:41 CET 2014


On Thu, Feb 13, 2014 at 1:53 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Podium B.V. <mailinglist <at> podiumbv.nl> writes:
>> BUT is there (maybe) a way that output A (the stream)
>> keeps streaming, while output B (the file / legal-feed)
>> starts at midnight in a new file.
>
> What's wrong with MPEG-TS?
> (Which you can cut wherever you want loosing one gop.)
>
> And there is of course the segment muxer which probably
> does exactly what you want (and looses no gops).

Or encode your content however you like, but in mpegts format, pipe to
a second ffmpeg instance that has two outputs, one to your upstream
and one (using segment muxer) outputting your logs.

Cheers

Tom


More information about the ffmpeg-user mailing list