Free Applications Blackberry

Free Download Applications, Themes and Games for Blackberry

  • Blog Stats

    • 654,180 hits
  • Advertisements

Tips & Tricks Blackberry 19 :How to encode video

Posted by freeappsblackberry on December 21, 2009




How to encode video

Getting the right params to mencoder to produce top quality video is always a chore, but using method 1 in the original post is working wonderfullyfor me — I’ve converted all sorts of stuffs (WMV/AVI/MPG/FLV/MOV) and so far only the FLV conversions have audio sync problems (nothing new). I’m even gonna say that the videos look better on my Pearl than any S60 device I’ve used.

Here’s a helper script, save it as “” somewhere in your $PATH on Linux/OSX. Make it executable then run with a simple “ <FILE>” command, the output will be in the input directory.

#!/bin/bash FILE=$1 ## 8100, 240X260 res ## uncomment one of the below depending on your input format #RES=240:135 #resolution, 16:9 ratio RES=240:180 # resolution, 4:3 ratio ## 8800, 320X240 res ## uncomment one of the below depending on your input format #RES=320:180 # resolution, 16:9 ratio #RES=240:180 # resolution, 4:3 ratio ## generic ABR=64 # audio bitrate VBR=230 # video bitrate mencoder “$FILE”\-o “${FILE%.*}_bb.avi” \ -of avi \ -ovc lavc \ -oac lavc \ -lavcopts vcodec=mpeg4:bitrate=$ABR \ -vf scale=$RES

Note that the above takes the input filename, chops pff the extension and adds a “_bb.avi” to the end of the output file to help you know which files are your BlackBerry ready ones. A quick sort, drag & drop and they’re on your device


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s