Here's a command-line script that will rotate and resize all videos in a folder.
Create a new batch file (e.g. C:/rotate.bat) containing the two lines below:
Code:
mkdir blackberry
for /f "delims=" %%i in ('dir /b /a-d-h-s') do "C:\Program Files\SMPlayer\mencoder.exe" "%%i" -ovc lavc -oac mp3lame -lavcopts vcodec=mpeg4:mbd=2:trell:vbitrate=128:abitrate=128 -vf scale=320:-3,rotate=1 -o "blackberry\%%i"
Run the batch from within the directory containing the files you want to convert. This will create a new folder called 'blackberry', which will contain the new videos.
Here's an example:
C:\original_videos>C:\resize.bat
These videos look great on my Pearl 8220 (340x240 screen). If your phone has a different resolution, you should modify '320' to the resolution of your phone. If you don't want/require the rotation, just remove ',rotate=1'
Note: This script requires MPlayer, which can be downloaded at mplayerhq[dot]hu. Installing it can be tricky. If any of you get it working, I'm sure the newbies would appreciate a follow-up post on how to do this.