Home
|
UNIX
|
Practical
MPEG4 encoding
w/ Virtualdub-MPEG2, lame-acm and xvid
Introduction
The old school was to use mpeg2avi to convert MPEG2, extract the sound with graphedit, and multiplex the two with virtualdub. Plus de subtitles with vobsub (which integrates into WMP). dvd2avi was nice too. That's all history. Let's use Virtualdub-MPEG2.
Note that besides Xvid, there's a new codec available, Theora by xiph.org : theora.org/
Installation (win32)
Install Xvid
Install Lame-ACM (right lick on LameACM.inf > Install)
Install (extract) Virtualdub-MPEG2
Usage
Open the .VOB file into Virtualdub,
Video > Filters > deinterlace
Video > Filters > Reduction 2:1 (high quality)
Video > Compression > Left menu : Xvid
Video > Compression > Configure : Advanced Simple L3
Video > Compression > Configure : (some tab) > Aspect ratio 16:9
Note adapt this to your needs. Cut a small part of the video and find out what ratio it has. 4:3, 16:9 or 16:10 probably.
Video > Compression > Configure click on the button on the left to see bitrate
Note 700 is ok for ASL3 and 2:1 reduction. To get better quality use ASL5, no reduction and around 1200 kbits/s.
Audio > Full Processing mode
Audio > Compression > Lame MP3 > 128kbits/s stereo
Save the project,
File > Save as AVI...
Batch & Automation
Virtualdub has job control.
First, save your processing settings,
[Configure your processing settings]
File > Save processing settings
Second, prepare the jobs,
File > Load processing settings
File > Job Control (F4)
Also note you can save the job settings.