VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    I have a problem converting Reign of Fire. I am using Megui 0.3.0.1015, AviSynth 2.5, and blu-ray was ripped with Anydvd 6.4.5.5. I was able to convert one of my other discs last week without any problems. The first pass of the encode gets 500 frames in and then stops (out of 83961 frames), and then goes straight to the 2nd pass. The 2nd pass errors almost immediately saying " 2nd pass has more frames than 1st pass (83961 vs 552)". All Megui tools are updated, and I've even tried replacing the x264.exe with all the ones I could find on the net. I am using the .m2ts but I have also used TSremux to rip a .d2v file and try that, but I get the exact same error. I have also used some of the canned x264 encoder profiles to see if that changed anything but it didn't. I can play the m2ts file in WMP 11 just fine, so while it maybe possible the source is corrupted, I really doubt it. I have quad core with 8gb of ram, and a fresh install of Win XP x64. I have a feeling this is an x264 issue, but I don't know where else to go with this. Any ideas out there? Thank you for any suggestions/help.

    Here is my avs script:

    # Set DAR in encoder to 47 : 20. The following line is for automatic signalling
    global MeGUI_darx = 47
    global MeGUI_dary = 20
    DirectShowSource("C:\Movies\Reign_of_Fire\FOR1NNE1 \BDMV\STREAM\00018.m2ts",fps=23.9759856527702,audi o=false)
    #deinterlace
    crop( 0, 130, 0, -130)

    Lanczos4Resize(1904,816) # Lanczos4 (Sharp)
    Undot() # Minimal Noise



    Here is my Megui log:

    [Information] Log for job1 (video, test.avs -> )
    --[Information] [7/19/2008 10:38:18 PM] Started handling job
    --[Information] [7/19/2008 10:38:18 PM] Preprocessing
    --[NoImage] Job commandline: "C:\Program Files (x86)\megui\tools\x264\x264.exe" --pass 1 --bitrate 4500 --stats "C:\Documents and Settings\Administrator\Desktop\test.stats" --level 4.1 --keyint 240 --min-keyint 24 --bframes 5 --b-pyramid --direct auto --subme 1 --partitions none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 30000 --vbv-maxrate 38000 --qcomp 0.5 --me dia --threads auto --thread-input --sar 141:140 --progress --no-psnr --no-ssim --output NUL "C:\Documents and Settings\Administrator\Desktop\test.avs" --mvrange 511 --aud --nal-hrd --sar 1:1
    --[Information] [7/19/2008 10:38:19 PM] Encoding started
    --[NoImage] Standard output stream
    --[NoImage] Standard error stream
    ---[NoImage] avis [info]: 1904x816 @ 23.98 fps (83961 frames)
    ---[NoImage] x264 [info]: using SAR=1/1
    ---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 PHADD SSE4 Cache64
    ---[NoImage] x264 [info]: slice I:6 Avg QP:11.91 size: 44301
    ---[NoImage] x264 [info]: slice P:463 Avg QP:14.84 size: 30408
    ---[NoImage] x264 [info]: slice B:83 Avg QP:14.39 size: 11029
    ---[NoImage] x264 [info]: mb I I16..4: 85.0% 0.0% 15.0%
    ---[NoImage] x264 [info]: mb P I16..4: 52.8% 0.0% 0.0% P16..4: 37.3% 0.0% 0.0% 0.0% 0.0% skip: 9.8%
    ---[NoImage] x264 [info]: mb B I16..4: 6.0% 0.0% 0.0% B16..8: 29.0% 0.0% 0.0% direct:31.3% skip:33.7%
    ---[NoImage] x264 [info]: final ratefactor: 19.57
    ---[NoImage] x264 [info]: direct mvs spatial:90.4% temporal:9.6%
    ---[NoImage] x264 [info]: kb/s:5302.6
    ---[NoImage] encoded 552 frames, 17.05 fps, 5306.82 kb/s
    --[Information] [7/19/2008 10:38:53 PM] Job completed
    --[Information] [7/19/2008 10:38:53 PM] Postprocessing
    ---[Information] Deleting intermediate files
    -[Error] Log for job2 (video, test.avs -> test.mkv)
    --[Information] [7/19/2008 10:38:53 PM] Started handling job
    --[Information] [7/19/2008 10:39:15 PM] Preprocessing
    --[NoImage] Job commandline: "C:\Program Files (x86)\megui\tools\x264\x264.exe" --pass 2 --bitrate 4500 --stats "C:\Documents and Settings\Administrator\Desktop\test.stats" --level 4.1 --keyint 240 --min-keyint 24 --ref 7 --mixed-refs --bframes 5 --b-pyramid --b-rdo --bime --weightb --direct auto --subme 6 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 30000 --vbv-maxrate 38000 --qcomp 0.5 --me umh --threads auto --thread-input --sar 141:140 --progress --no-psnr --no-ssim --output "C:\Documents and Settings\Administrator\Desktop\test.mkv" "C:\Documents and Settings\Administrator\Desktop\test.avs" --mvrange 511 --aud --nal-hrd --sar 1:1
    --[Information] [7/19/2008 10:39:16 PM] Encoding started
    --[Error] An error occurred: x264 [error]: 2nd pass has more frames than 1st pass (83961 vs 552)
    --[Error] An error occurred: x264 [error]: x264_encoder_open failed
    --[NoImage] Standard output stream
    --[NoImage] Standard error stream
    ---[NoImage] avis [info]: 1904x816 @ 23.98 fps (83961 frames)
    ---[NoImage] x264 [info]: using SAR=1/1
    ---[NoImage] x264 [warning]: DPB size (16313472) > level limit (12582912)
    ---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 PHADD SSE4 Cache64
    --[Information] [7/19/2008 10:39:18 PM] Job completed
    Quote Quote  
  2. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    I resolved this issue. I updated to AVIsynth 2.57 and the problem was solved!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!