Old 08-08-2008, 03:54 PM   #1 (permalink)
Pro Member
 
LighT!'s Avatar
 
Credits: /

Join Date: Mar 2008
Location: Richmond NSW
Age: 19
Posts: 6,098
Rep Power: 16
Default x264 - MeGUI - The noob guide (56k WARNING)

**Some people have created video tutorials for Vdub and MeGUI which is roughly 80% the same process and may help some people. Check it out.

Advantages over MeGUI compared to bat version? More configuration options, resizing/cropping upscaling etc much like vdub if necessary. Easy for beginners though it takes longer to setup the first time.
Best of all it takes 5-6 minutes, not 45+ and provides the same quality. If not better if you max out the configuration.


Just before you read this guide, some people have mentioned crashes and what not using x264, or even just playing back files.
If you've used any codec packs, uninstall them, as they're likely dud packs.

The best pack that's crash free for most is K-lite, which I use. Install it to ensure maximum stability and compatibility. Download

Before you start you'll need to have your .wav taken from the uncompressed source. The quickest way to do this is to manually Export > from whatever editing software you use audio only, and using that. If you can't do that, extract it from the video using VirtualDub (go to Audio source and click Save Wav).
Create a folder to store your final components (AVS, Audio Wav, Video AVI), call it 'Final' as per the reference or whatever you prefer.

Download: meGUI
Now go and download MeGUI if you haven't already, run it and let it update all the necessary files. You don't need to import video profiles it suggests, so you can skip those.

(*Note, after a few MeGUI updates, one thing was removed from the front page, and 2 options were changed elsewhere, but they are unimportant, just skip what looks different to your actual tab).

+++++Encoding settings

Choose x264 scratchpad and hit Config, hit New and set a name for your own profile. You can match my settings if you'd like, tinker, copy another x264 guide on the net, or ask someone for their settings.
Generally 3500-5000 bitrate will do. Go below 4000 and you might see a lot of blockiness, but if you're video is smaller than 1280x720 you may only need 3500.
These settings are targeted towards maximum quality, lowest encoding speed. A 2-5 minute clip could take 10-25 minutes easily. Go with 2pass encoding if you want to save a few minutes, but if you have the time go with the extra pass.
I've tried the manual x264 method once, and that easily took twice as long as MeGUI, but the quality depends a lot on your settings.

Set threads here to how many cores you have or leave it at 0.













+++++Creating AVI Synth script, setting up encode and enqueue

Hit CTRL+R to bring up the AVISynth Script Creator (Note:This can be found under the Tools menu)
Hit "..." next to Video input and file the file you rendered out for your final clip, it'll scan the file for a few seconds and bring up a preview window. You can get out of this if you want to.

Go to the Filters tab and set the frame rate to 30. Also make sure resize is unticked under Options, it's usually on by default.


Now hit Save and save next to your uncompressed AVI (video.avs), it's a good idea to put all these files in to a folder for tidyness. Save it under the same name if you'd like (Eg video.avi with video.avs).

Now you should be back at the main window, you'll see now the input AVS script has been inputted for you. Manually creating this avs files and importing them is always an option.
The video output will be set to the same directory as the avs, with the correct extension (mp4), change the directory/filename if you wish by hitting ... and browsing to your desired directory.
Make sure the encoder settings you created earlier are selected, now hit Enqueue.
If you'd like to encode that video now, click the Queue tab and hit start.

Just a quick warning to save you some trouble, you'll have to say Yes to over-write once the firstpass is done for it to continue, and tick Always, or you'll come back after 20 minutes to find it's done nothing.




Remember you have to encode the audio separately, you can enqueue both now, it doesn't matter.
I usually enqueue the wav first and encode straight away in to the final folder, so I can mux it together afterwards, as encoding the video will take a while.

++++++Encoding audio

Take the wav file you extracted from vegas/premiere or vdub, down in the Audio section and hit '...' then browse to that file. [You can export mp3 from Adobe/Vegas and skip re-encoding it and go and mux it now]
Choose LAME MP3 under the Encoding Settings, the default settings (128kbps) will work fine, you can edit them if you'd like by hitting Config.
Now choose the ouput towards your final folder, it doesn't matter what you name it, you can call it final.mp3.
Now hit Enqueue, and head over to the Queue tab and hit Start. Ten seconds later that mp3 will have been done for you, you can click Clear to remove finished jobs.


++++++Mux

Great, you're almost done! Now just to combine the mp3 and mp4 in to the same file and you can upload!

In MeGUI, go to Tools > Muxer > Mp4 Muxer.
For the video input, select your encoded file, then the same under the audio section.
Now under muxed output, browse towards where you want the file created, and set the final name for your masterpiece. Hit queue, head back and start that job, and you're done.



I'm not claiming to have mastered MeGUI, if any other movie makers have better suggestions on way to do things or additions to this feel free to make them and I'll amend it.
__________________
CHRiSOAOW indefinitely delayed.

Last edited by LighT!; 09-06-2009 at 04:06 PM..
LighT! is offline   Reply With Quote
Old 08-08-2008, 04:04 PM   #2 (permalink)
Honorary Member
 
