Log in

View Full Version : can't encode using x264.exe


Zak Kingston
6th July 2005, 15:15
Hi there,

that's my first thread here, so I want to say hello :cool:

Problem: I need to encode a video using the x264.exe, because I want to have .264-output for muxing.

1. base video is a dv-file
2. I created a raw YUV-file doing this
mencoder in.avi -nosound -ovc raw -vf format=i420 -of rawvideo -o out.yuv
3. And then, I tried x264.exe with various paramters, e.g these
x264.exe -b 3 -r 5 -A p8x8,b8x8,i4x4 -w --me umh -m 6 -o v:\final.264 v:\out.yuv

I'm using the build from http://x264.nl/ in the newest version.

What happens? Well, nothing. Just the help-screen of x264.exe with all the parameters pops up. This is quite frustrating. Interesting thing: Even MeGui or the .Net-frontend don't work on my computer. No way to encode x264 for me?

I thank you in advance...

Doom9
6th July 2005, 16:08
I think lines 3-4 from the message you're getting are very illustrative:
Infile can be raw YUV 4:2:0 (in which case resolution is required),
or AVI or Avisynth if compiled with AVIS support (yes).

So you need to append [widthxheight] at the end of the commandline.

Or, use an AviSynth script like this
AviSource("v:\in.avi")
ConvertToYV12()

MeGUI will accept that and it saves you the intermediate file.

Zak Kingston
6th July 2005, 17:32
Huh...I thought the widthxheigth is optional. I've never seen it in an example code as well. But now it works...so simple.

Thank you!