Chimera Forum Index
Author Message

< Index  Public Off Topic  ~  For Zajklon

Bigd
Posted: Sat Feb 21, 2009 12:10 am Reply with quote
Joined: 18 Jun 2006 Posts: 91 Location: Dorset, UK
As you requested m8ty, posted it here for ya, but couldnt copy across the pictures... anyway have fun Smile


First of all this is more of a collection of different guides i have read on the internet+ totaly rewritten for wow.

Table of Contents:
----------------------------------------------

1. Before You Get Started
A. Enabling Visible File Extensions
B. Video Card Driver Settings
--Nvidia
--ATI
2. Encoding and Compiling Files Section
-Includes Links to All Freeware:
--VirtualDub
--Windows Media Encoder
--HuffYUV
--VLC Media Player (x264 Playback)
--x264 Encoding File Pack by anX
--Xvid Encoding File Pack by anX


3. Editing Program to Uncompressed Master File(s)
A. Sony Vegas to Combined Uncompressed Video and Audio for wmv
B. Sony Vegas to Separate Uncompressed Video and Audio for x264 or Xvid
C. Adobe Premiere to Combined Uncompressed Video and Audio for wmv
D. Adobe Premiere to Separate Uncompressed Video and Audio for x264 or Xvid
4. Encoding
A. Windows Media Encoder for wmv
B. FAAC, MEGUI, and more for x264
C. LAME, VirtualDubMod, and more for Xvid

1A. Enabling Visible File Extenstions

Also, I HIGHLY HIGHLY HIGLY recommend enabling file visible file extensions in windows. Actually, it's required for x264 encoding, so just go ahead and do it.

Control Panel (in classic view) > Folder Options > View Tab:


make sure the box is unchecked.

1B. Video Card Driver Settings

NVIDIA :

Right click on your desktop > Nvidia Display > "monitor name" > "video card name" > Performance and Quality Settings: Turn everything up to its maximum, and uncheck any box that says "Let the application decide."



ATI :

Right Click on your Desktop > ATI Catalyst Control Center > 3D > All settings: Turn everything up to its maximum (excluding Catalyst AI and Smartshader Effects), and uncheck any box that says "Let the application decide."





Last edited by zajklon on Thu Jul 17, 2008 3:25 am; edited 1 time in total

2. Encoding and Compiling Files Section:

Required non-free Software:
-Fraps
-Sony Vegas or Adobe Premiere (I use Vegas 8 )

Freeware:
-VirtualDub (I use version 1.5.10) Download: http://www.oldversion.com/program.php?n=virtualdub

-Windows Media Encoder (for easy wmv files) Download:
http://www.microsoft.com/downloads/details.aspx?familyid=5691ba02-e496-465a-bba9-b2f1182cdf24&displaylang=en

-HuffYUV Codec for Lossless Compression Download: http://www.divx-digest.com/software/huffyuv.html

-VLC Media Player (x264 playback) Download: http://www.videolan.org/vlc/

-x264 Encoding Pack by anX Download: http://files.filefront.com/x264_encoding_pack_anXrar/;6656181;;/fileinfo.html
Contents:
---AVISynth 2.5.7
---YAMB 1.6
---FAAC.exe
---meGUI x264 specific version
---meGUI new version (multiple codecs)
---MP4Box.exe
---x264.exe
---A bunch of dlls and other files THAT YOU MUST KEEP IN THE SAME FILE AS THE .exe's.

-Xvid Encoding Pack by anX Download: http://files.filefront.com/xvid_encoding_pack_anXrar/;6853304;;/fileinfo.html
Contents:
---AVISynth 2.5.7
---Xvid 1.0 (newer versions are without a few options)
---Xvid Bitrate Calculator
---LAME.exe
---Multifrontend.exe
---VirtualDub 1.5.10
---VirtualDubMod 1.5.10
---A bunch of dlls and other files THAT YOU MUST KEEP IN THE SAME FILE AS THE .exe's.

Optional Sofware:
-Adobe Photoshop
-Adobe After Effects
-3DS Max
-Particle Illusion


