Log in

View Full Version : Reencoding and Compressing Video to watch on you Pocket PC


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>

08-31-2003, 07:10 PM
I've been ripping my dvd's for quite awile, and I want to make some of them for my ipaq now. the problem is time. I use smartripper, then dvd2avi, then tmpge to get the file down. The reall problem is the amount of time it takes, we are talking hours and hours of computer use. I have a fairly fast desktop (2.4 ghz p4 with 1 gig of ram), but nothing seems to help. do you know of any software that will do a one step dvd to ppc format?

Reza
09-01-2003, 05:05 AM
do you know of any software that will do a one step dvd to ppc format?Try Dr Divx (http://www.divx.com/divx/drdivx/): I find it really straightforward to encode high quality DivX for PPC with this software... Use DVD Decrypter to rip/decrypt your DVD first.

Xeogears13
09-01-2003, 04:33 PM
Follow this guide: http://www.aximsite.com/boards/showthread.php?s=&threadid=3970 again by fibrizo
Put the DVD in follow the steps (takes like 5 mins) then sit back and let the program do the work. (the actuall ripping take about 3 hours or so). It got my Harry Potter DVD it high quality to 1.5 Gigs. Then use this guide and use that avi and it got it to 175MB.

Spenser
09-03-2003, 08:13 PM
do you know of any software that will do a one step dvd to ppc format?
Try a German product: "DaVideo for PocketPC". It is a one-button-solution. It encodes for WMV 8 OR 9. Before you start, you have to choose
- the codec (WMV 8 or 9, 1-pass or 2-pass)
- the resolution (from 88x66 to 320x240)
- the resulting file size (12MB to 512MB)
The pgm then readjusts all parameters so that the resulting file size meets your criteria. Then you just press the start button and off you go. (They claim to encode a DVD in between 1 hour on a 2GHZ desktop PC, but I never was able to reproduce that.) Anyhow it is simple and the resulting file is more than watchable.
There is a trial version you can download at "http://www.gdata.de/trade/productview/340/13/ )".
Click on "Jetzt downloaden" and choose your language. (Several languages available) Now you have 30 days for testing it. If you like it, you can register for 39,95 EUR (€).

Tom W.M.
09-12-2003, 05:50 AM
Divx requires that your width and heights for your film be mutiples of 16...
That's incorrect for DivX 5, which reqires that your width must be a multiple of 4 and your height must be a multiple of 2, according to VirtualDub. BTW, the DivX 5.03 codec cannot now be found on the DivX website. It's now at 5.05, and they don't make older versions downloadable. I know that you can find it somewhere, but it's not worth the trouble, as 5.05 works fine.