Log in

View Full Version : x264 encoding crashes


lucassp
25th May 2009, 09:21
Hi guys!

I'm trying to do some encoding tests using a 1080p trailer from Apple. The problem is that x264 creates a zero sized file and crashes to the command prompt. I'm using the latest build from x264.nl.

x264 command line:
x264.exe --bitrate 4000 --nf --no-cabac --subme 1 --partitions none --me dia --threads auto --thread-input --aq-mode 0 --sar 1:1 --progress --no-psnr --no-ssim --output "D:\video.mkv" "D:\video.avs"

And the AVS file looks like this:
DGAVCDecodeNV_AVCSource("D:\video.dga")
...and it plays fine in GOM Player.

I have no clue of what I'm doing wrong.

Thanks!

Dust Signs
25th May 2009, 09:56
Maybe something in AviSynth is crashing and x264 as caller is also affected. Maybe a stack trace will help determining if this is the case.

Dust Signs

lucassp
25th May 2009, 11:31
It seems that MPC HC and WMP 6.4 can't render the script. Only GOM Player can.

http://img38.imageshack.us/img38/3676/problem.th.png (http://img38.imageshack.us/my.php?image=problem.png)

Really strange. I have AVISynth 2.5.8 installed on my system.

J_Darnley
25th May 2009, 12:16
That doesn't show a problem with the script, it just means you have no YV12 codec installed. Stick a ConvertToRGB() at the bottom

lucassp
25th May 2009, 12:24
Can you please give me an example of YV12 codec? I never encountered this situation on any of my Windows installations. Shouldn't it come along with Windows XP?

Shouldn't x264 work with YV12?

J_Darnley
25th May 2009, 12:37
Yes, read the avisynth help it mentions that you can use xvid, helix, ffdshow, ffvfw. No, since when does Windows do anything correctly. Yes.

lucassp
25th May 2009, 12:45
[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.1.1037
--[NoImage] OS : Windows XP Professional x86 SP3 (5.1.196608.2600)
--[NoImage] Framework used : 2.0 SP1 (2.0.50727.3082)
-[Information] Hardware
--[NoImage] CPU : Intel Pentium III Xeon processor
-[Information] Log for job1 (video, video.avs -> video.mp4)
--[Information] [25.05.2009 14:39:41] Started handling job
--[Information] [25.05.2009 14:39:44] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\Encodings\megui\tools\x264\x264.exe" --bitrate 4000 --nf --no-cabac --subme 1 --partitions none --me dia --threads auto --thread-input --aq-mode 0 --sar 1:1 --progress --no-psnr --no-ssim --output "D:\video.mp4" "D:\video.avs"
--[Information] [25.05.2009 14:39:44] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
--[Information] [25.05.2009 14:39:45] Job completed

Here's the MeGUI log too if it helps.

Midzuki
25th May 2009, 12:50
How about trying avs2yuv ?

avs2yuv input.avs -o -|x264 etc etc etc

lucassp
25th May 2009, 13:00
Ok...but before I switched back to XP SP3 from Vista everything went smoothly directly from MeGUI. Now it doesn't work anymore. My XP SP3 installation is fresh, I have the latest updates, the latest drivers and only FFDShow installed along with MPC HC and GOM Player.

lucassp
25th May 2009, 17:12
Problem solved. I reinstalled AVISynth a few times more (10+) along with all its plugins and suddely it works. I have no idea what was the problem.

Thank you for your patience!