DO NOT RECORD IN A RESOLUTION HIGHER THEN 1280X800 WINDOWED OR YOUR VIDEO WILL ONLY BE HALF THE RESOLUTION YOU RECORED AND YOU GET CRAP QUALITY, AS IN STRETCHED OUT !(FRAPS CAN'T RECORD AT A HIGHER RESOLUTION.) AND YOU HAVE TO PLAY WINDOWED

after you have recorded ingame you got a big (uncrompressed) video file, to make it smaller and maintain quality you need to compress it and edit.


3A. Sony Vegas to Combined Uncompressed Video and Audio for wmv:

I use Vegas 8, just for reference. Newer versions might be slightly different.

After you're done editing:

- File > Render As...

Now in your "Render As" window:

- Template: Default Template (uncompressed)
- Save as Type: Video for Windows (.avi)

Then click on the "Custom" button. In your "Custom Template" Window:

- Project tab > Video Rendering Quality: Preview (this will prevent deinterlacing and you will not lose any quality)
- Hit okay. Name it what you want, and hit save.

This is your master file. It's uncompressed audio and video, and you can encode it into whatever codec you want.

3B. Sony Vegas to Separate Uncompressed Video and Audio for x264 or Xvid:

I use Vegas 5, just for reference. Newer versions might be slightly different.

One thing you'll want to know about x264 encoding is that the resolution (both width and height) has to be divisible by 16. If you've been using 800x600, I'd just resize your video to 800x592. You should take this into account before you edit.

After you're done editing:

- File > Render As...

Now in your "Render As" window:

- Template: Default Template (uncompressed)
- Save as type: Video for Windows (.avi)

Then click on the "Custom" button. In your "Custom Template" Window:

- Project tab > Video Rendering Quality: Preview (this will prevent deinterlacing and you will not lose any quality)
- Audio Tab > Uncheck "Include Audio" box
- Hit okay. Name it what you want, and hit save.

This is your master video file. It's uncompressed and you can encode it into whatever codec you want.

After that's done, you'll need to produce the uncompressed audio file:

- File > Render As...

Now in your "Render As" window:

- Template: Default Template
- Save as type: Wave (Microsoft) (.wav)
- Hit okay. Name it what you want (preferably the same as the video), and hit save.

This is your master audio file. It's uncompressed and you can encode it into whatever codec you want.

3C. Adobe Premiere to Combined Uncompressed Video and Audio for wmv:

I don't use this program. This laptop came with premiere elements, and I'm basing this guide off of it. Your version might be different, but you'll get the idea of what you wanna do. I use vegas so yeah =/.

After you're done editing:

- File > Export > Movie... > Settings

Okay now you'll have a window opened called "Export Movie Settings."

There should be should be four categories on the left: General, Video, Keyframe and Rendering, and Audio. Now do this:

- General > File Type > Microsoft AVI
- Video > Compressor > Uncompressed
- Video > Frame size > whatever resolution you recorded at/want to render at
- Audio > Compressor > Uncompressed.

I don't know if you'll get deinterlacing on those settings or not (you don't want that), but that's the best I can do with a program I've never used lollll.

Hit okay and save it as what you want. This is your master file. It's uncompressed audio and video, and you can encode it into whatever codec you want.

3D. Adobe Premiere to Separate Uncompressed Video and Audio for x264 or Xvid :

I don't use this program. This laptop came with premiere elements, and I'm basing this guide off of it. Your version might be different, but you'll get the idea of what you wanna do. I use vegas so yeah =/.

After you're done editing:

- File > Export > Movie... > Settings

Okay now you'll have a window opened called "Export Movie Settings."

There should be should be four categories on the left: General, Video, Keyframe and Rendering, and Audio. Now do this:

- General > File Type > Microsoft AVI
- General > UNCHECK the "Export Audio" box
- Video > Compressor > Uncompressed
- Video > Frame size > whatever resolution you recorded at/want to render at

Hit okay and save it as what you want. This is your master video file. It's uncompressed and you can encode it into whatever codec you want.

After that's done, you'll need to produce the uncompressed audio file:

File > Export > Audio...

Name it what you want (preferably the same as the video), and hit save.

This is your master audio file. It's uncompressed and you can encode it into whatever codec you want.

4. Encoding:

4A. Windows Media Encoder for wmv:

WMV9 Codec:

Pros: Decent file size, good quality at any resolution. Very simple encoding process.

Cons: Toubles with color balance. Edges of reds can be lost, areas of green can be oversaturated.

- Open it up. A new session window will come up. Just hit cancel.
- Hit the properties button near the top.
- Sources Tab > Source From: File

- Sources Tab > File name > browse to your master file that you made in premiere/vegas
- Output Tab > Uncheck the Pull from Encoder Box
- Output Tab > Check the Encode to File box. Hit browse and save it as what you want
- Compression Tab > Destination > File download (computer playback)
- Video Size Tab > Blue resize text > Method: No resizing
- Processing > Pixel Format: YV12
- Hit apply. Then hit the green Start Encoding button near the top....

NOTE: This encodes @ 5mbps. Quality will be excellent, but you'll be sitting @ about 36-39MB/minute @ 800x600. Expect pretty large file sizes.

AND YOU'RE DONE.

4B. FAAC, MEGUI, and more for x264:

x264 Codec:

Pros: Lowest file size out of any codec, high quality at most resolutions.

Cons: Weaker in reds than Xvid. Slow encoding process.

For this section I'm assuming you're using the x264 pack and that you followed the readme.txt in it correctly(except for the following the guide part because this is the guide). I'm also assuming that you exported an uncompressed video and audio file from vegas (section 7B) or premiere (section 7D).

This section is for advanced users. Some of the encoding will take place in the command line prompt. It's not that hard, but if you're not that great with computers you might want to overlook this and just encode in wmv.

Okay, you should have this folder filled with all your x264 files:

C:\Documents and Settings\username\x264

Put both your uncompressed .avi and uncompressed .wav in this folder. Make both of their names the same. You can decipher them by their file extentions.

Audio Encoding:

Start > Run > cmd

This is the command prompt. When I tell you to type something in it DON'T USE THE QUOTES.

The default directory should be:

C:\Documents and Settings\username

type "cd x264" and hit enter

Now your directory should be:

C:\Documents and Settings\username\x264

type "faac -w -b 128 audiofilename.wav" and hit enter.

Your audio file should encode pretty quickly.

You will now have a file called "audiofilename.m4a" in your C:\Documents and Settings\username\x264 folder. This is your compressed audio.

Video Encoding:

Remember, resolution (width and height) must be divisible by 16!

Right-Click in any white area in your C:\Documents and Settings\username\x264 folder > New > Text Document.

Rename it to: videofilename.avs

Windows will ask you if you want to change the file type. Say yes.

Open up the file (it won't know what program to use. Just do Chose Program from List and use notepad). Put this in the body:

AVISource("videofilename.avi")
Crop(0,0,-0,-0)
ConvertToYV12()

Save it and close it.

Open up megui.exe.

Input Tab under Video Encoding:

Codec > x264

File Type > MP4

Across from AviSynth Script click on the "..." Button. Browse to: C:\Documents and Settings\username\x264 and click on videofilename.avs.

A new window should open up with the video file. You don't need to do anything there. Just close it.

Back in your main window, hit Config.

The first thing you MUST do is set your "AVC Profiles" to "High Profile"

Then, use these settings for your main tab:


For your RC and ME tab, use these settings:


For you advanced tab, use these settings:



Note: I can't guarentee good quality or smooth playback with these settings. x264 is tricky. Every video is different. Currently I get about 23 MB/minute with amazing quality @ 1280x800 with these settings. You might need to raise/lower the bitrate depending on resolution.

Hit okay. Then back in your main window, hit Enqueue below the config button. Go to the queue tab and hit start.

Encoding in x264 takes a VERY long time. Be patient. After you're done encoding, you'll have a file named "videofilename.mp4" in your C:\Documents and Settings\username\x264 folder. This is your compressed video file.

Muxing (combining your video and audio):

Open up YAMB.

Across from Audio and Video in blue text hit add. Add both your audiofilename.m4a and your videofilename.mp4 files. For the final time, THEY MUST HAVE THE SAME NAME OR YOU WILL GET ERRORS.

Down in the bottom right hit mux. Save it as what you want and hit okay.

AND YOU'RE DONE.


4C. LAME, VirtualDubMod, and more for Xvid:

Xvid MPEG-Layer 4 Codec:

Pros: Low file size, high quality at any resolution, accurate colors all around.

Cons: None.

For this section I'm assuming you're using the Xvid pack and that you followed the readme.txt in it correctly(except for the following the guide part because this is the guide). I'm also assuming that you exported an uncompressed video and audio file from vegas (section 7B) or premiere (section 7D).

This section is for advanced users. Some of the encoding will take place in the command line prompt. It's not that hard, but if you're not that great with computers you might want to overlook this and just encode in wmv.

Okay, you should have this folder filled with all your Xvid files:

C:\Documents and Settings\username\xvid

Put both your uncompressed .avi and uncompressed .wav in this folder. Make both of their names the same. You can decipher them by their file extentions.


Audio Encoding:

Start > Run > cmd

This is the command prompt. When I tell you to type something in it DON'T USE THE QUOTES.

The default directory should be:

C:\Documents and Settings\username

type "cd xvid" and hit enter

Now your directory should be:

C:\Documents and Settings\username\xvid

type "lame audiofilename.wav audiofilename.mp3" and hit enter.

Your audio file should encode pretty quickly.

You will now have a file called "audiofilename.mp3" in your C:\Documents and Settings\username\xvid folder. This is your compressed audio.

Video Encoding:

Remember, resolution (width and height) must be divisible by 2!

Right-Click in any white area in your C:\Documents and Settings\username\xvid folder > New > Text Document.

Rename it to: videofilename.avs

Windows will ask you if you want to change the file type. Say yes.

Open up the file (it won't know what program to use. Just do Chose Program from List and use notepad). Put this in the body:

AVISource("videofilename.avi")
Crop(0,0,-0,-0)
ConvertToYV12()

Save it and close it.

Open up VirtualDubMod.exe:

-File > Open Video File > Browse to your videofilename.avs file.
-Streams > Steam List > Add > Browse to your audiofilename.mp3 file.
-Video > Compression > Select Xvid MPEG-4 Codec. Hit Configure.

In your XviD Configuration Window:

-Profile @ Level: (unrestricted). Hit the more... button to the right of it.

In the new window, use these settings:


Hit okay. Back in your main XviD Configuration Window:

-Encoding Type: Twopass - 1st pass

Hit "Advanced Options..."

In new window's Motion tab, use these settings:


In the Quantization tab, use these settings:

Hit Okay. Okay. Okay.

Back in your VirtualDubMod Main Window:

-File > Save As (F7) > CHECK "Don't run this job now; add it to Job Control so I can run it in batch mode." Save it as "firstpass.avi" in your C:\Documents and Settings\username\xvid folder.

Back in your VirtualDubMod Main Window:

-Video > Compression > Select Xvid MPEG-4 Codec. Hit Configure.

In your XviD Configuration Window:

-Encoding Type: Twopass - 2nd pass
-Target Bitrate: 4500-5000 (I use 4900, depends on video resolution. You can find an optimal bitrate using the XviD bitrate calculator. The higher the resolution, the higher bitrate you'll need)

If it says "Target Size (kbytes)" instead of "Target Bitrate (kbps)," just click on the "Target Size (kbytes)" text and it will switch to "Target Bitrate (kbps)."

Hit okay. Okay.

Back in your VirtualDubMod Main Window:

-File > Save As (F7) > CHECK "Don't run this job now; add it to Job Control so I can run it in batch mode." Save it as "secondpass.avi" in your C:\Documents and Settings\username\xvid folder.
-File > Job Control (F4) > Start

There will be a firstpass.avi and a secondpass.avi in your C:\Documents and Settings\username\xvid folder. The secondpass.avi is your finalized project.

AND YOU'RE DONE.
View user's profile Send private message
zajklon
Posted: Sat Feb 21, 2009 12:14 pm Reply with quote
thanks ^^

Display posts from previous:  

All times are GMT + 1 Hour
Page 1 of 1
Post new topic

Jump to:  

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum