[FFmpeg-user] FFMpeg - How to get the filesize in advance after encoding

Sendex Six sendexsix at gmail.com
Tue May 24 10:50:27 EEST 2022


Thanks for your response,

What is the formula, logic, or how to compute the file size from a video or
audio file? after encoding?
so that in the webpage we can set the content-length of video or audio

Thanks

On Tue, 24 May 2022 at 06:13, Reindl Harald <h.reindl at thelounge.net> wrote:

>
>
> Am 23.05.22 um 17:46 schrieb Sendex Six:
> > FFMpeg - How to get the filesize in advance after encoding so that I can
> > set this value in the Content-Length of the webpage
>
> by just use whatever shell / scripting language function to read it? how
> is that releated to ffmpeg?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list