Xeogears13
08-26-2003, 09:48 PM
<font face="Arial Black, Tahoma, Verdana" color="#0066CC" size=3>Reencoding and Compressing Video to watch on you Pocket PC</font><font face="Arial, Helvetica, sans-serif" color="#0066CC">
</font>
<font face="Verdana, tahoma, arial" size="1">Well, if your like me you have a lot of videos sitting on your hard drive and they just sit untill you come over and watch them. Well now you can watch them on your PPC but with a much lower file size.
You can get half a gig movie down to 100 mbs and there still decent quality!!!
***((This was originally posted on the forums on www.aximsite.com by <font color="#FF0000">fibrizo</font>.
!!!I have changed it around and updated some parts of this article, because some links were out of date, and a lot of people ran into a certain error wich this guide fixes. So if fibrizo is reading this, I'm giving you credit :D . So if your interested read it over and post any problems or suggestions you have!!!))***
<font color="#0066CC">!!!Disclaimer: I cannot be held responsible for any problems your Pocket PC or Desktop may obtain. This was tested on
a Dell Axim X5 Basic model by myself and on a Dell Dimension 4550 Desktop PC!!!</font> </font> <font face="Verdana, tahoma, arial" size="1">
[Step One]
<font color="#0066CC">First Things First</font>
1. Download these peices of software.
Virtualdub is availble at
http://www.virtualdub.org/index
divx 5.0.3 is availible at (all you need is divx basic)
http://www.divx.com
PocketMVP is availible at
http://home.adelphia.net/~mdukette/kits/PocketPC.zip</font>
<font face="Verdana, tahoma, arial" size="1">2. In Windows XP:Open up the control panel > Sounds, Speech, and Audio Devices > Sounds and Audio Devices > Hardware > Audio Codecs > then click on Properties. Then click on the Properties Tab. Now find the item named ctmp3.acm, then click Do not use this audioc codec. Then OK, OK, and OK again to get back to your desktop.]</font>
<font face="Verdana, tahoma, arial" size="1">3. Go to this site and click download. >
http://www.softnews.ro/public/cat/1...11-1-2-10.shtml</font>
<font face="Verdana, tahoma, arial" size="1">Now were done with that were gunna start reencoding video. YAY!!!</font>
<font face="Verdana, tahoma, arial" size="1">[Step Two]
<font color="#0066CC">Reencode</font>
Open up Virtual Dub and Go to File> Open and open up your video file.
a. Go to ''Audio'' and select 'Full Processing Mode'
b. Go to ''Audio'' and select 'Conversion' then select '22050hz' '16-bit'
and 'Mono' (this is only because most PPCs only have 1 speaker, but if you are using headphones you can choose 'Stereo'
c. Go to 'Audio' select 'Compression' choose 'MPEG Layer-3', then next to it select '32kBits/s, 22,050hz, Mono' Then hit 'OK'</font>
<font face="Verdana, tahoma, arial" size="1">a. Go to 'Video' select 'Frame Rate' If it his higher then 15.000fps select 'Process everyother frame (decimate by 2)' under frame decimation. LEAVE EVERYTHING ELSE ALONE!
b. Go to 'File' select 'File Information' Look where it says 'Frame Size' Remeber that number. 'Select OK'
c. Go to 'Video' select 'Filters' Now if your video size is 512x384 or 640x480 go to 1. then 2. If your video size is 320x160 or 320x240 go directly to 2. (If you have a non standard video size or if you are using a widescreen source, go to the end of the guide as I have added the calculations at the end.)
-1. Click 'Add'. Select 'resize' then click 'ok'. 'New Width' Should be set to 320. 'New Height' should be set to 240. For 'Filter Mode' Select
'Precise Bicubic (A=-1.00)' from pull down tab. then click 'ok' You should now see a filter on your list of filters. Now to step 2
-2. Click 'Add'. Select 'rotate' then click 'ok'. Select 'Left by 90' then click 'ok'. You should see the rotate filter on your list of filters. click 'ok'
d. Go to 'Video' select 'Compression' Select 'Divx 5.0.3 codec' select 'Configure' select 'Profiles' TAB. Make shure '1 - Choose your profile' IS NOT CHECKED. A warning will pop-up select 'Ok' Click on the 'Bitrate Control' TAB for 'Variable Bitrate Mode' Select 'Original 2-Pass, 1st pass' For 'Encoding Bitrate' type in 128 Under 'Multipass Encoding Files' MAKE SHURE TO SELECT 'Write MS file' and 'Do not prompt with error and warnings' select Ok and Ok again.</font>
<font face="Verdana, tahoma, arial" size="1">Go to 'File' select 'Save as AVI' Type in a filename and check 'Don't run this job now; add it to job control so i canrun it in batch mode' slect 'SAVE'</font>
<font face="Verdana, tahoma, arial" size="1">Go to 'Video' select 'Compression' again. Select 'Divx 5.0.3 Codec' and select 'configure' for 'Variable Bitrate Mode' select 'Original 2-pass, 2nd pass' select Ok, and Ok again.</font>
<font face="Verdana, tahoma, arial" size="1">Almost done guys!!</font>
<font face="Verdana, tahoma, arial" size="1">OK, now Go to 'File' select 'Save as AVI' and type in the same file name as the other and select that
box again. Select 'Save'</font>
<font face="Verdana, tahoma, arial" size="1">Go to 'File' and select 'Job Control' hit 'Start' and wait. </font>
<font face="Verdana, tahoma, arial" size="1">When it is done go to the folder you saved it in and open in in Windows Media Player and see if it works. (it should be rotated)</font>
<font face="Verdana, tahoma, arial" size="1">[Step Three]
<font color="#0066CC">Other Measurements</font>
<font color="#FF0000">(((!!! TAKEN FROM ORIGINAL GUIDE !!!)))</font>
CALCULATIONS FOR SCREEN SIZE (WIDESCREEN and NONSTANDARD)
Say you have a widescreen source... lets say 480 x 208 or something like that...</font>
<font face="Verdana, tahoma, arial" size="1">Your final width should always be 320.</font>
<font face="Verdana, tahoma, arial" size="1">So take 320 and divide it by the width of your widescreen film.</font>
<font face="Verdana, tahoma, arial" size="1">which in this case is 480 so</font>
<font face="Verdana, tahoma, arial" size="1">320/480</font>
<font face="Verdana, tahoma, arial" size="1">This gives 0.6666667</font>
<font face="Verdana, tahoma, arial" size="1">now multiply by your movie's height, in this case it's 208</font>
<font face="Verdana, tahoma, arial" size="1">0.666666667 x 208</font>
<font face="Verdana, tahoma, arial" size="1">This gives us 138.666 or 139 rounded...</font>
<font face="Verdana, tahoma, arial" size="1">
so our resized film would be 320x139, however...</font>
<font face="Verdana, tahoma, arial" size="1">Divx requires that your width and heights for your film be mutiples of 16...</font>
<font face="Verdana, tahoma, arial" size="1">So divide 139 by 16</font>
<font face="Verdana, tahoma, arial" size="1">139/16 is 8.6875</font>
<font face="Verdana, tahoma, arial" size="1">Which rounds to 9</font>
<font face="Verdana, tahoma, arial" size="1">So 9 x 16 gives 144</font>
<font face="Verdana, tahoma, arial" size="1">So you should set the height to 144</font>
<font face="Verdana, tahoma, arial" size="1">so your final film size is 320 x 144... </font>
<font face="Verdana, tahoma, arial" size="1">If you are following the guide I wrote, just enter that into step 1 instead of 320x240. </font>
<font face="Verdana, tahoma, arial" size="1">(Note this does do some stretching of the picture, but it's basically unoticable... If you downloaded that test file I put up, it's encoded this way and slightly stretched, but not noticably at all...) If you really want to be anal about it, it's possible to correct it completely and just put black space into the file, but that takes alot more calculation.</font>
<font face="Verdana, tahoma, arial" size="1">
***OK people all done leave comments and suggestions and all those other things.
I'm going to read over the DVD Ripping and Encoding guide threw also by fibrizo on aximsite.com and update it.
</font>
</font>
<font face="Verdana, tahoma, arial" size="1">Well, if your like me you have a lot of videos sitting on your hard drive and they just sit untill you come over and watch them. Well now you can watch them on your PPC but with a much lower file size.
You can get half a gig movie down to 100 mbs and there still decent quality!!!
***((This was originally posted on the forums on www.aximsite.com by <font color="#FF0000">fibrizo</font>.
!!!I have changed it around and updated some parts of this article, because some links were out of date, and a lot of people ran into a certain error wich this guide fixes. So if fibrizo is reading this, I'm giving you credit :D . So if your interested read it over and post any problems or suggestions you have!!!))***
<font color="#0066CC">!!!Disclaimer: I cannot be held responsible for any problems your Pocket PC or Desktop may obtain. This was tested on
a Dell Axim X5 Basic model by myself and on a Dell Dimension 4550 Desktop PC!!!</font> </font> <font face="Verdana, tahoma, arial" size="1">
[Step One]
<font color="#0066CC">First Things First</font>
1. Download these peices of software.
Virtualdub is availble at
http://www.virtualdub.org/index
divx 5.0.3 is availible at (all you need is divx basic)
http://www.divx.com
PocketMVP is availible at
http://home.adelphia.net/~mdukette/kits/PocketPC.zip</font>
<font face="Verdana, tahoma, arial" size="1">2. In Windows XP:Open up the control panel > Sounds, Speech, and Audio Devices > Sounds and Audio Devices > Hardware > Audio Codecs > then click on Properties. Then click on the Properties Tab. Now find the item named ctmp3.acm, then click Do not use this audioc codec. Then OK, OK, and OK again to get back to your desktop.]</font>
<font face="Verdana, tahoma, arial" size="1">3. Go to this site and click download. >
http://www.softnews.ro/public/cat/1...11-1-2-10.shtml</font>
<font face="Verdana, tahoma, arial" size="1">Now were done with that were gunna start reencoding video. YAY!!!</font>
<font face="Verdana, tahoma, arial" size="1">[Step Two]
<font color="#0066CC">Reencode</font>
Open up Virtual Dub and Go to File> Open and open up your video file.
a. Go to ''Audio'' and select 'Full Processing Mode'
b. Go to ''Audio'' and select 'Conversion' then select '22050hz' '16-bit'
and 'Mono' (this is only because most PPCs only have 1 speaker, but if you are using headphones you can choose 'Stereo'
c. Go to 'Audio' select 'Compression' choose 'MPEG Layer-3', then next to it select '32kBits/s, 22,050hz, Mono' Then hit 'OK'</font>
<font face="Verdana, tahoma, arial" size="1">a. Go to 'Video' select 'Frame Rate' If it his higher then 15.000fps select 'Process everyother frame (decimate by 2)' under frame decimation. LEAVE EVERYTHING ELSE ALONE!
b. Go to 'File' select 'File Information' Look where it says 'Frame Size' Remeber that number. 'Select OK'
c. Go to 'Video' select 'Filters' Now if your video size is 512x384 or 640x480 go to 1. then 2. If your video size is 320x160 or 320x240 go directly to 2. (If you have a non standard video size or if you are using a widescreen source, go to the end of the guide as I have added the calculations at the end.)
-1. Click 'Add'. Select 'resize' then click 'ok'. 'New Width' Should be set to 320. 'New Height' should be set to 240. For 'Filter Mode' Select
'Precise Bicubic (A=-1.00)' from pull down tab. then click 'ok' You should now see a filter on your list of filters. Now to step 2
-2. Click 'Add'. Select 'rotate' then click 'ok'. Select 'Left by 90' then click 'ok'. You should see the rotate filter on your list of filters. click 'ok'
d. Go to 'Video' select 'Compression' Select 'Divx 5.0.3 codec' select 'Configure' select 'Profiles' TAB. Make shure '1 - Choose your profile' IS NOT CHECKED. A warning will pop-up select 'Ok' Click on the 'Bitrate Control' TAB for 'Variable Bitrate Mode' Select 'Original 2-Pass, 1st pass' For 'Encoding Bitrate' type in 128 Under 'Multipass Encoding Files' MAKE SHURE TO SELECT 'Write MS file' and 'Do not prompt with error and warnings' select Ok and Ok again.</font>
<font face="Verdana, tahoma, arial" size="1">Go to 'File' select 'Save as AVI' Type in a filename and check 'Don't run this job now; add it to job control so i canrun it in batch mode' slect 'SAVE'</font>
<font face="Verdana, tahoma, arial" size="1">Go to 'Video' select 'Compression' again. Select 'Divx 5.0.3 Codec' and select 'configure' for 'Variable Bitrate Mode' select 'Original 2-pass, 2nd pass' select Ok, and Ok again.</font>
<font face="Verdana, tahoma, arial" size="1">Almost done guys!!</font>
<font face="Verdana, tahoma, arial" size="1">OK, now Go to 'File' select 'Save as AVI' and type in the same file name as the other and select that
box again. Select 'Save'</font>
<font face="Verdana, tahoma, arial" size="1">Go to 'File' and select 'Job Control' hit 'Start' and wait. </font>
<font face="Verdana, tahoma, arial" size="1">When it is done go to the folder you saved it in and open in in Windows Media Player and see if it works. (it should be rotated)</font>
<font face="Verdana, tahoma, arial" size="1">[Step Three]
<font color="#0066CC">Other Measurements</font>
<font color="#FF0000">(((!!! TAKEN FROM ORIGINAL GUIDE !!!)))</font>
CALCULATIONS FOR SCREEN SIZE (WIDESCREEN and NONSTANDARD)
Say you have a widescreen source... lets say 480 x 208 or something like that...</font>
<font face="Verdana, tahoma, arial" size="1">Your final width should always be 320.</font>
<font face="Verdana, tahoma, arial" size="1">So take 320 and divide it by the width of your widescreen film.</font>
<font face="Verdana, tahoma, arial" size="1">which in this case is 480 so</font>
<font face="Verdana, tahoma, arial" size="1">320/480</font>
<font face="Verdana, tahoma, arial" size="1">This gives 0.6666667</font>
<font face="Verdana, tahoma, arial" size="1">now multiply by your movie's height, in this case it's 208</font>
<font face="Verdana, tahoma, arial" size="1">0.666666667 x 208</font>
<font face="Verdana, tahoma, arial" size="1">This gives us 138.666 or 139 rounded...</font>
<font face="Verdana, tahoma, arial" size="1">
so our resized film would be 320x139, however...</font>
<font face="Verdana, tahoma, arial" size="1">Divx requires that your width and heights for your film be mutiples of 16...</font>
<font face="Verdana, tahoma, arial" size="1">So divide 139 by 16</font>
<font face="Verdana, tahoma, arial" size="1">139/16 is 8.6875</font>
<font face="Verdana, tahoma, arial" size="1">Which rounds to 9</font>
<font face="Verdana, tahoma, arial" size="1">So 9 x 16 gives 144</font>
<font face="Verdana, tahoma, arial" size="1">So you should set the height to 144</font>
<font face="Verdana, tahoma, arial" size="1">so your final film size is 320 x 144... </font>
<font face="Verdana, tahoma, arial" size="1">If you are following the guide I wrote, just enter that into step 1 instead of 320x240. </font>
<font face="Verdana, tahoma, arial" size="1">(Note this does do some stretching of the picture, but it's basically unoticable... If you downloaded that test file I put up, it's encoded this way and slightly stretched, but not noticably at all...) If you really want to be anal about it, it's possible to correct it completely and just put black space into the file, but that takes alot more calculation.</font>
<font face="Verdana, tahoma, arial" size="1">
***OK people all done leave comments and suggestions and all those other things.
I'm going to read over the DVD Ripping and Encoding guide threw also by fibrizo on aximsite.com and update it.
</font>