Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Bodim.lk out now !
Manoj Suranga Bandara
Updated:
Yesterday at 3:05 AM
Power Lifting Lever Belt
SkullVamp
Updated:
Jun 13, 2026
Ad icon
port.lk Domain for sale
Lankan-Tech
Updated:
Jun 13, 2026
Colombo
Kaduwela - Two Storey House for Sale
dilrasan
Updated:
Jun 11, 2026
Ad icon
Wechat qr verification
Pawan2005
Updated:
Jun 11, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Tips & Tricks
Sihina Tips House..............
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="sihina_lahiru" data-source="post: 7233915" data-attributes="member: 149577"><p><strong> <strong>Encoding, editing of x264 mkv movies using Megui, mkvmerge</strong> </strong></p><p></p><p> <strong><span style="color: red"><span style="font-size: 15px">This guide is split into following parts:</span></span></strong></p><p><strong>1.) Setting up Encoder.</strong></p><p><strong>2.) Encoding.</strong></p><p><strong>3.) Editing of Output file</strong></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p><strong><span style="color: darkblue"><span style="font-size: 15px">1.) Setting up Encoder</span></span></strong></p><p></p><p><strong><span style="font-size: 15px">You Must Have Following 5 Files First</span></strong></p><p></p><p>(a) Megui. </p><p> <a href="http://tubenow.net/link-checker/?url=www.katzforums.com/showthread.php?t=640547" target="_blank">Check Download Links</a> Code:</p><p> <a href="http://sourceforge.net/project/downloading.php?group_id=156112&use_mirror=jaist&filename=megui-0_3_1_1014.exe&a=6828498" target="_blank">http://sourceforge.net/project/downloading.php?group_id=156112&use_mirror=jaist&filename=megui-0_3_1_1014.exe&a=6828498</a> </p><p>(b) Avisynth.</p><p> <a href="http://tubenow.net/link-checker/?url=www.katzforums.com/showthread.php?t=640547" target="_blank">Check Download Links</a> Code:</p><p> <a href="http://sourceforge.net/project/downloading.php?group_id=57023&use_mirror=nchc&filename=Avisynth_258.exe&a=41520716" target="_blank">http://sourceforge.net/project/downloading.php?group_id=57023&use_mirror=nchc&filename=Avisynth_258.exe&a=41520716</a> </p><p>(c) Profiles.</p><p> <a href="http://tubenow.net/link-checker/?url=www.katzforums.com/showthread.php?t=640547" target="_blank">Check Download Links</a> Code:</p><p> <a href="http://rapidshare.com/files/204452745/allprofiles.rar" target="_blank">http://rapidshare.com/files/204452745/allprofiles.rar</a> </p><p>(d) Nero AAC Codec.</p><p> <a href="http://tubenow.net/link-checker/?url=www.katzforums.com/showthread.php?t=640547" target="_blank">Check Download Links</a> Code:</p><p> <a href="http://rapidshare.com/files/204452928/neroaac.rar" target="_blank">http://rapidshare.com/files/204452928/neroaac.rar</a> </p><p>(e) Mkvtoolnix</p><p> <a href="http://tubenow.net/link-checker/?url=www.katzforums.com/showthread.php?t=640547" target="_blank">Check Download Links</a> Code:</p><p> <a href="http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-unicode-2.5.1-setup.exe" target="_blank">http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-unicode-2.5.1-setup.exe</a> </p><p></p><p>After downloading the above files follow these steps :-</p><p></p><p>1. Install Megui, Avisynth and Mkvtoolnix.</p><p>2. Copy all 3 Nero AAC files to the Megui directory</p><p> By Default - "C:\Program Files\megui"</p><p>3. Run Megui and update it.</p><p><img src="http://i42.tinypic.com/2j3i0iw.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p>4. Close Megui.</p><p>5. Copy the "allprofiles" folder and paste it in Megui directory</p><p> By Default - "C:\Program Files\megui". Replace the allprofiles folder with new one. </p><p>6. Now run Megui and we are ready to encode some movies. :wink: </p><p><img src="http://i41.tinypic.com/dbpff6.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p><strong>---------------------------------------------------------------------------------------------------------</strong></p><p></p><p></p><p></p><p></p><p></p><p></p><p><strong><span style="color: darkblue"><span style="font-size: 15px">2.) Encoding</span></span></strong></p><p></p><p>1. Run Megui and click file-->open and browse to the source video file.</p><p>2. Wait few seconds and then avisynth will open with video previewer (see images below).</p><p><img src="http://i44.tinypic.com/k9garo.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /><img src="http://i39.tinypic.com/algfly.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p>3. Enter the desired output resolution (must be mod 16)*</p><p> *mod 16 resolution - Both height and width pixels must be completely divisible be 16. Example - Here 720x352 resolution is used and 720/16 gives remainder as 0 and also 352/16 gives rem. 0 so that means it's a mod 16 resolution.</p><p>4. You can crop screen if u see black borders (in our case we don't need it).</p><p>5. Click Save and you will be returned back to megui.</p><p></p><p></p><p><img src="http://i40.tinypic.com/24xmdsl.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p></p><p>6. <span style="color: olive">In video section</span> select one video profile. For best result use <strong><span style="color: darkred">"x264: HQ-Slow"</span></strong> or <strong><span style="color: darkred">"x264: Unresteicted 2pass HQ"</span></strong>.</p><p>7. Select file format as MKV.</p><p>8. <span style="color: olive">In audio section</span> select audio profile"Nero AAC: NDAAC-HE-64kbs".</p><p></p><p></p><p><img src="http://i41.tinypic.com/2wmql1g.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p></p><p>9. Click config and check the "adaptive bitrate" and set it to @35kbps. You can also use 40kbps but 35kbps works fine for me.</p><p></p><p></p><p><img src="http://i42.tinypic.com/2ed3xch.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p></p><p>10. Click "Auto Encode" and a new window will apppear.</p><p>11. Select conatiner as "MKV" and enter "average bitrate" as per the desired output file size (Remember 30minutes = 100mb). When done click "Queue".</p><p>12. Now click "Queue" tab at top of the encoder and click start. <img src="http://i39.tinypic.com/r9fz9f.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p><img src="http://i43.tinypic.com/28qq6t.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p></p><p>13. Now comes the most difficult part which is to wait :mrgreen: . Encoding process has now begun so be patient. Time taken in encoding depends on many factors such as your pc's config., source's resolution, output file's resolution, o/p file size etc. On my pc a normal dvdrip takes an average time of 4-5 hours.</p><p></p><p></p><p></p><p><strong>---------------------------------------------------------------------------------------------------------</strong></p><p></p><p></p><p></p><p><strong><span style="color: darkblue"><span style="font-size: 15px">3.) Editing</span></span></strong></p><p></p><p></p><p>TO EDIT MKV FILES I USE MKVMERGE.</p><p></p><p>In this section I will tell you how to:-</p><p></p><p>(a) Add or remove subtitles.</p><p>(b) Making samples/splitting a file.</p><p>(c) Join files.</p><p>(d) How to sync. an mkv file.</p><p></p><p>but before that run mkvmerge.</p><p></p><p><strong><span style="color: indigo"><span style="font-size: 15px">(a) Add or remove subtitles.</span></span></strong></p><p></p><p></p><p><img src="http://i44.tinypic.com/wu5u8l.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p>Adding</p><p></p><p>1. Click "add" button to add a video file.</p><p>2. Now simply drag the subtitle file to the "tracks" box in mkvmerge or click the add button to add sutitle file.</p><p>3. Select output folder.</p><p>4. Click "start muxing".</p><p></p><p>Removing</p><p></p><p>1. Add your file.</p><p>2. Uncheck the subtitle file from the "tracks" box.</p><p>3. Select output folder.</p><p>4. Click "start muxing".</p><p></p><p></p><p></p><p><strong><span style="color: indigo"><span style="font-size: 15px">(b) Making samples/splitting a file</span></span></strong></p><p></p><p></p><p><img src="http://i41.tinypic.com/2wly1wl.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p>1. Add the file that you want to split.</p><p>2. Now click "Global" tab at the top of the mkvmerge.</p><p>3. Tick the "enable splitting" option and choose the way* you want to split it.</p><p> *Take the cursor above each box for more info about it.</p><p></p><p></p><p></p><p><strong><span style="color: indigo"><span style="font-size: 15px">(c) Join files</span></span></strong></p><p></p><p></p><p>Now if you want to join two or more splitted files into a single file then add the first part of file and then click "append" to add 2nd part and so on you can append a no. of files. Select o/p folder and click "start muxung".</p><p></p><p><strong><span style="color: indigo"><span style="font-size: 26px">(d) How to sync. an mkv file.</span></span></strong></p><p></p><p>One common problem that arises after encoding a movie is that sometimes we gets file at output which is a bit out of sync. So, we can make it in sync using mkvmerge.</p><p></p><p><img src="http://i40.tinypic.com/i1jw9t.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p>Suppose that in our movie the sound is lagging beind video with duration 300ms. Then,</p><p></p><p></p><p>1. Add your file.</p><p>2. In "track" box click on video file and then "Format specific options". In "Delay (in ms)" enter 150.</p><p>3. Now in "track" box click on audio file and then "Format specific options". In "Delay (in ms)" enter -150.</p><p>4. Select o/p folder and click"start muxing"</p><p></p><p>Similarly, if video is lagging behind audio then in that case we would use -ve value for video file and +ve value for audio file.</p><p></p><p></p><p>This is how process goes:</p><p></p><p><img src="http://i39.tinypic.com/2rr486u.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p></p><p></p><p></p><p><strong>Note:-<em>This guide has been tested for as per use on <span style="color: green">windows xp 32 bit </span>and works. You may face some problems if you are using some other operating system. </em></strong></p><p></p><p></p><p> Quote:</p><p> Credit to the person who has made this guide</p></blockquote><p></p>
[QUOTE="sihina_lahiru, post: 7233915, member: 149577"] [B] [B]Encoding, editing of x264 mkv movies using Megui, mkvmerge[/B] [/B] [B][COLOR=red][SIZE=4]This guide is split into following parts:[/SIZE][/COLOR][/B] [B]1.) Setting up Encoder. 2.) Encoding. 3.) Editing of Output file[/B] [B][COLOR=darkblue][SIZE=4]1.) Setting up Encoder[/SIZE][/COLOR][/B] [B][SIZE=4]You Must Have Following 5 Files First[/SIZE][/B] (a) Megui. [URL="http://tubenow.net/link-checker/?url=www.katzforums.com/showthread.php?t=640547"]Check Download Links[/URL] Code: [url]http://sourceforge.net/project/downloading.php?group_id=156112&use_mirror=jaist&filename=megui-0_3_1_1014.exe&a=6828498[/url] (b) Avisynth. [URL="http://tubenow.net/link-checker/?url=www.katzforums.com/showthread.php?t=640547"]Check Download Links[/URL] Code: [url]http://sourceforge.net/project/downloading.php?group_id=57023&use_mirror=nchc&filename=Avisynth_258.exe&a=41520716[/url] (c) Profiles. [URL="http://tubenow.net/link-checker/?url=www.katzforums.com/showthread.php?t=640547"]Check Download Links[/URL] Code: [url]http://rapidshare.com/files/204452745/allprofiles.rar[/url] (d) Nero AAC Codec. [URL="http://tubenow.net/link-checker/?url=www.katzforums.com/showthread.php?t=640547"]Check Download Links[/URL] Code: [url]http://rapidshare.com/files/204452928/neroaac.rar[/url] (e) Mkvtoolnix [URL="http://tubenow.net/link-checker/?url=www.katzforums.com/showthread.php?t=640547"]Check Download Links[/URL] Code: [url]http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-unicode-2.5.1-setup.exe[/url] After downloading the above files follow these steps :- 1. Install Megui, Avisynth and Mkvtoolnix. 2. Copy all 3 Nero AAC files to the Megui directory By Default - "C:\Program Files\megui" 3. Run Megui and update it. [IMG]http://i42.tinypic.com/2j3i0iw.jpg[/IMG] 4. Close Megui. 5. Copy the "allprofiles" folder and paste it in Megui directory By Default - "C:\Program Files\megui". Replace the allprofiles folder with new one. 6. Now run Megui and we are ready to encode some movies. :wink: [IMG]http://i41.tinypic.com/dbpff6.jpg[/IMG] [B]---------------------------------------------------------------------------------------------------------[/B] [B][COLOR=darkblue][SIZE=4]2.) Encoding[/SIZE][/COLOR][/B] 1. Run Megui and click file-->open and browse to the source video file. 2. Wait few seconds and then avisynth will open with video previewer (see images below). [IMG]http://i44.tinypic.com/k9garo.jpg[/IMG][IMG]http://i39.tinypic.com/algfly.jpg[/IMG] 3. Enter the desired output resolution (must be mod 16)* *mod 16 resolution - Both height and width pixels must be completely divisible be 16. Example - Here 720x352 resolution is used and 720/16 gives remainder as 0 and also 352/16 gives rem. 0 so that means it's a mod 16 resolution. 4. You can crop screen if u see black borders (in our case we don't need it). 5. Click Save and you will be returned back to megui. [IMG]http://i40.tinypic.com/24xmdsl.jpg[/IMG] 6. [COLOR=olive]In video section[/COLOR] select one video profile. For best result use [B][COLOR=darkred]"x264: HQ-Slow"[/COLOR][/B] or [B][COLOR=darkred]"x264: Unresteicted 2pass HQ"[/COLOR][/B]. 7. Select file format as MKV. 8. [COLOR=olive]In audio section[/COLOR] select audio profile"Nero AAC: NDAAC-HE-64kbs". [IMG]http://i41.tinypic.com/2wmql1g.jpg[/IMG] 9. Click config and check the "adaptive bitrate" and set it to @35kbps. You can also use 40kbps but 35kbps works fine for me. [IMG]http://i42.tinypic.com/2ed3xch.jpg[/IMG] 10. Click "Auto Encode" and a new window will apppear. 11. Select conatiner as "MKV" and enter "average bitrate" as per the desired output file size (Remember 30minutes = 100mb). When done click "Queue". 12. Now click "Queue" tab at top of the encoder and click start. [IMG]http://i39.tinypic.com/r9fz9f.jpg[/IMG] [IMG]http://i43.tinypic.com/28qq6t.jpg[/IMG] 13. Now comes the most difficult part which is to wait :mrgreen: . Encoding process has now begun so be patient. Time taken in encoding depends on many factors such as your pc's config., source's resolution, output file's resolution, o/p file size etc. On my pc a normal dvdrip takes an average time of 4-5 hours. [B]---------------------------------------------------------------------------------------------------------[/B] [B][COLOR=darkblue][SIZE=4]3.) Editing[/SIZE][/COLOR][/B] TO EDIT MKV FILES I USE MKVMERGE. In this section I will tell you how to:- (a) Add or remove subtitles. (b) Making samples/splitting a file. (c) Join files. (d) How to sync. an mkv file. but before that run mkvmerge. [B][COLOR=indigo][SIZE=4](a) Add or remove subtitles.[/SIZE][/COLOR][/B] [IMG]http://i44.tinypic.com/wu5u8l.jpg[/IMG] Adding 1. Click "add" button to add a video file. 2. Now simply drag the subtitle file to the "tracks" box in mkvmerge or click the add button to add sutitle file. 3. Select output folder. 4. Click "start muxing". Removing 1. Add your file. 2. Uncheck the subtitle file from the "tracks" box. 3. Select output folder. 4. Click "start muxing". [B][COLOR=indigo][SIZE=4](b) Making samples/splitting a file[/SIZE][/COLOR][/B] [IMG]http://i41.tinypic.com/2wly1wl.jpg[/IMG] 1. Add the file that you want to split. 2. Now click "Global" tab at the top of the mkvmerge. 3. Tick the "enable splitting" option and choose the way* you want to split it. *Take the cursor above each box for more info about it. [B][COLOR=indigo][SIZE=4](c) Join files[/SIZE][/COLOR][/B] Now if you want to join two or more splitted files into a single file then add the first part of file and then click "append" to add 2nd part and so on you can append a no. of files. Select o/p folder and click "start muxung". [B][COLOR=indigo][SIZE=18](d) How to sync. an mkv file.[/SIZE][/COLOR][/B] One common problem that arises after encoding a movie is that sometimes we gets file at output which is a bit out of sync. So, we can make it in sync using mkvmerge. [IMG]http://i40.tinypic.com/i1jw9t.jpg[/IMG] Suppose that in our movie the sound is lagging beind video with duration 300ms. Then, 1. Add your file. 2. In "track" box click on video file and then "Format specific options". In "Delay (in ms)" enter 150. 3. Now in "track" box click on audio file and then "Format specific options". In "Delay (in ms)" enter -150. 4. Select o/p folder and click"start muxing" Similarly, if video is lagging behind audio then in that case we would use -ve value for video file and +ve value for audio file. This is how process goes: [IMG]http://i39.tinypic.com/2rr486u.jpg[/IMG] [B]Note:-[I]This guide has been tested for as per use on [COLOR=green]windows xp 32 bit [/COLOR]and works. You may face some problems if you are using some other operating system. [/I][/B] Quote: Credit to the person who has made this guide [/QUOTE]
Insert quotes…
Verification
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom