[FFmpeg-user] encode to RAW video

pehache pehache.7 at gmail.com
Fri Oct 28 08:40:45 EEST 2022

Le 27/10/2022 à 13:31, Naveen.B a écrit :

> one last question, any idea on how to know/measure how long the ffmpeg
> takes to encode the file.

The answer depends on too many parameters.

> i.e, basically I want to know how much time it takes to compress with
> different presets and how much time it takes to encode for an uncompressed
> RAW video.

Almost by definition, an truly uncompressed video is not encoded, it's 
just writing to the output the data that are in memory (well, almost... 
there's still possibly the conversion of the pixel format, from RGB to 
YUV420 for instance, but this is quite fast). What will limit the speed 
is the read/write performances on the disk you are using, and/or the 
time needed to decode the input video.

More information about the ffmpeg-user mailing list