[FFmpeg-user] Make the next stream continue where the previous one left off
Henk D. Schoneveld
belcampo at zonnet.nl
Mon Dec 14 18:29:57 CET 2015
On 14 Dec 2015, at 18:12, Ivan Pozdeev <ivan_pozdeev at mail.ru> wrote:
> Hello Ffmpeg-user,
> I've recently needed to repack a video file to a FAT32 volume - so, 4GB file
> size limit. So, I'd have liked to output the result into consecutive parts not
> exceeding this size - like archivers do.
> The files need to be playable, so cutting raw standard output is not an option
> (and would not anyway 'cuz ffmpeg needs the output to be seekable).
> The only relevant options I found in docs & on the Net are:
> - -ss & -t - split on predetermined time - then I need to know the time (thus
> the exact average bitrate) beforehand
> -fs - just stops output for the streamat specified size
filesize/duration(in seconds) gives you the average bitrate incl. audio and overhead. From this you can calculate how many seconds * found bitrate will total 4GB.
> I couldn't find any way to command ffmpeg to move to the next output stream
> where the previous one left off rather than at some predetermined point.
> Is there?
> Best regards,
> Ivan mailto:vano at mail.mipt.ru
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user