feed Subscribe To Feed
pic
22. 06
2007

Encode Video on the Mac for the Blackberry Curve

Written by: Alec Peden - Posted in: apple, mobile, software

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

I’ve whipped up a Workflow for encoding videos for the Blackberry Curve. You will need to head over to my post on encoding video for the Blackberry Pearl for instructions but here is an updated Workflow that should format videos to the correct screen size. I do not have a Curve to test this so if anyone has one and would like to give me feedback, I’d appreciate it.

[Download Workflow for Blackberry Curve]

Tags: , , ,
22. 11
2006

Encode Video for the Blackberry Pearl 8100: Mac edition

Written by: Alec Peden - Posted in: mobile, software

Since I got my 1GB MicroSD card for my Pearl, I’ve been toying around with trying to get Videos to work. Either the videos don’t look good, dont play at all or lag the controls. The best method I’ve found so far was using mencoder but due to its command line usage and not being able to find a UB for it made it difficult to encode videos. This is where this guide come in.

Getting Started

1) First off this is the command line we will be using:
“mencoder -vf scale=240:-10 <input.file> -o <output.file> -of avi -ofps 15 -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vbitrate=230:acodec=mp3:abitrate=64″

2) Download the Universal Build of mencoder

Encoding

At this point you can just drop the mencoder into the same directory as the file you want to convert, start a terminal window and copy the command line to encode it. Be sure to change the input and output file. In a few mins you should have your video ready to be loaded on your Pearl. But as Mac users we will want a more elegant way of doing this. Enter Applescript and more importantly Automator.

1) Download my Automator Workflow (Updated 3/2/07)
2) Unzip the file into
“/Users/YOURUSERNAME/Library/Workflows/Applications/Finder/”

3) Unzip mencoder.zip on your Desktop, start up Terminal and type “cd Desktop” then “sudo mv mencoder /usr/bin”. Enter your password when prompted too.

3) Now when you Right Click(Ctrl+Click) on a Video file, you will see the Automator Menu and under that you should see “Encode for Blackberry”

4) To encode, just chose “Encode for Blackberry” on a Video file

Thats it

The only visual indicator you have is a “Run Shell Script” in the Menu bar.

A Blackperry Pearl compatible file will be created in the same folder as FILENAME-bb.avi. You can edit the Workflow to output to the filename of your choice. You could even go as far as modifying the Automator Workflow to copy the file to your Pearl if you would like.

A 54meg Music Video that runs 3:32mins takes about 30secs to encode on a Macbook 2.0G and the ending file size is about 8megs. Not too bad at all. Most TV shows will be about 50megs for a 30min show and movies are between 150megs to 250megs in my tests. I’ve also noticed that the mencoder build will not take advantage of Duo Core’s.

UPDATE - 12/20/06
Here is a
widescreen version that needs to go through some testing. Please feel free to try it and leave a comment on how it works for you. YMMV

UPDATE - 02/11/07
Dave Taylor has whipped up a shell script that does the same thing if you would like to do the command line route.

UPDATE - 3/2/07
Thanks to Chris for the tip, the Workflow now keeps accept ratio when encoding.


Tags: , , , ,

About Me

My name is Alec Peden and I’m 29 years old. I’m currently living in Connecticut and work as a Mac Genius for . I'm a gamer, comic reader, movie buff and all around tech geek.

Search this blog