VideoHelp Forum




+ Reply to Thread
Results 1 to 18 of 18
  1. Ok so i was trying to convert 1080p anime from mkv to mp4 (X264 Encoding)

    and megui gives me a instant error in the queue tab

    what am i doing wrong here??

    i thought maybe my codecs were the problem so i have uninstalled all of them and now am wondering which codecs properly work with MEGUi x264 encoding

    Please Help
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    No detailed error message?

    You can also try mkv2mp4 if you just need to change to mp4 without shrinking/reconverting.
    Quote Quote  
  3. Originally Posted by Baldrick View Post
    No detailed error message?

    You can also try mkv2mp4 if you just need to change to mp4 without shrinking/reconverting.
    i want to re encode so i can play it on my xbox

    The audio encodes perfectly Fine

    the error comes just after 1 second when i press the queue tab For VIDEO

    it was before re encoding fine when i chose AVC level Unristricted/Autoguess

    but then later i found that xbox plays best on avc level 4.1

    So changed it to Avc level 4.1 and also disabled b-pyramid but then i got the error
    Quote Quote  
  4. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Do you have to use megui?

    If something doesn't work I just try another x264 frontend...like vidcoder. You can change avc level in it also.
    Quote Quote  
  5. Member WazaKrash's Avatar
    Join Date
    Jan 2015
    Location
    in Europe
    Search Comp PM
    (I don't answer to the request but) with Free Make Video, it's possible to convert a .mkv file to .mp4, I already did that and with a 1080p video too.

    But maybe there are two unexpected things, it will depend of the file, but sometimes when I converted a mkv to mp4, and wanting to play it on a TV (who could not play mkv) the tv can't play the video.

    With the software's normal version, at the end of your video (already converted in mp4) there is the "freemake" logo that appears for 3 seconds on a black background. It's no big deal I think.
    Last edited by WazaKrash; 20th Jan 2015 at 04:42.
    Quote Quote  
  6. Originally Posted by Baldrick View Post
    Do you have to use megui?

    If something doesn't work I just try another x264 frontend...like vidcoder. You can change avc level in it also.
    Yes Megui IS Good Thats what i feel

    so could it be a codec problem Sir??

    what all codecs have u installed with megui ???
    Quote Quote  
  7. Alternatively you could try Tx264 or you could use XenonMKV to switch the container

    To find the error in MeGUI click on 'Log' (next to Queue), right click on 'Log for job1', then 'edit text' and 'log'. The error should be at the end of the log.
    Last edited by Acımasız; 20th Jan 2015 at 06:23.
    Quote Quote  
  8. Ok i found what the problem was that haali media spillter was not installed

    so ofc i installed it but once again the get the error and this is What the log file says

    Code:
    Preliminary log file only. During closing of MeGUI the well formed log file will be written.
    
    -[Information] Versions
    --[Information] [20/01/2015 11:54:16] MeGUI: 2507
    --[Information] [20/01/2015 11:54:16] Operating System: Windows 8 x64 (6.2.0.9200)
    --[Information] [20/01/2015 11:54:16] .Net Framework: 2.0.50727.4927
    --[Information] [20/01/2015 11:54:16] .Net Framework: 4.0.0.0
    --[Information] [20/01/2015 11:54:16] AviSynth: 2.6.0.4 (18-09-2013)
    --[Information] [20/01/2015 11:54:16] AvisynthWrapper:  (02-01-2009)
    --[Information] [20/01/2015 11:54:16] Haali Matroska Splitter: 1.13.138.14 (14-04-2013)
    --[Information] [20/01/2015 11:54:16] Haali DSS2:  (14-04-2013)
    --[Information] [20/01/2015 11:54:16] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
    --[Information] [20/01/2015 11:54:16] LinqBridge: 1.0.0.0 (28-05-2009)
    --[Information] [20/01/2015 11:54:16] MediaInfo: 0.7.69.0 (24-04-2014)
    --[Information] [20/01/2015 11:54:16] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
    --[Information] [20/01/2015 11:54:16] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
    --[Information] [20/01/2015 11:54:16] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
    --[Information] [20/01/2015 11:54:16] 7z: 9.20 (18-11-2010)
    -[Information] Update detection
    --[Information] [20/01/2015 11:54:16] Using cached update config and server: http://megui.org/auto/stable/
    --[Information] [20/01/2015 11:54:17] No package requires an update
    -[Information] Log for job1 (video, [HorribleSubs] Naruto Shippuuden - 394 [1080p].avs -> [HorribleSubs] Naruto Shippuuden - 394 [1080p].264)
    --[Information] [20/01/2015 11:55:39] Started handling job
    --[Information] [20/01/2015 11:55:39] Preprocessing
    -[NoImage] DirectShowSource("C:\Users\Administrator\Desktop\Download\[HorribleSubs] Naruto Shippuuden - 394 [1080p].mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
    -[NoImage] #deinterlace
    -[NoImage] #crop
    -[NoImage] #resize
    -[NoImage] #denoise
    --[Information] [20/01/2015 11:55:39] Avisynth input script
    --[Information] [20/01/2015 11:55:40] resolution: 1920x1080
    --[Information] [20/01/2015 11:55:40] frame rate: 24000/1001
    --[Information] [20/01/2015 11:55:40] aspect ratio: 16:9 (1.778)
    --[Information] [20/01/2015 11:55:40] changing --ref to 4
    --[Information] [20/01/2015 11:55:40] Job commandline: "C:\Users\Administrator\Downloads\Compressed\MeGUI_2507_x86\tools\x264\avs4x264mod.exe" --level 4.1 --preset slow --tune animation --pass 2 --bitrate 1100 --stats "C:\Users\Administrator\Desktop\Download\[HorribleSubs] Naruto Shippuuden - 394 [1080p].stats" --keyint 240 --b-pyramid none --vbv-bufsize 78125 --vbv-maxrate 62500 --sar 1:1 --output "C:\Users\Administrator\Desktop\Download\[HorribleSubs] Naruto Shippuuden - 394 [1080p].264" "C:\Users\Administrator\Desktop\Download\[HorribleSubs] Naruto Shippuuden - 394 [1080p].avs" 
    --[Information] [20/01/2015 11:55:40] Process started
    --[Information] [20/01/2015 11:55:40] Standard output stream
    --[Information] [20/01/2015 11:55:40] Standard error stream
    ---[Information] [20/01/2015 11:55:41] raw [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr)
    ---[Information] [20/01/2015 11:55:41] x264 [info]: using SAR=1/1
    ---[Information] [20/01/2015 11:55:41] x264 [info]: using cpu capabilities: MMX2 SSE Cache64
    ---[Error] [20/01/2015 11:55:41] x264 [error]: ratecontrol_init: can't open stats file
    ---[Error] [20/01/2015 11:55:41] x264 [error]: x264_encoder_open failed
    ---[Information] [20/01/2015 11:55:41] avs [info]: AviSynth 2.60, build:Sep 18 2013 [17:36:36]
    ---[Error] [20/01/2015 11:55:41] avs [error]: Error occurred while writing frame 0
    ---[Information] [20/01/2015 11:55:41] avs [info]: Video colorspace: YV12
    ---[Information] [20/01/2015 11:55:41] (Maybe x264 closed)
    ---[Information] [20/01/2015 11:55:41] avs [info]: Video resolution: 1920x1080
    ---[Information] [20/01/2015 11:55:41] avs [info]: Video framerate: 24000/1001
    ---[Information] [20/01/2015 11:55:41] avs [info]: Video framecount: 33322
    ---[Information] [20/01/2015 11:55:41] avs4x264 [info]: "x264_64" - --level 4.1 --preset slow --tune animation --pass 2 --bitrate 1100 --stats "C:\Users\Administrator\Desktop\Download\[HorribleSubs] Naruto Shippuuden - 394 [1080p].stats" --keyint 240 --b-pyramid none --vbv-bufsize 78125 --vbv-maxrate 62500 --sar 1:1 --output "C:\Users\Administrator\Desktop\Download\[HorribleSubs] Naruto Shippuuden - 394 [1080p].264"  --frames 33322 --fps 24000/1001 --input-res 1920x1080 --input-csp i420
    --[Error] [20/01/2015 11:55:41] Process exits with error: 0xFFFFFFFF (-1)
    --[Warning] [20/01/2015 11:55:41] The 64 bit mode of x264 is enabled. Depending on the error it may help to disable it in the MeGUI settings.
    --[Information] [20/01/2015 11:55:41] Job completed
    Quote Quote  
  9. Member WazaKrash's Avatar
    Join Date
    Jan 2015
    Location
    in Europe
    Search Comp PM
    yes, this options looks like good too ^^ don't forget about Free Make Video Converter also
    Quote Quote  
  10. ---[Error] [20/01/2015 11:55:41] x264 [error]: ratecontrol_init: can't open stats file
    Did you use 'Automated 2pass' or '2pass - 2nd pass' mode?

    If you do try Tx264... Click on general and change the profile to high, the level to 4.1, the preset to slower and the tune to Animation. Then click on 'Custom Options' and paste this: --bframes 3 --ref 3 --vbv-bufsize 24000 --vbv-maxrate 24000 into the x264 command line. Also instead of using 2-pass (1100Kbps for 1080p seems low to me) I recommend you use CRF mode.
    Last edited by Acımasız; 20th Jan 2015 at 09:18. Reason: Fixed a mistake
    Quote Quote  
  11. I'd start by trying what the log file suggests. Go into MeGUI's options an under the external programs configuration tab, uncheck the x264 64 bit option. That should get MeGUI to use the 32 bit x264 encoder and should also take avs4x264 out of the equation (it's required when Avisynth is 32 bit and the x264 encoder is 64 bit).

    Also, try switching to the portable (included) version of Avisynth rather than the "installed" one. Theoretically it shouldn't make any difference, but sometimes odd things happen (and I find the portable version can be a tad faster when using slow filtering).
    Any plugins in the "installed' AVISynth plugin folder will still auto-load even when MeGUI's using the portable version.

    Not related, but:

    --[Information] [20/01/2015 11:55:40] changing --ref to 4

    What was it before MeGUI/x264 decided to change it? I'm just curious why it did.
    Quote Quote  
  12. Originally Posted by hello_hello View Post
    Not related, but:

    --[Information] [20/01/2015 11:55:40] changing --ref to 4

    What was it before MeGUI/x264 decided to change it? I'm just curious why it did.
    Slow preset uses 5 and Animation tune doubles it to 10. The 'max stored frames' (reference frames) for 1920x1080 at level 4.1 is 4.

    http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Decoded_picture_buffering

    Last edited by Acımasız; 20th Jan 2015 at 09:13.
    Quote Quote  
  13. Originally Posted by Acımasız View Post
    ---[Error] [20/01/2015 11:55:41] x264 [error]: ratecontrol_init: can't open stats file
    Did you use 'Automated 2pass' or '2pass - 2nd pass' mode?

    If you do try Tx264... Click on general and change the profile to high, the level to 4.1, the preset to slower and the tune to Animation. Then click on 'Custom Options' and paste this: --bframes 3 --ref 3 --vbv-bufsize 24000 --vbv-maxrate 24000 into the x264 command line. Also instead of using 2-pass (1100Kbps for 1080p seems low to me) I recommend you use CRF mode.
    Hi I Am using '2pass - 2nd pass' NOT 'Automated 2pass'

    Originally Posted by hello_hello View Post
    I'd start by trying what the log file suggests. Go into MeGUI's options an under the external programs configuration tab, uncheck the x264 64 bit option. That should get MeGUI to use the 32 bit x264 encoder and should also take avs4x264 out of the equation (it's required when Avisynth is 32 bit and the x264 encoder is 64 bit).

    Also, try switching to the portable (included) version of Avisynth rather than the "installed" one. Theoretically it shouldn't make any difference, but sometimes odd things happen (and I find the portable version can be a tad faster when using slow filtering).
    Any plugins in the "installed' AVISynth plugin folder will still auto-load even when MeGUI's using the portable version.

    Hi I Disabled The 64 bit option but now i get this error

    Code:
    Preliminary log file only. During closing of MeGUI the well formed log file will be written.
    
    -[Information] Versions
    --[Information] [20/01/2015 16:06:56] MeGUI: 2507
    --[Information] [20/01/2015 16:06:56] Operating System: Windows 8 x64 (6.2.0.9200)
    --[Information] [20/01/2015 16:06:56] .Net Framework: 2.0.50727.4927
    --[Information] [20/01/2015 16:06:56] .Net Framework: 4.0.0.0
    --[Information] [20/01/2015 16:06:56] AviSynth: 2.6.0.4 (18-09-2013)
    --[Information] [20/01/2015 16:06:56] AvisynthWrapper:  (02-01-2009)
    --[Information] [20/01/2015 16:06:56] Haali Matroska Splitter: 1.13.138.14 (14-04-2013)
    --[Information] [20/01/2015 16:06:56] Haali DSS2:  (14-04-2013)
    --[Information] [20/01/2015 16:06:56] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
    --[Information] [20/01/2015 16:06:56] LinqBridge: 1.0.0.0 (28-05-2009)
    --[Information] [20/01/2015 16:06:56] MediaInfo: 0.7.69.0 (24-04-2014)
    --[Information] [20/01/2015 16:06:56] MediaInfoWrapper: 0.7.61.0 (06-01-2013)
    --[Information] [20/01/2015 16:06:56] MessageBoxExLib: 1.0.2218.28317 (19-12-2008)
    --[Information] [20/01/2015 16:06:56] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
    --[Information] [20/01/2015 16:06:56] 7z: 9.20 (18-11-2010)
    -[Information] Update detection
    --[Information] [20/01/2015 16:06:56] Using cached update config and server: http://megui.org/auto/stable/
    --[Information] [20/01/2015 16:06:57] No package requires an update
    -[Information] Log for job1 (video, [HorribleSubs] Naruto Shippuuden - 394 [1080p].avs -> [HorribleSubs] Naruto Shippuuden - 394 [1080p].264)
    --[Information] [20/01/2015 16:10:50] Started handling job
    --[Information] [20/01/2015 16:10:50] Preprocessing
    -[NoImage] DirectShowSource("C:\Users\Administrator\Desktop\Download\[HorribleSubs] Naruto Shippuuden - 394 [1080p].mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
    -[NoImage] #deinterlace
    -[NoImage] #crop
    -[NoImage] #resize
    -[NoImage] #denoise
    --[Information] [20/01/2015 16:10:50] Avisynth input script
    --[Information] [20/01/2015 16:10:51] resolution: 1920x1080
    --[Information] [20/01/2015 16:10:51] frame rate: 24000/1001
    --[Information] [20/01/2015 16:10:51] aspect ratio: 16:9 (1.778)
    --[Information] [20/01/2015 16:10:51] changing --ref to 4
    --[Information] [20/01/2015 16:10:51] Job commandline: "C:\Users\Administrator\Downloads\Compressed\MeGUI_2507_x86\tools\x264\x264.exe" --level 4.1 --preset slow --tune animation --pass 2 --bitrate 1100 --stats "C:\Users\Administrator\Desktop\Download\[HorribleSubs] Naruto Shippuuden - 394 [1080p].stats" --keyint 240 --b-pyramid none --vbv-bufsize 78125 --vbv-maxrate 62500 --sar 1:1 --output "C:\Users\Administrator\Desktop\Download\[HorribleSubs] Naruto Shippuuden - 394 [1080p].264" "C:\Users\Administrator\Desktop\Download\[HorribleSubs] Naruto Shippuuden - 394 [1080p].avs" 
    --[Information] [20/01/2015 16:10:51] Process started
    --[Information] [20/01/2015 16:10:51] Standard output stream
    --[Information] [20/01/2015 16:10:51] Standard error stream
    ---[Information] [20/01/2015 16:10:51] avs [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr)
    ---[Information] [20/01/2015 16:10:51] x264 [info]: using SAR=1/1
    ---[Information] [20/01/2015 16:10:51] x264 [info]: using cpu capabilities: MMX2 SSE Cache64
    ---[Error] [20/01/2015 16:10:51] x264 [error]: ratecontrol_init: can't open stats file
    ---[Error] [20/01/2015 16:10:51] x264 [error]: x264_encoder_open failed
    --[Error] [20/01/2015 16:10:51] Process exits with error: 0xFFFFFFFF (-1)
    --[Information] [20/01/2015 16:10:51] Job completed
    Quote Quote  
  14. Originally Posted by anime12345 View Post
    Hi I Am using '2pass - 2nd pass' NOT 'Automated 2pass'
    Switch to 'Automated 2pass', also the '64 bit option' doesn't need be disabled
    Quote Quote  
  15. Originally Posted by Acımasız View Post
    Originally Posted by anime12345 View Post
    Hi I Am using '2pass - 2nd pass' NOT 'Automated 2pass'
    Switch to 'Automated 2pass', also the '64 bit option' doesn't need be disabled
    Disabling 64 bit x264 was just a "see if it makes a difference" thought.

    A closer look indicates the error is occurring after attempting to run a 2nd pass (--pass 2 in the command line). I assume the 1st pass has been configured and run errrr..... 1st?

    I'd agree with trying the automated 2 pass idea. It's easier.
    I'd also suggest trying the "AutoEncode" method instead. You can leave the x264 encoder in CRF mode and when adding a job to the queue you're given an option to select a bitrate or file size. If you do, MeGUI will switch to 2 pass encoding for you. That way you don't need to set a bitrate in the x264 encoder configuration for each encode. Or, if you have automated 2 pass configured in the x264 encoder, AutoEncode can over-ride the bitrate.

    In case you're not aware......
    The AutoEncode method includes any audio loaded into audio section for encoding, and after specifying a file size it's included in the bitrate calculation (the file size/bitrate specified will be the video and audio bitrates combined) but if you use the "X" button to clear the audio section first it can't be included (although you can optionally add existing audio to the AutoEncode job).
    There's nothing wrong with using the automated 2 pass method in the x264 encoder configuration. It'll probably let you specify/obtain a more accurate bitrate. Auto Encode includes container overhead etc in the bitrate calculation so it can be a bit less accurate, but I find it convenient for also specifying an output file size for just the video.
    Last edited by hello_hello; 20th Jan 2015 at 13:14.
    Quote Quote  
  16. yeee it works nowww

    all i had to do was disable the x264 64 Bit Option and Switch to 'Automated 2pass'

    thankx u all MaY u All Get Eternal Life

    Now I Have to just figure out how to HardSub
    Quote Quote  
  17. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Great! ANd thanks for the solution.
    Quote Quote  
  18. Originally Posted by anime12345 View Post
    Now I Have to just figure out how to HardSub
    http://avisynth.org.ru/docs/english/externalfilters/vsfilter.htm

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