Log in

View Full Version : Strange error on three pass x264.exe


hellgauss
28th September 2006, 11:46
I'm not sure i should post here (maybe in newbie... i'm not so expert with avc)

The problem is:
i have an .avs file 192x144, 12.5 fps.

I'm trying to encode it with x264.exe (date is 17/09) command line, using these command:

1:
x264.exe -r 12 -B 21 -p 1 -w --b-pyramid -A "all" --direct temporal --me "esa" --b-rdo -m 7 -8 --mixed-refs --bime -t 2 -o "beppe1.mp4" "aa.avs"
x264.exe -r 12 -B 21 -p 3 -w --b-pyramid -A "all" --direct temporal --me "esa" --b-rdo -m 7 -8 --mixed-refs --bime -t 2 -o "beppe1.mp4" "aa.avs"
x264.exe -r 12 -B 21 -p 2 -w --b-pyramid -A "all" --direct temporal --me "esa" --b-rdo -m 7 -8 --mixed-refs --bime -t 2 -o "beppe1.mp4" "aa.avs"

2:
x264.exe -p 1 -B 21 -o "beppe2.mp4" "aa.avs"
x264.exe -p 3 -B 21 -o "beppe2.mp4" "aa.avs"
x264.exe -p 2 -B 21 -o "beppe2.mp4" "aa.avs"

3: (only 2 pass)
x264.exe -r 12 -B 21 -p 1 -w --b-pyramid -A "all" --direct temporal --me "esa" --b-rdo -m 7 -8 --mixed-refs --bime -t 2 -o "beppe3.mp4" "aa.avs"
x264.exe -r 12 -B 21 -p 2 -w --b-pyramid -A "all" --direct temporal --me "esa" --b-rdo -m 7 -8 --mixed-refs --bime -t 2 -o "beppe3.mp4" "aa.avs"

the first output is unreadable, the second and the third is ok.
I'm using gabest MPC + ffdshow 2546-gcc4.0.3-sse2-x264.nl

Wath i'm doing wrong?

Thanks, and sorry for bad English.
Dario

GodofaGap
28th September 2006, 15:08
The only thing weird I can see is the low bitrate (21 kbps, but I have never encoded such resolution and framerate, so who knows it is ok) and that you are using b-frame options (weightb, b-pyramid, bime and brdo) while using no b-frames, but this should not cause a problem either...

I can't really see something wrong that would cause unplayable output due to a 3rd pass.

Sharktooth
28th September 2006, 18:54
-B 21 ?!? -r 12 ?!? --me "esa" ?!?

well i dont know what are you trying to do but those options are weird and useless (i dont even know if -B 21 will work as expected...).
also the what's the 3rd pass for? It wont increase quality...

hellgauss
28th September 2006, 19:37
It was the -r option. My fault i confused it with --merange. Thanks for your help. Also thanks for saying me that i was not using b frames :).

The video looks quite good for my purpose. -B 21 is working fine. I think that i will lower to 19. --me "esa" is for increasing quality a bit (i read that it gives a very very little increase of quality, and i don't care about speed at that resolution/frame rate).

I'm using these settings bacause in Italy there is a big 'no global' web site which each days offer some video about what is happening in the world. They are 'no global' but they use real and wmv for their video. They offer audio-video in low resolution (about 30kbps, unwatchable) and medium resolution (about 250kbps).
I want to show them that xvid+mp3(250kbps) and x264+aac and avisynth can do it better.
It make me very nervous to see these real and windows icon on their links.
http://www.arcoiris.tv/

Thanks again for your help.

Sharktooth
28th September 2006, 19:48
pfff... no-global... and they use the most GLOBALIZED media in the world: the internet, the symbol of globalization...
call it as it should be called: big anarko-communist website.