BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-19-2006, 12:28 PM   #1 (permalink)
Zro
CrackBerry Addict
 
Zro's Avatar
 
Join Date: Mar 2005
Model: 8800
Carrier: Rogers
Posts: 597
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question HOW-TO: Video encoding for the 8100

Please Login to Remove!

I thought I would start a new thread that maybe I can con a mod into making sticky...

There are a couple methods that have proven sucessful, here is the one that I use.

Will output to an mpeg4 .avi file:

Download the MPlayer encoder from here:
www.mplayerhq.hu
You don't need the codec pack for encoding to the proper format for the 8100

Then in the mencoder window encode with:
Quote:
mencoder -vf scale=240:180 <input file> -o <output file> -of avi -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vbitrate=230:acodec=mp3:abitrate=64
If you’re running Widows XP and if the mencoder program closes upon opening then proceed with the following steps:

1. Right click on mencoder
2. Click Create Shortcut
3. Right click on the Shortcut and click Properties
4. Change the Target to: C:\WINDOWS\system32\cmd.exe
5. Click Apply
6. Click OK
7. Now click on the Shortcut to mencoder.

Note that with the above code, the <output file> has to be an avi, but the <input file> can be just about anything you can play on your computer.

Also Note that if your input file is widescreen, this will compress it down to Pan-and-Scan ratios. You can play with the "scale=240:180" option for widescreen input and output.

Works like a dream.

Method 2: From another post in this forum. I take no credit/flack for this method.

Will output to an H.263 .avi file
Go to www.erightsoft.com then freeware tab>super>download, then install and open the program.
Note: you can also go direct to www.erightsoft.com/SUPER.html#Dnload.


Next, edit some of the settings.

Like so:

1.Select the Output Container= avi
2.Select the output Video codec=H.263
3.Aspect=11:9,4:3 or 1:1
4.Frame/sec= 14.985
5.Bitrate kbps= 576

Now right click on the program and select specify the output folder destination and put wherever you want the files to be saved

Now drag and drop your file into super and hit Encode(active job list files)

Next go to your output folder select the file you want on your BB and copy it. Now connect your BB and enter mass storage mode and paste the file into your BlackBerry video folder.

Enjoy all.

Zro

Last edited by MrKyoo : 10-20-2006 at 10:13 PM.
Offline  
Old 09-19-2006, 01:15 PM   #2 (permalink)
CrackBerry Addict
 
