Encoding guide.

View previous topic View next topic Go down

Encoding guide.

Post by 1Pantsu on September 3rd 2011, 12:38 am

Programs you'll need:
-> Sony Vegas (you should already have this)
-> AviSynth. MeGUI needs this.
-> MeGUI (I've never used the x264 command line =O)
-> CCCP, K-Lite, VLC, etc. Something that will open .mkv. Anime watchers don't need to worry about this.

I wish I could use x264 10-bit. But at the moment, YouTube doesn't support it. Yea, I'm crying on the inside.

Step 1:
Download/Install AviSynth, MeGUI. Should be straight forward, default settings should work fine. MeGUI will probably ask if you want to import presets. Personally, I've found no use for the presets.
Actually, I think MeGUI is standalone, but i don't remember.

Step 2:
Assuming you have everything done on Sony Vegas:
1) File -> Render As...
2) Select '.avi', and 'uncompressed'. That letterboxing option, if your video fits perfectly, uncheck it.
Spoiler:


3) Click on 'Custom...'
Frame size: I think most people would use 1280x720. Your other choices would be 1920x1080 (impractical for Youtube imo), or 853x480. Or 720x480 anamorphic, but Youtube probably scales it back up to 853x480 anyways.
Frame rate: I'll assume most of you record at 60 FPS, so it makes sense to encode to 30 FPS, so it drops every other frame.
Field order: Progressive is the only way to go. Interlacing is pointless in our case, read about it if you want.
Pixel aspect ratio: We want our pixels to be square in this case.
Video format: Uncompressed, because i said so.
Interleave: I actually have no idea what this is, but i've got a feeling it's pointless for progressive scan.
Audio: PCM uncompressed because i said so. Same goes for the other settings.
Video rendering quality: Best, because we're trying to be qualityfags here.
Spoiler:




4) Click OK, and start rendering. Warning: the filesize will be huge. But seeing how people use Fraps, it's no biggie.

Step 3:
1. Fire up MeGUI!
2. Tools > AVS Script Creator (shortcut: Ctrl-R)
3. Load up your lossless .avi in Video Input. When prompt with three choices, choose 'DirectShowSource'. Afterwards, click 'Save'.
Just close any preview windows that pop-up.
Spoiler:


4. In the main MeGUI menu, open up your lossless video where it says 'Audio Input'.
I crossed out the things we haven't set yet, in case you go like: OMG WHY DOESN'T MINE SAY THAT?
Spoiler:


5. In the Audio box, set the 'Encoder settings' to 'Flac: *scratchpad*'. Yes, we're using FLAC because YouTube will re-encode the audio to AAC.
Spoiler:


6. Click on 'Config', as shown in the previous pic. Change to slider all the way to the right; 'Smallest file, slow encode'. Leave everything else as it is, click 'Update', then click 'OK'.
Spoiler:


7. In the Video box, set the 'File format' to 'MKV'. Then, set the 'Encoder settings' to 'x264: *scratchpad*', and press 'Config'. Mine says 'x264: Live' because I named it that way, so don't worry about it.
Spoiler:


8. THIS IS THE MOST IMPORTANT PART. Yea, just copy whatever I have in the pics. And make sure 'Show Advanced Settings' is ticked. Ignore the 'Misc.' tab.
Spoiler:





These settings (especially CRF 20) are good enough for YouTube. the higher the CRF value, the smaller the filesize. If you want to hit a certain bitrate, use 2-pass mode instead.

9. Press 'Update', then 'OK'. herpderp.
10. So the main menu should look like this now. Click on 'Auto-Encode'.
Spoiler:


11. make sure Container: MKV; No target size (use profile settings). Click 'Queue'. A dialog about a convertion will popup, just press OK.
Spoiler:


12. Switch over to the 'Queue' tab. Press 'Start'. Then wait. A long time.
Spoiler:




You're done! this seems pretty long, but trust me it isn't.



