|
|
 |
|
 |
 |
Video compression/exporting
In this guide I'll learn you how to export your war videos as a small file with very good quality
Author: magicianforce2 class: all job: all Type: general Difficulty: intermediate
Average rating: 9.3/10 Total Votes: 15
Guide ContentsRendering For Expert Users (H.264 and AAC with MeGUI)
(NOTE: if you use another program as Vegas, skip the first part about rendering out of Vegas)
Others (including me) prefer an other program for encoding the actual video.
To do this you'll first need to render the file out of Sony Vegas in Uncompressed AVI format, you can also use another format for this as long as it is a lossless format.
Setup for the video setting is quite similar.
set the resolution to 1024x768 (or your own resolution)
Field order on Progressive Scan
Frame rate on 25,000 fps
Pixel aspect on 1,0000
For the Video Format you can also take another codec such as HuffYUV, I use both uncompressed and huffyuv, they both work. (be sure to have at least 50 GB free space on your hard disk though, one of my files became 64GB)
Tick the box to interleave every ** seconds.
Render alpha channel can be unticked, file will be 25% smaller and there's actually no visual difference.
You will only render the video now, so untick the audio box, we'll render it separately.
Save and wait.
Audio part
We render the audio as uncompressed wave because we will compress that with the other program too.
In the drop down box it's called Wave (Microsoft) (.wav)
the only important thing is to set it to 44.100 Hz, rest is ok already.
NOTE: Actual external rendering part starts here
Now we have 2 files:
1 Video file (.avi)
1 Audio file (.wav)
you will need to download 2 programs for the actual compression:
Avisynth 2.5.x (this is a frame server which sends the video to the compressor) Sourceforge Link
MeGUI (the compressor Interface which helps you configuring the compressor) Sourceforge Link (get the latest version of MeGUI)
Install both of them,
And open MeGUI
Note: .NET Framework 2.0 is required (most people already have this, but if MeGUI won't run, install the redist from Microsoft) .NET FW 2.0 redist
When you start it it will say there are updates, download and install them via the built in system.
Go to the Tools Menu and click "AVS Script creator" (formerly "Avisynth Script Creator".)
a window will pop up like this one:
Select your video in the Video Input
Don't use resizing etc, we want full res :]
Now save it. (note: you can already add the line ConvertToYV12() into the code. If you haven't done it, the program will ask to insert it by itself before rendering)
Upon saving it opens a window with the video in it, close it, and now it's loaded in megui.
For the encoder Settings use: x264: Unrestricted 2pass HQ. Click config and set bit rate, for 1024x768 set it to 2000. for higher resolutions like 1280x1024 set it to 3000~3500, for 1680x1050 set it to 4000~4500.
click ok, it asks saving, don't save, it'll set it to *scratchpad*
For the file format, take RAWAVC (.264 file)
Click enqueue (now comes that warning about colorspace, if it asks you to add this line for you: ConvertToYV12() click Yes or OK)
Now the audio, select audio input (the .wav file)
For the encoder select FAAC: *scratchpad* and click config.
There are some options, configure it like below
Use ABR 128, it gives really nice sound quality, you might save this profile, click on new, call it 128 ABR (or smt).
Click OK
Note: You can also use the Nero AAC encoder, tho you will need to download this package: Nero AAC Codec
Paste the file "neroAacEnc.exe" from the win32 dir in your megui folder and you can use the Nero AAC as audio encoder. It should give slighlty better quality then FAAC at equivalent bitrates.
Set the Extension to M4A.
Click enqueue
Now go to the Queue tab,
You'll likely see 3 jobs: 2 video jobs (1 analysis and 1 rendering pass) and 1 Audio job.
Click on start and the rendering process begins, takes a while depending on your system, but mostly not much longer than 2 hours in total.
Note: all files get saved in the directory where you have the uncompressed files.
After this you have 2 files, *.264 and *.m4a
now comes the Muxing job.
Go to Tools, Muxer, MP4 muxer or MKV muxer
you'll get a window like this,
In the video Input select your rendered file (*.264)
In the audio Input select your audio file (*.m4a)
standard output is *-muxed.mp4/mkv (where you use the mp4 or mkv muxer and * = filename of the videoinput)
Queue it
Note: the other jobs still stand there, it does no harm when you let them there, since they're already rendered they will do nothing
Note: muxing .mkv works the same, only difference is that it will be .mkv, i prefer .mkv
Start the queue, this takes like 3 secs since it only writes the 2 files into one file.
Tadaa now you have your final .mp4 or .mkv file in high quality.
Now go test it with MPC HC (included in the latest version of the CCCP)
And test it with VLC
If it works (which it apparently will do in 99 of the 100 cases) upload it on a file host and let me and others watch your beatiful work! |
Please log in to rate this guide |
|
|
|
 |
|
|