guista
1st March 2011, 17:28
Hi all,
The goal of the operation was to reencode a 10 Mbps MKV to 5 Mbps.
1/ MeGUI
I first used MeGUI 1911 using the x264: DXVA-HD-Fast 2-pass profile (inherited from a previous MeGUI update) and just changed the bit rate to 5 Mbps.
The result was an unwatchable choppy video.
Moreover, the encoding took 18 hours (pass1: 6 hours / pass2: 12 hours) to complete !!!
2/ RipBot264
I found no profile selection so I just opened the settings panel and changed the max bit rate to 5 Mbps.
I noticed that the interface only ran 1 pass so it only took 6 hours.
The resulting video was perfect.
I finally decided to move from MeGUI to RipBot264 but I would like to know why MeGUI failed.
Do you have an idea ?
Thanks in advance for your answers.
Sharktooth
1st March 2011, 18:39
nope... post your logfile.
guista
1st March 2011, 22:49
nope... post your logfile.
Of course, here are the log files.
Please note that I modified the MeGUI profile so the x264.exe command line matches the RipBot264's one.
MeGUI / pass 1
-[Information] Log for job1 (video, mymovie.avs -> )
--[Information] [25/02/2011 22:57:43] Started handling job
--[Information] [25/02/2011 22:57:43] Preprocessing
--[Information] Job commandline: "C:\Program Files\MeGUI\tools\x264\x264.exe" --pass 1 --bitrate 5000 --stats "C:\mymovie - reencoded.stats" --no-scenecut --crf 22 --fps 24000/1001 --min-keyint 24 --keyint 240 --sar 1:1 --level 4.0 --vbv-bufsize 5000 --vbv-maxrate 25000 --filter 0,0 --ref 3 --bframes 3 --b-adapt 1 --b-pyramid none --subme 7 --aq-mode 1 --trellis 1 --partitions all --me umh --output NUL "C:\mymovie.avs"
--[Information] [25/02/2011 22:57:44] Encoding started
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] avs [info]: 1920x1080p 1:1 @ 2500000/104271 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [warning]: VBV bitrate (25000) > level limit (20000)
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] x264 [info]: profile Main, level 4.0
---[NoImage]
---[NoImage] x264 [info]: frame I:970 Avg QP:19.49 size:139215
---[NoImage] x264 [info]: frame P:134840 Avg QP:22.69 size: 42435
---[NoImage] x264 [info]: frame B:96797 Avg QP:25.07 size: 9739
---[NoImage] x264 [info]: consecutive B-frames: 30.2% 38.5% 13.8% 17.6%
---[NoImage] x264 [info]: mb I I16..4: 34.2% 0.0% 65.8%
---[NoImage] x264 [info]: mb P I16..4: 25.1% 0.0% 0.0% P16..4: 53.6% 0.0% 0.0% 0.0% 0.0% skip:21.3%
---[NoImage] x264 [info]: mb B I16..4: 2.1% 0.0% 0.0% B16..8: 22.8% 0.0% 0.0% direct: 7.5% skip:67.5% L0:31.2% L1:53.8% BI:15.0%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 35.2% 55.5% 10.6% inter: 16.7% 18.7% 0.7%
---[NoImage] x264 [info]: i16 v,h,dc,p: 35% 27% 24% 14%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 23% 15% 3% 10% 6% 7% 6% 7%
---[NoImage] x264 [info]: i8c dc,h,v,p: 52% 21% 22% 5%
---[NoImage] x264 [info]: Weighted P-Frames: Y:1.9% UV:1.3%
---[NoImage] x264 [info]: kb/s:5607.05
---[NoImage] encoded 232607 frames, 17.34 fps, 5607.05 kb/s
--[Information] [26/02/2011 02:41:21] Postprocessing
---[Information] Deleting intermediate files
--[Information] [26/02/2011 02:41:21] Job completed
MeGUI / pass 2
-[Information] Log for job2 (video, mymovie.avs -> mymovie - reencoded.mkv)
--[Information] [26/02/2011 09:51:43] Started handling job
--[Information] [26/02/2011 09:51:43] Preprocessing
--[Information] Job commandline: "C:\Program Files\MeGUI\tools\x264\x264.exe" --pass 2 --bitrate 5000 --stats "C:\mymovie - reencoded.stats" --no-scenecut --fps 24000/1001 --min-keyint 24 --keyint 240 --sar 1:1 --level 4.0 --vbv-bufsize 5000 --vbv-maxrate 25000 --filter 0,0 --ref 3 --bframes 3 --b-adapt 1 --b-pyramid none --subme 7 --aq-mode 1 --trellis 1 --partitions all --me umh --output "C:\mymovie - reencoded.mkv" "C:\mymovie.avs"
--[Information] [26/02/2011 09:51:43] Encoding started
--[Information] Standard output stream
--[Information] Standard error stream
---[NoImage] avs [info]: 1920x1080p 1:1 @ 2500000/104271 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
---[NoImage] x264 [info]: profile High, level 4.0
---[NoImage]
---[NoImage] x264 [info]: frame I:970 Avg QP:21.20 size:111447
---[NoImage] x264 [info]: frame P:134840 Avg QP:23.99 size: 36904
---[NoImage] x264 [info]: frame B:96797 Avg QP:26.54 size: 10109
---[NoImage] x264 [info]: consecutive B-frames: 30.2% 38.5% 13.8% 17.6%
---[NoImage] x264 [info]: mb I I16..4: 11.0% 76.1% 12.9%
---[NoImage] x264 [info]: mb P I16..4: 3.2% 15.1% 1.2% P16..4: 47.5% 9.5% 1.1% 0.1% 0.0% skip:22.3%
---[NoImage] x264 [info]: mb B I16..4: 0.1% 0.7% 0.1% B16..8: 36.5% 3.5% 0.6% direct: 1.3% skip:57.1% L0:36.8% L1:58.9% BI: 4.3%
---[NoImage] x264 [info]: 8x8 transform intra:77.4% inter:84.8%
---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 59.1% 70.8% 20.9% inter: 17.5% 23.6% 0.6%
---[NoImage] x264 [info]: i16 v,h,dc,p: 23% 18% 6% 53%
---[NoImage] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 16% 17% 6% 9% 9% 9% 8% 8%
---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 18% 12% 6% 12% 9% 10% 6% 5%
---[NoImage] x264 [info]: i8c dc,h,v,p: 52% 20% 20% 7%
---[NoImage] x264 [info]: Weighted P-Frames: Y:1.9% UV:1.3%
---[NoImage] x264 [info]: ref P L0: 68.6% 16.5% 10.2% 4.6% 0.1%
---[NoImage] x264 [info]: ref B L0: 93.8% 6.2%
---[NoImage] x264 [info]: kb/s:4999.40
---[NoImage] encoded 232607 frames, 5.09 fps, 4999.40 kb/s
--[Information] Final statistics
---[Information] Video Bitrate Desired: 5000 kbit/s
---[Information] Video Bitrate Obtained (approximate): 5000 kbit/s
--[Information] [26/02/2011 22:34:12] Postprocessing
---[Information] Deleting intermediate files
----[Information] [26/02/2011 22:34:12] Successfully deleted C:\mymovie - reencoded.stats
----[Information] [26/02/2011 22:34:12] Successfully deleted C:\mymovie - reencoded.stats.mbtree
--[Information] [26/02/2011 22:34:12] Job completed
-[Information] Log for job2 (mux, mymovie - reencoded.mkv -> mymovie - reencoded-muxed.mkv)
--[Information] [26/02/2011 22:48:04] Started handling job
--[Information] [26/02/2011 22:48:04] Preprocessing
--[Information] Job commandline: "C:\Program Files\MeGUI\tools\mkvmerge\mkvmerge.exe" -o "C:\mymovie - reencoded-muxed.mkv" --engage keep_bitstream_ar_info --default-duration 1:24000/1001fps "--compression" "1:none" -d 1 -A -S "C:\mymovie - reencoded.mkv" "--compression" "0:none" -a 0 -D -S "C:\mymovie.ac3" --ui-language en
--[Information] [26/02/2011 22:48:05] Muxing started
--[Information] Standard output stream
---[NoImage] mkvmerge v4.4.0 ('Die Wiederkehr') built on Oct 31 2010 21:52:48
---[NoImage] 'C:\mymovie - reencoded.mkv': Using the Matroska demultiplexer.
---[NoImage] 'C:\mymovie.ac3': Using the AC3 demultiplexer.
---[NoImage] 'C:\mymovie - reencoded.mkv' track 1: Using the MPEG-4 part 10 (AVC) video output module.
---[NoImage] 'C:\mymovie.ac3' track 0: Using the AC3 output module.
---[NoImage] The file 'C:\mymovie - reencoded-muxed.mkv' has been opened for writing.
---[NoImage] The cue entries (the index) are being written...
---[NoImage] Muxing took 182 seconds.
--[Information] Standard error stream
--[Information] [26/02/2011 22:51:11] Postprocessing
---[Information] Deleting intermediate files
--[Information] [26/02/2011 22:51:11] Job completed
RipBot264
C:\>"C:\Program Files\RipBot264v1.16.0\tools\x264\x264_x86.exe" "C:\temp\RipBot264temp\job2\job2.avs" --crf 22 --fps 24000/1001 --min-keyint 24 --keyint 240 --sar 1:1 --level 4.0 --vbv-bufsize 25000 --vbv-maxrate 5000 --filter 0,0 --ref 3 --bframes 3 --b-adapt 1 --b-pyramid none --subme 7 --aq-mode 1 --trellis 1 --partitions all --me umh --output "C:\temp\RipBot264temp\video.264"
avs [info]: 1920x1080p 1:1 @ 10000000/417083 fps (cfr)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile High, level 4.0
x264 [info]: frame I:2605 Avg QP:22.15 size:114977
x264 [info]: frame P:122750 Avg QP:25.51 size: 33021
x264 [info]: frame B:107251 Avg QP:26.48 size: 11039
x264 [info]: consecutive B-frames: 22.6% 40.5% 15.2% 21.7%
x264 [info]: mb I I16..4: 11.1% 78.3% 10.6%
x264 [info]: mb P I16..4: 4.4% 13.6% 0.7% P16..4: 52.5% 9.4% 1.0% 0.1% 0.0% skip:18.3%
x264 [info]: mb B I16..4: 0.2% 0.8% 0.1% B16..8: 41.3% 3.8% 0.6% direct: 1.5% skip:51.7% L0:39.2% L1:56.7% BI: 4.1%
x264 [info]: 8x8 transform intra:73.3% inter:86.3%
x264 [info]: coded y,uvDC,uvAC intra: 48.6% 60.1% 15.3% inter: 17.0% 23.3% 0.5%
x264 [info]: i16 v,h,dc,p: 25% 21% 8% 46%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 15% 20% 6% 9% 9% 9% 7% 7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 18% 14% 6% 11% 9% 10% 6% 5%
x264 [info]: i8c dc,h,v,p: 58% 18% 18% 6%
x264 [info]: Weighted P-Frames: Y:1.7%
x264 [info]: ref P L0: 68.2% 16.0% 11.0% 4.8% 0.1%
x264 [info]: ref B L0: 93.7% 6.3%
x264 [info]: kb/s:4565.72
encoded 232606 frames, 5.00 fps, 4565.72 kb/s
C:\>"C:\Program Files\RipBot264v1.16.0\tools\mkvtoolnix\mkvmerge.exe" -o "C:\Data\mymovie.mkv" --title "mymovie" --default-duration 0:24000/1001fps -d 0 -A -S "C:\temp\RipBot264temp\video.264" --language 0:fre --sync 0:0 -a 0 -D -S "C:\mymovie.ac3"
mkvmerge v3.4.0 ('Rapunzel') built on May 15 2010 09:38:20
'C:\temp\RipBot264temp\video.264': Using the AVC/h.264 ES demultiplexer.
'C:\mymovie.ac3': Using the AC3 demultiplexer.
'C:\temp\RipBot264temp\video.264' track 0: Using the MPEG-4 part 10 ES video output module.
'C:\mymovie.ac3' track 0: Using the AC3 output module.
The file 'C:\Data\mymovie.mkv' has been opened for writing.
'C:\temp\RipBot264temp\video.264' track 0: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 1920/1080.
The cue entries (the index) are being written...
Muxing took 734 seconds.
-------------------------
Elapsed Time: 13h:07m:09s
Teddl
2nd March 2011, 00:29
Megui: --vbv-bufsize 5000 --vbv-maxrate 25000 + --no-scenecut
Ripbot: --vbv-bufsize 25000 --vbv-maxrate 5000
x264 commandlines do not match.
Zathor
2nd March 2011, 06:49
Guista: Please post the content of your avs file C:\mymovie.avs. Also please describe the way you added the jobs in MeGUI. Did you use OneClick/AutoEncode mode? I do not understand at the moment why you have two passes in MeGUI with --crf - this should not be possible without manual interaction.
guista
2nd March 2011, 09:31
Megui: --vbv-bufsize 5000 --vbv-maxrate 25000 + --no-scenecut
Ripbot: --vbv-bufsize 25000 --vbv-maxrate 5000
x264 commandlines do not match.
You are right, I did not find the way to get rid off the "--no-scenecut" using MeGUI so I just left it.
Guista: Please post the content of your avs file C:\mymovie.avs. Also please describe the way you added the jobs in MeGUI. Did you use OneClick/AutoEncode mode? I do not understand at the moment why you have two passes in MeGUI with --crf - this should not be possible without manual interaction.
I do not have the ".avs" anymore, I just have the logs.
I do not have the logs matching my original and faulty "x264: DXVA-HD-Fast" encoding (I reinstalled MeGUI because I first thought of a MeGUI update issue).
In facts, I just managed to build a command line close to the RipBot264 one and set the 2 pass encoding x264 option.
Sharktooth
2nd March 2011, 20:30
why mess with presets? megui comes with DXVA presets THAT JUST WORK. also old presets are just... OLD and no longer supported.
guista
2nd March 2011, 21:52
why mess with presets? megui comes with DXVA presets THAT JUST WORK. also old presets are just... OLD and no longer supported.
I did not mess the presets, I just added my new one to match the RipBot264 presets.
Anyway, you are right, I will try encoding again with MeGUI using the provided presets and post again in this thread if I meet the problem again.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.