Encoding Divx/mpg Movies for Playback on Pocket PC Device

Contributor Icon Contributed by seamonkey420 Date Icon August 1, 2004  
Tag Icon Tagged: Pocket PC

This is a recipe for all of those pocket pc owners out there. This recipe explains how to use virtualdub to encode divx or avi files for playback on a pocket pc device.


Requirements: Pocket PC Device, Pocket MVP (music video player, formerly pocket divx), VirtualDub 1.4.9 or higher, Divx 5.0 Codec installed (http://www.divx.com, and a MP3 Codec installed (ie lame, nimocodec set)

This recipe assumes the following:
1 You have an mpg or avi file of the movie/video you want to encode
2 You have Divx 5.0 or higher codec installed
3 You have virtualdub installed
4 You have an MP3 codec installed

Step 1. Open VirtualDub and then open your movie file (avi, mpg or divx avi). First, go to Video under the menu and click Full Processing Mode.

Step 2. Once you have your video file opened. We need to re-encode the video and audio with a lower bitrate and to make it playback smoothly on a PDA.

First go to the Video Filters. We will want to resize and rotate our video so it plays in landscape mode on your pda. Click the Add button, then choose the Resize filter. We want our image to be 320×240 or for slower PDAs 208×160 (depending on the aspect ratio, just look at the preview to see if it looks ok or not). Also, we want to add a rotate filter, rotate (left 90 degrees). Then Click OK

Step 3. Next, go to the menu, Video > Framerate and change the settings to this:
Source rate adjustment : No Change (current 29.970 fps)
Frame rate decimation : Process every other frame (decimate by 2)
Inverse telecine (3:2 pulldown removal) : None (progressive)

Step 4. Then go to Video > Color Depth and change the settings as such:
Decompression format : 16-bit (HiColor/32K)
Output format to compressor/display : 24-bit (Truecolor/16M)

Step 5. Next, go to the menu, Video > Compression. Select the DIVX 5.0.2 codec and click the Configure button.

-On the DivX Codec, change Variable bitrate mode to 1-pass and encoding bitrate to 300 kbps (you can tweak this to your device, but for now lets use this number)

Leave the rest of the settings as is except MAKE SURE that the Psychovisual Enhancements are NOT CHECKED. Then click OK.

Step 6. Next, we need to edit the Audio settings. Go to the menu, under Audio, and make sure that Full processing mode is checked.

Then go to Audio > Conversion, change Sampling Rate to: 22050Hz and leave the rest as is and click OK

Go to Audio > Compression. You will need to have a MP3 codec installed. Once you do, use settings similar to this:
40kBit/s, 22,050 Hz. Stereo 5kb/s

Remember that we changed the sampling rate to 22,050Hz so we need to use a bitrate that uses the same one. Then click OK.

Step 7. Now just go to File > Save as Avi and save your new movie/video. Let virtualdub finish, then copy the program over to your PDA and play it with Pocket MVP. Then just tweak the divx bitrates and audio bitrates so it runs smoothly on your pda.

Peace
seamonkey420

Previous recipe | Next recipe |
 

Viewing 5 Comments

 
close Reblog this comment
blog comments powered by Disqus