Join Date: Oct 2004
Model: 9800
OS: 6.0.0.337
Carrier: (¯`·.¸at&t¸.·´¯)
Posts: 825
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

yep it works.
I took LOTR two towers from an avi on my computer that was 1.4GB to a 383MB .avi using the exact command line above and the pearl played it perfectly.
Offline  
Old 09-19-2006, 01:25 PM   #3 (permalink)
Thumbs Must Hurt
 
MorningZ's Avatar
 
Join Date: Mar 2005
Location: Ft Lauderdale, FL
Model: 8100
Carrier: T-Mobile
Posts: 66
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nice, i too got it working great with mplayer

brought a 333 meg divx movie down to 92 megs and, for sure most importantly, the audio was synced up perfectly

Offline  
Old 09-19-2006, 02:36 PM   #4 (permalink)
CrackBerry Addict
 
Join Date: Sep 2005
Location: Northern Virginia
Model: 8830
OS: 4.5.0.138
Carrier: Verizon
Posts: 680
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't have my 8100 yet, but this is definitely a thread to sticky.

I assume that this is the one we have to download?: MPlayer 1.0pre8 Windows build
Offline  
Old 09-19-2006, 03:34 PM   #5 (permalink)
Thumbs Must Hurt
 
MorningZ's Avatar
 
Join Date: Mar 2005
Location: Ft Lauderdale, FL
Model: 8100
Carrier: T-Mobile
Posts: 66
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Any suggestions on programs to piece together avi files?

for instance, most DVD's are 4 (or more) VOB files, so using mplayer it's easy to convert each VOB into a file... how about splicing all them together into one video?

Actually, it's probably a non-issue if the media player plays files in a directory sequentially automatically... then AdventChildren2.avi would play right after AdventChildren1.avi .... damn, i'd try this myself to see if that happens, but i lent my phone to my boss for the day
Offline  
Old 09-19-2006, 03:45 PM   #6 (permalink)
Zro
CrackBerry Addict
 
Zro's Avatar
 
Join Date: Mar 2005
Model: 8800
Carrier: Rogers
Posts: 597
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've not played with it, but mplayer encoder does have the ability to rip direct from dvd into a single file.

Zro
Offline  
Old 09-19-2006, 08:28 PM   #7 (permalink)
BlackBerry Extraordinaire
 
kathrynhr's Avatar
 
Join Date: Sep 2006
Location: Ohio
Model: EVO!
Carrier: Sprint
Posts: 2,015
Post Thanks: 30
Thanked 28 Times in 18 Posts
Default

Just ran a test on MPlayer and Super.

The first 10 minutes of the same movie, ripped/encoded 3 times:

1. Super with recommeded 3GP settings. Output file size: 16,679 kb. Quality score: 75%. A little grainy. Acceptable but not great.

2. Super with recommeded AVI settings. Output file size: 19,787 kb. Quality score: 80%. Slightly less grainy than 3GP. Acceptable.

3. Mplayer encoder with Zro's recommended settings. Output file size: 22,880 kb. Quality score: 95%. Larger screen size. Only a bit more color depth would make this encoder perfect. Best in class.

In all 3 cases, sound and video were a perfect match.

Remember, these file sizes are for 10 minutes of a movie.

Doing the math... for storing more than one full-length movie on a 1GB card, assuming you want to leave space for plenty of songs, you'd need to decide whether to encode 2-3 excellent movies with MPlayer, or 3-4 acceptable movies with Super.

Storage v/s material quality... hmm...

Here's hoping they release the fix for the 2GB card soon!

Last edited by kathrynhr : 09-19-2006 at 08:34 PM.
Offline  
Old 09-19-2006, 09:15 PM   #8 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2005
Model: 7100t
Carrier: T mobile
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

with the program super:
what do you use for audio??
what about video scale ?
and what about the question about wmp
Offline  
Old 09-19-2006, 10:04 PM   #9 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2005
Model: 7100t
Carrier: T mobile
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i used both super and mplayer for the same music video and the file output size for mplayer was 8.1 mb and super was 19.6 mb. The volume for mplayer was louder and the picture quality seemed the same, but size was perfect for the 8100 screen.

Im confused. in kathrynhr's test it says that the mplayer had a larger output size (which isnt the case for me). I also didnt notice a significant quality difference. I followed the same instructions,. Am i doing something different?? why is her output size different?
Offline  
Old 09-19-2006, 10:31 PM   #10 (permalink)
CrackBerry Addict
 
Join Date: Sep 2005
Location: Northern Virginia
Model: 8830
OS: 4.5.0.138
Carrier: Verizon
Posts: 680
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I must be really tired today but I can't find where to download Mplayer...I went to the Download link of MPlayer - The Movie Player but when I click on MPlayer 1.0pre8 Windows build US, I get a "Not Found" page. Where can I get this?
Offline  
Old 09-19-2006, 11:03 PM   #11 (permalink)
Thumbs Must Hurt
 
ImagineParadise's Avatar
 
Join Date: Sep 2006
Location: College Station, Texas
Model: 8100
Posts: 127
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

here ya go buddy
http://www.people.virginia.edu/~drf8....0pre8.tar.bz2
Offline  
Old 09-19-2006, 11:12 PM   #12 (permalink)
CrackBerry Addict
 
Join Date: Sep 2005
Location: Northern Virginia
Model: 8830
OS: 4.5.0.138
Carrier: Verizon
Posts: 680
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ImagineParadise
Thanks man, but sorry, but I've never dealt with a .tar.bz2 file...what is that?
Offline  
Old 09-20-2006, 05:53 AM   #13 (permalink)
BlackBerry Extraordinaire
 
kathrynhr's Avatar
 
Join Date: Sep 2006
Location: Ohio
Model: EVO!
Carrier: Sprint
Posts: 2,015
Post Thanks: 30
Thanked 28 Times in 18 Posts
Default

Quote:
Originally Posted by Lexlevic
i used both super and mplayer for the same music video and the file output size for mplayer was 8.1 mb and super was 19.6 mb. The volume for mplayer was louder and the picture quality seemed the same, but size was perfect for the 8100 screen.

Im confused. in kathrynhr's test it says that the mplayer had a larger output size (which isnt the case for me). I also didnt notice a significant quality difference. I followed the same instructions,. Am i doing something different?? why is her output size different?
We must have used different settings in Super. Here were mine:

Super 3GP: 3gp nokia, h.263, aac, 176x144, 11:9 aspect ratio, 12.5 fps
Super AVI: avi, h.263, mp3, 176x144, 4:3 aspect ratio, 12.5 fps

I could definitely tell a quality difference in the video. And remember, MPlayer returned 240x180, which is a notable difference from 176x144.
Offline  
Old 09-20-2006, 07:38 AM   #14 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2006
Model: 8320
Carrier: T-Mobile
Posts: 28
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by xyrcncp
Thanks man, but sorry, but I've never dealt with a .tar.bz2 file...what is that?

It's a file compressed with the bzip2 utility. You can download the (free) WinBZip2 file compression utility at:

www DOT softpedia DOT com/get/Compression-tools/WinBZip2 DOT shtml

(sorry about the DOTS - I haven't reached 10 posts yet...)
Offline  
Old 09-20-2006, 09:52 AM   #15 (permalink)
Thumbs Must Hurt
 
MorningZ's Avatar
 
Join Date: Mar 2005
Location: Ft Lauderdale, FL
Model: 8100
Carrier: T-Mobile
Posts: 66
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by xyrcncp
Thanks man, but sorry, but I've never dealt with a .tar.bz2 file...what is that?
Yuck.. why go through all that... instead of clicking the [US] link, click the [KR] or [SE] link right next to it.. the zip file is the same exact thing
Offline  
Old 09-20-2006, 10:09 AM   #16 (permalink)
CrackBerry Addict
 
Join Date: Sep 2005
Location: Northern Virginia
Model: 8830
OS: 4.5.0.138
Carrier: Verizon
Posts: 680
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by MorningZ
Yuck.. why go through all that... instead of clicking the [US] link, click the [KR] or [SE] link right next to it.. the zip file is the same exact thing
DO'H! I'm such a retard...haha...didn't even think of doing that...haha. Thanks man.
Offline  
Old 09-20-2006, 01:09 PM   #17 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2006
Model: 8100
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

This worked great...

I have one question... after running the command and it converts the frame.. I have to go into the directory locae te file -> go into the properties for the file and add ".avi" to it. Is this correct? Or should the output already have the dot avi extension?

Thanks
Offline  
Old 09-20-2006, 02:08 PM   #18 (permalink)
Thumbs Must Hurt
 
MorningZ's Avatar
 
Join Date: Mar 2005
Location: Ft Lauderdale, FL
Model: 8100
Carrier: T-Mobile
Posts: 66
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

whatever is inside <output file> will be the exact name of the output file.... including or not including the extension
Offline  
Old 09-20-2006, 03:02 PM   #19 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2006
Model: 8100
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

^ Yea just figure that out not too long ago... silly me didnt realize I needed to add "dot AVI" to the end of the output file name.

I wanted to come back to edit my post but the forum page wouldnt load.

Oh well. Good stuff. Good quality and great file size (using the first method)
Offline  
Old 09-20-2006, 05:22 PM   #20 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2006
Model: 8100
Carrier: T-Mobile
Posts: 38
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm using the command line version above, but i've created a Batch script that sits on my desktop. To convert, all i need to do is drave a video file to is and it converts automagically:

Create a new text file on the desktop, and paste the below code to it. Save this as Convert Video.bat or similar.

You will need to adjust the paths below. The first one is the path to mencoder.exe and the second is the folder to put the converted video.

The script will take a file "my_video.mpeg" and re-encode it for the 8100 moving it to a folder and naming it "my_video.avi

My scripts puts it into a folder on the desktop called Video.. The tricky part was using the "%~n1" variable. This will give you just the filename of the file dropped onto the batsh file, without path and extension.

Code:
@echo off

echo %1

C:\Progra~1\eRight~1\SUPER\mencoder\mencoder.exe -vf scale=320:240 %1 -o "D:\Profiles\w13760.FSL\Desktop\Video\%~n1.avi" -of avi -ofps 24 -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:vbitrate=250:acodec=mp3:abitrate=64

PAUSE
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.blackberryforums.com/media-center/47422-how-video-encoding-8100-a.html
Posted By For Type Date
NewCelica.org Forum - Putting DVD's and AVI files on your iPod? This thread Refback 12-26-2006 07:41 PM
RTV --> Blackberry Pearl? - AVS Forum This thread Refback 12-11-2006 11:09 PM
HowardForums: Your Mobile Phone Community & Resource - Numerous Questions About The Pearl. This thread Refback 12-11-2006 03:31 PM
Portable TiVo - TiVo Community & Store This thread Refback 12-09-2006 10:28 PM
Portable TiVo - TiVo Community & Store This thread Refback 11-24-2006 09:11 PM
Portable TiVo - TiVo Community & Store This thread Refback 11-20-2006 08:02 AM
HowardForums: Your Mobile Phone Community & Resource - Critical Pearl video issue.... This thread Refback 10-21-2006 12:10 PM
HowardForums: Your Mobile Phone Community & Resource - Critical Pearl video issue.... This thread Refback 10-16-2006 04:17 PM
vB Easy Archive - Creating my own Pearl Videos This thread Refback 10-16-2006 03:04 PM
HowardForums: Your Mobile Phone Community & Resource - Critical Pearl video issue.... This thread Refback 10-15-2006 12:29 PM
RTV --> Blackberry Pearl? - AVS Forum This thread Refback 10-13-2006 03:39 AM
RTV --> Blackberry Pearl? - AVS Forum This thread Refback 10-12-2006 04:48 PM
HowardForums: Your Mobile Phone Community & Resource - Creating my own Pearl Videos This thread Refback 10-12-2006 02:02 PM
HowardForums: Your Mobile Phone Community & Resource - Creating my own Pearl Videos This thread Refback 10-12-2006 01:56 PM
RTV --> Blackberry Pearl? - AVS Forum This thread Refback 10-11-2006 02:02 PM
vB Easy Archive - Critical Pearl video issue.... This thread Refback 10-10-2006 01:50 PM
RTV --> Blackberry Pearl? - AVS Forum This thread Refback 10-09-2006 11:52 PM
HowardForums: Your Mobile Phone Community & Resource - Pearl video's not working.... This thread Refback 10-07-2006 09:33 PM
HowardForums: Your Mobile Phone Community & Resource - Pearl video's not working.... This thread Refback 10-07-2006 02:51 AM
HowardForums: Your Mobile Phone Community & Resource - The This thread Refback 10-04-2006 10:22 PM
HowardForums: Your Mobile Phone Community & Resource - The This thread Refback 10-04-2006 05:25 PM
HowardForums: Your Mobile Phone Community & Resource - Critical Pearl video issue.... This thread Refback 10-03-2006 04:33 PM
HowardForums: Your Mobile Phone Community & Resource - The This thread Refback 10-03-2006 03:39 PM
HowardForums: Your Mobile Phone Community & Resource - The This thread Refback 10-03-2006 09:57 AM
HowardForums: Your Mobile Phone Community & Resource - The This thread Refback 10-03-2006 09:40 AM
random($foo) This thread Refback 10-02-2006 09:45 AM
random($foo): Blackberry 8100: First Impressions, mencoder This thread Refback 09-30-2006 03:29 PM
HowardForums: Your Mobile Phone Community & Resource - Critical Pearl video issue.... This thread Refback 09-30-2006 03:32 AM





Copyright © 2004-2014 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.