Log in

View Full Version : Megui & x264 problem


peterjennings
1st January 2009, 20:46
I am trying to encode a video I made using megui & x264 but when I queue it and start it the job errors at the same location every time. I cannot figure out what is wrong from the error log. Here is what I see:

Log for job2 (video, testclip1.avs -> )
[1/1/2009 1:35:13 PM] Started handling job
[1/1/2009 1:35:13 PM] Preprocessing
Job commandline: "F:\Program Files\megui\tools\x264\x264.exe" --pass 1 --bitrate 5000 --stats "F:\Facial2\test\testclip1.stats" --ref 16 --mixed-refs --no-fast-pskip --bframes 16 --b-pyramid --weightb --direct auto --deblock -2:-1 --subme 7 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me esa --threads auto --thread-input --sar 1:1 --progress --no-dct-decimate --no-psnr --no-ssim --output NUL "F:\Facial2\test\testclip1.avs"

[1/1/2009 1:35:14 PM] Encoding started
Standard output stream
Standard error stream
avis [info]: 1024x768 @ 29.00 fps (18515 frames)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 5.0
[1/1/2009 1:36:52 PM] Job completed
===================================

I can encode the video with xvid with no problem. If anyone can shed some light on what my problem is I would be thankful.

-pj

Sharktooth
2nd January 2009, 02:27
what preset you used?
it seems something is wrong with your preset. only the first pass of a multiple pass encode was run...

peterjennings
2nd January 2009, 03:24
I am using HQ-insane. The job just errors out on the 1st pass.

After some testing I determined the frame where the problem was happening. I am attaching screen shots of before and after where the error occurs. It seems like the white box messes with the encoder somehow. Any thoughts?

Before:
http://www.teamfacial.com/peter/before.jpg

After:
http://www.teamfacial.com/peter/after.jpg

Sharktooth
2nd January 2009, 05:01
ask the x264 devs. it's not a megui problem.

Dark Shikari
2nd January 2009, 05:05
Ask the megui devs, not an x264 problem. At least it isn't as if anyone can tell when you don't post error messages, debug logs, etc.

Sharktooth
2nd January 2009, 05:13
well... if x264 always crashes at a specific frame while the video is correcly encoded when using xvid then there is a problem with x264 or the x264 build included with megui (skystrife's build).
to be sure, try feeding the avs directly to x264 (use the same options) in the megui tools directory then download the x264 build from x264.nl and try again.

peterjennings
2nd January 2009, 05:49
I wasn't clear in my first post, the job errors out on the 1st pass at the same frame each time. When I go to the log tab in megui all I see is what I've posted above. I can't determine exactly what is causing the error from that log. Is there another log that I am not aware of?

-pj

Sharktooth
2nd January 2009, 15:24
no. that means x264 silently crashes. do what i said in my above post.