Credits: /

Join Date: Apr 2007
Location: Adelaide
Posts: 1,293
Rep Power: 6
Default

i prefer snapshots x264 guide

whenever i want to encode into x264 i just drag in the uncompressed audio and visual, edit one name in the bat file (the file name of the audio and video), double click the bat file and walk away
__________________
Freddeh=] is offline   Reply With Quote
Old 08-08-2008, 04:05 PM   #3 (permalink)
Pro Member
 
LighT!'s Avatar
 
Credits: /

Join Date: Mar 2008
Location: Richmond NSW
Age: 19
Posts: 6,098
Rep Power: 16
Default

How long does the encoding usually take?
__________________
CHRiSOAOW indefinitely delayed.
LighT! is offline   Reply With Quote
Old 08-08-2008, 04:08 PM   #4 (permalink)
Monster Member
 
etriC!'s Avatar
 
Credits: /

Join Date: May 2007
Location: Comolot
Age: 13
Posts: 3,484
Rep Power: 8
Default

used to do it this way, makemp4 bat produces better quality so i go with that now, it takes about the same time tbh.
__________________
etriC! is offline   Reply With Quote
Old 08-08-2008, 04:16 PM   #5 (permalink)
Honorary Member
 
Credits: /

Join Date: Sep 2006
Posts: 1,458
Rep Power: 0
Default

windows media video
haymo is offline   Reply With Quote
Old 08-08-2008, 04:22 PM   #6 (permalink)
Monster Member
 
etriC!'s Avatar
 
Credits: /

Join Date: May 2007
Location: Comolot
Age: 13
Posts: 3,484
Rep Power: 8
Default

Quote:
Originally Posted by haymo View Post
windows media video
/vomit
__________________
etriC! is offline   Reply With Quote
Old 08-08-2008, 04:29 PM   #7 (permalink)
Contributing Member
 
snap shot's Avatar
 
Credits: /

Join Date: May 2008
Location: QLD
Age: 18
Posts: 694
Rep Power: 3
Send a message via MSN to snap shot
Default

haha, thanks for the guide i'll give it a shot later, see what gives best results
__________________
#PAiNTRAiN
decipheR Deejay Precision Temper
OzXtreme SnapShot GM: Flanky
snap shot is offline   Reply With Quote
Old 08-08-2008, 05:38 PM   #8 (permalink)
Pro Member
 
LighT!'s Avatar
 
Credits: /

Join Date: Mar 2008
Location: Richmond NSW
Age: 19
Posts: 6,098
Rep Power: 16
Default

I gave the manual attempt another go and I ended up with a movie.h264 file in the /temp/ folder, how am I supposed to get the .x264, rename it?
__________________
CHRiSOAOW indefinitely delayed.

Last edited by LighT!; 08-08-2008 at 05:53 PM..
LighT! is offline   Reply With Quote
Old 09-08-2008, 12:11 AM   #9 (permalink)
Pro Member
 
Credits: /

Join Date: Apr 2008
Location: Melbourne
Posts: 6,175
Rep Power: 10
Default

awsome guide , helped heaps will rep when possible
vitaL is online now   Reply With Quote
Old 09-08-2008, 01:08 AM   #10 (permalink)
Honorary Member
 
Credits: /

Join Date: Sep 2006
Posts: 1,458
Rep Power: 0
Default

Quote:
Originally Posted by etriC! View Post
/vomit
my encoding is fine :/
haymo is offline   Reply With Quote
Old 09-08-2008, 06:13 AM   #11 (permalink)
Monster Member
 
MyztiK's Avatar
 
Credits: /

Join Date: Feb 2007
Location: SERVIN JUNKIES BLOW
Age: 23
Posts: 2,051
Rep Power: 7
Send a message via MSN to MyztiK
Default

Quote:
Originally Posted by DarKcS View Post
I gave the manual attempt another go and I ended up with a movie.h264 file in the /temp/ folder, how am I supposed to get the .x264, rename it?
*facepalm*
__________________

IM A WALKIN BANK ROLL YOU CAN RUBBER BAND ME
WHITE.PRIDE.WORLD.WIDE
MyztiK is offline   Reply With Quote
Old 09-08-2008, 12:15 PM   #12 (permalink)
GotGames Moderator
 
ShiFTy's Avatar
 
Credits: /

Join Date: Jun 2006
Age: 21
Posts: 3,384
Rep Power: 16
Default

good effort, but your videos have never been good quality sorry
__________________
#Anexias
CEVO-I/P? Want a COTW? PM me
ShiFTy is offline   Reply With Quote
Old 09-08-2008, 12:33 PM   #13 (permalink)
Pro Member
 
LighT!'s Avatar
 
Credits: /

Join Date: Mar 2008
Location: Richmond NSW
Age: 19
Posts: 6,098
Rep Power: 16
Default

I thought Albstr's COTW was decent quality.

And if you stop and look past all the nice colours in half the other x264 COTWs you'll artefacts, blockiness, and pixelation, eg cPS's vid, just not as noticeable perhaps.
If I knew how to do the manual method without failing then I would.
__________________
CHRiSOAOW indefinitely delayed.

