09: VS 11/11.5: Encoding in Xvid MPEG-4

Back up of entries with pictures saved on my 1TB drive

Moderator: sjj1805

Post Reply
User avatar
sjj1805
Posts: 1157
Joined: Fri Oct 27, 2006 12:45 am
operating_system: Windows 10 Pro
motherboard: Hewlett Packard 2AF7
system_drive: C
32bit or 64bit: 64 Bit
processor: 2-90 gigahertz Intel Core i5 4460S
ram: 8 GB
video card: NVIDIA GeForce GT 705
sound card: P40D100-4 NVIDIA High Definition Audio
Hard_Drive_Capacity: 8 TB
Location: Birmingham UK
Contact:

09: VS 11/11.5: Encoding in Xvid MPEG-4

Post by sjj1805 » Thu Jul 24, 2008 5:32 pm

VideoStudio 11/11.5 Plus: Encoding in Xvid


Background

Xvid is an open-source codec that compresses video in MPEG-4. Being that Xvid is open-source, it is a completely free codec (under the GNU GPL license). DivX only offers the decoder for free. Also, if your like to upload videos to YouTube, MPEG-4 encoded in Xvid (and DivX) is recommended for high quality videos (see How can I upload Higher Quality Videos?).

Additionally, Xvid makes an excellent choice for archiving videos since it compresses at a high rate while maintaining excellent, high quality. Xvid is also capable of encoding HD resolution video and has been optimized for \"specific support for latest PC processor extensions like SSE2/SSE3 SIMD instruction sets or dual-core/hyperthreading technology\" (Xvid.org, Project Info).

So, you may ask, \"What is the compression ratio?\" Well, I encoded a tutorial at the normal VS project settings, that is MPEG-2 NTSC-DVD quality. The resulting file size was 273,192KB. The same video encoded in Xvid was only 20,494KB. That's 1/13 the file size!

Installation

Go to Xvid.org:Downloads to download Xvid. BTW, it's a small file a doesn't add any bloatware to your computer like many programs today!


Image


Next, run the exe file to install Xvid.


Image


VideoStudio Configuration

I'm going to take you through the steps to create a YouTube template. However, once you have gone through these steps, creating other templates, such as for HD will be straightforward.

First, select Tools, Make Movie Templates Manager....


Image


Next, select New.


Image


Name the template Xvid for YouTube and select OK.


Image


Select the General tab. Here you can adjust the Frame Rate, Frame type, and the Frame Size. We won't be making any changes.

Image

Now click the AVI tab and in the Compression drop-down box, select Xvid MPEG-4 Codec. Also change the Audio Format to MPEG Layer-3.


Image


Next, select Configure..., then Other Options. Deselect Display encoding status and select OK.


Image
Image
Image


NOTE: If you're video has a lot of motion, you may want to change Encoding type to Two pass - 1st pass.


Image


Select OK.

Now select Advanced.

Check Interleave audio and video, set Pack audio data for every x frames to 1, and select OK.


Image


Click OK. Click OK again.

Select Close.


Image


Now click the Share Step tab, select Create Video File and you'll see that Xvid for YouTube has been added to your rendering options.


Image


And that's it!

Some folks like to set their Project Properties to the same as their output. To do so select File, Project Properties or ALT+ENTER.

Select Microsoft AVI files in the Edit file format drop-down box. Scroll down and you should see that Xvid MPEG-4 Codec is already selected. However, there are two major differences! Notice that the frame type is Lower Field First and audio encoding is set to PCM, which is not the same as what I created in the template manager. Depending on your intended output this may need to be changed. Since you're now familiar with the movie template manager I won't go into detail on how to edit this since it's the same process. Choose Edit, etc.

Image


Enjoy!

User avatar
sjj1805
Posts: 1157
Joined: Fri Oct 27, 2006 12:45 am
operating_system: Windows 10 Pro
motherboard: Hewlett Packard 2AF7
system_drive: C
32bit or 64bit: 64 Bit
processor: 2-90 gigahertz Intel Core i5 4460S
ram: 8 GB
video card: NVIDIA GeForce GT 705
sound card: P40D100-4 NVIDIA High Definition Audio
Hard_Drive_Capacity: 8 TB
Location: Birmingham UK
Contact:

Post by sjj1805 » Thu Jul 24, 2008 6:20 pm

rguthrie

Post Reply