| Version 7 (modified by , 11 years ago) ( diff ) |
|---|
There are several ways to "output to null" in FFmpeg (like a null sink). This can be helpful for benchmarking purposes, for instance testing encoding speeds (without having to worry about the cost of disk writes) etc.
There is the null muxer, use it like this:
ffmpeg -i INPUT -f null out.null # file out.null will not be created, decoding will occur, no encoding will occur
or just output to /dev/null (or the reserved filename NUL in windows) for your file to just disappear, if you want to perform encoding but not create a file
ffmpeg -i INPUT -f mpeg4 -f mp4 -y /dev/null # no file is created, encoding and placing in container occur
See also the "-benchmark" FFmpeg command line parameter which outputs some statistics when it ends:
ffmpeg -benchmark -i input output ... bench: utime=53.670s bench: maxrss=145227776kB
Note:
See TracWiki
for help on using the wiki.