Last edited by LighT!; 09-08-2008 at 01:13 PM..
LighT! is offline   Reply With Quote
Old 09-08-2008, 02:01 PM   #14 (permalink)
Monster Member
 
etriC!'s Avatar
 
Credits: /

Join Date: May 2007
Location: Comolot
Age: 13
Posts: 3,484
Rep Power: 8
Default

Quote:
Originally Posted by haymo View Post
my encoding is fine :/
yeah yours are very good because premiere encodes so much better in wmv than vegas can. That being said wmv is always the easy fast way
__________________
etriC! is offline   Reply With Quote
Old 10-08-2008, 04:43 PM   #15 (permalink)
Honorary Member
 
Credits: /

Join Date: Sep 2006
Posts: 1,458
Rep Power: 0
Default

Quote:
Originally Posted by etriC! View Post
yeah yours are very good because premiere encodes so much better in wmv than vegas can. That being said wmv is always the easy fast way
the easy fast way... but the best :/ Not all computers can run these ridiculously complex encoded files that mp4 and h264 are producing.
haymo is offline   Reply With Quote
Old 11-08-2008, 11:03 PM   #16 (permalink)
Green Member
 
Credits: /

Join Date: Jul 2008
Posts: 26
Rep Power: 0
Default

infected productions got a nice tut on how to do it aswell
beazy is offline   Reply With Quote
Old 19-08-2008, 10:51 AM   #17 (permalink)
Pro Member
 
LighT!'s Avatar
 
Credits: /

Join Date: Mar 2008
Location: Richmond NSW
Age: 19
Posts: 6,098
Rep Power: 16
Default

Bmp :P
__________________
CHRiSOAOW indefinitely delayed.
LighT! is offline   Reply With Quote
Old 27-08-2008, 08:30 PM   #18 (permalink)
Pro Member
 
LighT!'s Avatar
 
Credits: /

Join Date: Mar 2008
Location: Richmond NSW
Age: 19
Posts: 6,098
Rep Power: 16
Default

Sticky anyone? Or perhaps link to from one of the other guides already stickied.
__________________
CHRiSOAOW indefinitely delayed.
LighT! is offline   Reply With Quote
Old 02-09-2008, 07:50 PM   #19 (permalink)
GotGames A/C Reviewer
 
jamiec's Avatar
 
Credits: /

Join Date: Sep 2006
Location: RELEASING THE KRAKEN
Age: 18
Posts: 9,335
Rep Power: 26
Default

Stickied, This is the a guide for those unsure of the other tutorial.
__________________
jamiec is offline   Reply With Quote
Old 02-09-2008, 08:30 PM   #20 (permalink)
Contributing Member
 
snap shot's Avatar
 
Credits: /

Join Date: May 2008
Location: QLD
Age: 18
Posts: 694
Rep Power: 3
Send a message via MSN to snap shot
Default

good work admin
__________________
#PAiNTRAiN
decipheR Deejay Precision Temper
OzXtreme SnapShot GM: Flanky
snap shot is offline   Reply With Quote
Old 13-09-2008, 10:54 PM   #21 (permalink)
Monster Member
 
smitewOw's Avatar
 
Credits: /

Join Date: Dec 2007
Location: Hobart, Tasmania.
Posts: 2,914
Rep Power: 0
Default

Nice guide dark
smitewOw is offline   Reply With Quote
Old 13-09-2008, 10:58 PM   #22 (permalink)
Pro Member
 
wreckst4R's Avatar
 
Credits: /

Join Date: Dec 2007
Location: Bankstown, Sydney
Posts: 5,129
Rep Power: 10
Default

awesome guide man, nice work.
__________________
;]



11:53 PM - m1tch[K5]: brb fingering my mum
wreckst4R is offline   Reply With Quote
Old 01-10-2008, 02:03 AM   #23 (permalink)
IoF
Honorary Member
 
IoF's Avatar
 
Credits: /

Join Date: Sep 2008
Location: de_brisbane
Posts: 1,963
Rep Power: 15
Send a message via AIM to IoF
Default

Doesnt seem to work 4 me

I encoded the video like said, aswell as the audio, but i noticed (as i tried to open the 2 for the mux) that the video was a 366KB file :/, so its dfinately not encoded properly.

Tried a second time following the instructions ever-so more carefully. Exactly the same turnout. The audio is fine, but the video never encoded to mp4 successfully.

Any chance you'd know whats going on or how i can fix this?

--ICE
IoF is online now   Reply With Quote
Old 01-10-2008, 01:43 PM   #24 (permalink)
Pro Member
 
LighT!'s Avatar
 
Credits: /

Join Date: Mar 2008
Location: Richmond NSW
Age: 19
Posts: 6,098
Rep Power: 16
Default

Not sure.
Using automated 2/3 pass or something else? Sounds like all is left is the analysis pass.
Also double checked your file names? Try outputting to a different filename.
__________________
CHRiSOAOW indefinitely delayed.
LighT! is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +10. The time now is 05:05 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.1
no new posts