[FFmpeg-user] Get the file size in advance when encoding from one another format

Bouke (Edit 'B) bouke at editb.nl
Tue Jun 14 21:03:47 EEST 2022

> Please help me do this; How do I get the file size in advance if I encode
> any media format to another format so that I can set the Header
> Content-Length in the header. What is the formula for this? I'm new to
> FFMpeg.

Didn’t you already get flamed on this very subject not very long ago?


More information about the ffmpeg-user mailing list