Last edited by 1Pantsu on September 3rd 2011, 12:50 am; edited 2 times in total
avatar
1Pantsu
Lolicon
Lolicon

Posts : 4475
Join date : 2011-05-24
Age : 24
Location : fuck you nigger it wasn't me it was ari

View user profile

Back to top Go down

Re: Encoding guide.

Post by RainbowPantsu on September 3rd 2011, 12:41 am

Me gusta. When i get ram and a better vid card.... ima gogogogo record. :3
avatar
RainbowPantsu
Spammer

Posts : 1581
Join date : 2011-04-30
Age : 21
Location : Equestria catching Pokeponies.

View user profile

Back to top Go down

Re: Encoding guide.

Post by le reddit maymays on September 3rd 2011, 1:07 am

Wrong wrong wrong.

le reddit maymays
hurr i'm a hoers

Posts : 5308
Join date : 2011-04-30
Age : 22
Location : ♥ mai waifus

View user profile

Back to top Go down

Re: Encoding guide.

Post by 1Pantsu on September 3rd 2011, 1:50 am

Fuck The World wrote:Wrong wrong wrong.
You know you love me, I know you care
Just shout whenever, and I'll be there
You want my love, you want my heart
And we will never ever ever be apart.
avatar
1Pantsu
Lolicon
Lolicon

Posts : 4475
Join date : 2011-05-24
Age : 24
Location : fuck you nigger it wasn't me it was ari

View user profile

Back to top Go down

Re: Encoding guide.

Post by Ari on September 3rd 2011, 2:03 am

Too much work for little benefit.

Unless you're watching on an internet TV, this is all pointless.

Ari
The Pantsu Model

Posts : 1143
Join date : 2011-04-30
Age : 24

View user profile

Back to top Go down

Re: Encoding guide.

Post by 1Pantsu on September 3rd 2011, 2:16 am

Ari Strike wrote:Too much work for little benefit.

Unless you're watching on an internet TV, this is all pointless.
just by looking at the guide, it does look like a lot of work. but trust me, after getting used to it, it's seriously nothing at all.
it doesn't take very long to check and uncheck several boxes. following a step-by-step guide simply makes it look like your doing a lot of work.
avatar
1Pantsu
Lolicon
Lolicon

Posts : 4475
Join date : 2011-05-24
Age : 24
Location : fuck you nigger it wasn't me it was ari

View user profile

Back to top Go down

Re: Encoding guide.

Post by Erik on September 3rd 2011, 2:55 am

Thanks mate. I've grown sick of Ez H264
avatar
Erik
Banhammer Punching Bag

Posts : 1317
Join date : 2011-04-30
Age : 22

View user profile

Back to top Go down

Re: Encoding guide.

Post by RainbowPantsu on September 3rd 2011, 4:41 am

1Pantsu wrote:
Fuck The World wrote:Wrong wrong wrong.
You know you love me, I know you care
Just shout whenever, and I'll be there
You want my love, you want my heart
And we will never ever ever be apart.

Reminds me of Kips x Lasty
*rocks back and forth in corner*
avatar
RainbowPantsu
Spammer

Posts : 1581
Join date : 2011-04-30
Age : 21
Location : Equestria catching Pokeponies.

View user profile

Back to top Go down

Re: Encoding guide.

Post by Rizen on September 22nd 2011, 4:35 pm

Gives me an error and at the end says
"Image width must be even, use crop!"
I did it at 853x480, or whatever you had on your post earlier.
I'll try it at 720x480 instead.


Now the audio is getting an error after it finishes.
The video won't start because of it.

Changed audio encoding to neroaacenc because FLAC wasn't working.
Hope this won't effect it quality-wise, video nor audio.
avatar
Rizen
Spammer

Posts : 1323
Join date : 2011-09-04
Age : 21

View user profile

Back to top Go down

Re: Encoding guide.

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum