Log in

View Full Version : --output and the NUL filename


MrVideo
7th May 2011, 05:54
Fedora 14 Linux
core 115 source tarball

Under two pass operation, the first pass normally has --output NUL set to not actually generate anything. But that does not work. A file called NUL is actually created. It still works under Windblows using r1947.

I looked through the x264,c source file and saw nothing that looks for a special filename.

I just recently started doing x264 under Linux, in order to get some special work done. A separate Windblow XP box is doing other x264 work.

I'm beginning to think that instead of "NUL" for the filename, I need to use the special Unix file, "/dev/null".

Why does NUL work under Windblows?

sneaker_ger
7th May 2011, 06:08
http://en.wikipedia.org/wiki/NUL:

fransky
7th May 2011, 09:32
yes, on Linux
use x264 --output /dev/null