Log in

View Full Version : Error: 2pass curve failed to converge


enchant
5th November 2013, 21:37
I do most of my encoding without any problems on my desktop PC running WinXP. I've got a fairly new laptop with more powerful hardware and Win 8.1. I installed all of the exact same software on my laptop that I have on my desktop.

On the laptop, I tried encoding a video that successfully completed on the desktop PC. The good news is that it appears to encode a LOT faster. The bad news is that it fails at the end of the second pass, although it reports some of the error soon after the start of that second pass. Here's my log:


[Error] Log for job3 (video, Legal High.avs -> Legal High.264)
-[Information] [11/5/2013 3:16:53 PM] Started handling job
-[Information] [11/5/2013 3:16:53 PM] Preprocessing
-[NoImage] Job commandline: "C:\Program Files (x86)\megui\tools\x264\vfw4x264.exe" --pass 2 --bitrate 1650 --stats "D:\Japanese\Legal High\Ep 04\Legal High.stats" --bframes 5 --sar 1:1 --output "D:\Japanese\Legal High\Ep 04\Legal High.264" "D:\Japanese\Legal High\Ep 04\Legal High.avs"
-[Information] [11/5/2013 3:16:54 PM] Encoding started
-[Error] An error occurred: x264 [warning]: internal error
-[NoImage] Standard output stream
-[NoImage] Standard error stream
--[NoImage] yuv [info]: 1280x720p 1:1 @ 5000000/166833 fps (cfr)
--[NoImage] x264 [info]: using SAR=1/1
--[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
--[NoImage] x264 [warning]: Error: 2pass curve failed to converge
--[NoImage] x264 [warning]: target: 1650.00 kbit/s, expected: 17.64 kbit/s, avg QP: 24.2007
--[NoImage] x264 [info]: profile High, level 3.1
--[NoImage]
--[NoImage] x264 [info]: frame I:334 Avg QP:10.21 size: 6249
--[NoImage] x264 [info]: frame P:14022 Avg QP:21.02 size: 46
--[NoImage] x264 [info]: frame B:69109 Avg QP:21.02 size: 38
--[NoImage] x264 [info]: consecutive B-frames: 0.0% 0.0% 1.2% 0.0% 0.0% 98.8%
--[NoImage] x264 [info]: mb I I16..4: 98.9% 0.1% 1.0%
--[NoImage] x264 [info]: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0% 0.0% 0.0% skip:100.0%
--[NoImage] x264 [info]: mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:100.0% L0:59.2% L1:40.8% BI: 0.0%
--[NoImage] x264 [info]: 8x8 transform intra:0.1% inter:0.0%
--[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 0.7% 1.1% 1.1% inter: 0.0% 0.0% 0.0%
--[NoImage] x264 [info]: i16 v,h,dc,p: 98% 0% 2% 0%
--[NoImage] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 76% 24% 0% 0% 0% 0% 0% 0%
--[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 20% 24% 3% 5% 7% 6% 7% 5%
--[NoImage] x264 [info]: i8c dc,h,v,p: 99% 1% 0% 0%
--[NoImage] x264 [info]: Weighted P-Frames: Y:0.0%
--[NoImage] x264 [info]: ref P L0: 67.9% 0.0% 29.3% 2.9%
--[NoImage] x264 [info]: ref B L0: 55.0% 44.8% 0.2%
--[NoImage] x264 [info]: ref B L1: 99.7% 0.3%
--[NoImage] x264 [info]: kb/s:15.46
--[NoImage] encoded 83465 frames, 207.11 fps, 15.46 kb/s
-[Information] [11/5/2013 3:23:50 PM] Job completed

Dark Shikari
5th November 2013, 21:50
It looks like your script was outputting an error screen or black screen or the like, so it only came out at 17kbps.

enchant
6th November 2013, 11:24
Is there any way to know what this error screen might have said?

Atak_Snajpera
6th November 2013, 12:24
open script in mpc-hc

enchant
6th November 2013, 17:18
I'm afraid I might not have enough background in video encoding to do this. What do you mean when you say "script"? I've got the source video (which is fine), the subtitles, and a .wav file for audio. And the .avs file that I load into MeGui.

Guest
6th November 2013, 17:54
The .avs file is the script. You can also open it in VirtualDub (File/Open video file... and select the .avs).

enchant
6th November 2013, 19:50
It doesn't display any video. Only audio. But on my desktop (which encodes fine), it does the same (no video).

enchant
6th November 2013, 19:56
I installed Virtualdub and it was able to open the script ok, showing the video correctly.

Zathor
6th November 2013, 21:20
It seems you are using a very outdated version of MeGUI. Please post the full log (especially the versions part at the top) and update MeGUI and the other tools. Also the content of the avs file should be in the log.

Likely that is not the problem but who knows...

enchant
6th November 2013, 21:24
I tried updating MeGui, using the update app within the program, and I started getting errors that I couldn't correct. So I went back to what's always worked for me. Is that what you're talking about, or do you mean to download a new version and overwrite what I have?

Zathor
6th November 2013, 22:41
Download this build and extract it to a different directory:
https://sourceforge.net/projects/megui/files/latest/download?source=files
Reproduce the problem with this build and post the log.

enchant
8th November 2013, 18:18
The new install of Megui straight out of the box appears to be working fine. I'm getting good encodes now.

Thank you very much for the help!