[FFmpeg-user] FFMPEG changes bitrate after splitting a file

Noeck noeck.marburg at gmx.de
Mon Oct 14 11:00:13 EEST 2019


Hi Julian,

all frames have different sizes depending on the content’s complexity
and groups of pictures have different sizes mostly depending on how
quickly the image changes. That’s why the bitrate varies over time and
every part (split) of the video has a different bitrate. The overall
bitrate is an average of all individual bitrates (weighted by duration
of the splits).

You can limit the file size of one part with the -fs option, but you
know only afterwards how long it got. And then you can use this duration
to start the next part from this point in time.

Some more hints:

https://stackoverflow.com/questions/38259544/using-ffmpeg-to-split-video-files-by-size
https://superuser.com/questions/712893/how-to-split-a-video-file-by-size-with-ffmpeg

Cheers,
Daniel


More information about the ffmpeg-user mailing list