Log in

View Full Version : x264 error


XxOsurfer3xX
2nd October 2008, 12:34
x264.exe --pass 2 --bitrate 1087 --stats "raww.stats" --ref 8 --mixed-refs
--bframes 16 --b-pyramid --direct auto --filter 1:1 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct
--me umh --threads auto --thread-input --aq-mode 0 --progress --no-psnr --no-ssim
--output "C:\Documents and Settings\Kiba\Desktop\raww.mp4" "C:\Documents and Settings\Kiba\Desktop\raww.avs"

Encoding with one pass works fine, but when i use the 2pass setting it gives this error:

avis [info]: 1280x720 @ 23.98 fps (33669 frames)
x264 [info]: using cpu capabilities: MMX2 Cache64
x264 [error]: ratecontrol_init: can't open stats file
x264 [error]: x264_encoder_open failed


I have permissions and space on the disk...

Edit: x264 version: revision-996

martino
2nd October 2008, 13:22
For pass 2 you need to specify where the stats file from pass 1 is found with --stats.

XxOsurfer3xX
2nd October 2008, 14:28
Thanks, i will try see what happens...

Sharktooth
2nd October 2008, 20:04
you should first run a first pass.. then a second pass. x264 wont do 2 passes automagically...

XxOsurfer3xX
3rd October 2008, 18:09
Yeah, i finally realized that :p thanks, sharktooth.