BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-19-2006, 12:28 PM   #1
Zro
CrackBerry Addict
 
Zro's Avatar
 
Join Date: Mar 2005
Model: 8800
Carrier: Rogers
Posts: 597
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
Inphektion
CrackBerry Addict
 
Join Date: Oct 2004
Model: 9800
OS: 6.0.0.337
Carrier: (¯`·.¸at&t¸.·´¯)
Posts: 825
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
MorningZ
Thumbs Must Hurt
 
MorningZ's Avatar
 
Join Date: Mar 2005
Location: Ft Lauderdale, FL
Model: 8100
Carrier: T-Mobile
Posts: 66
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
xyrcncp
CrackBerry Addict
 
Join Date: Sep 2005
Location: Northern Virginia
Model: 8830
OS: 4.5.0.138
Carrier: Verizon
Posts: 680
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
MorningZ
Thumbs Must Hurt
 
MorningZ's Avatar
 
Join Date: Mar 2005
Location: Ft Lauderdale, FL
Model: 8100
Carrier: T-Mobile
Posts: 66
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
Zro
CrackBerry Addict
 
Zro's Avatar
 
Join Date: Mar 2005
Model: 8800
Carrier: Rogers
Posts: 597
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
kathrynhr
BlackBerry Extraordinaire
 
kathrynhr's Avatar
 
Join Date: Sep 2006
Location: Ohio
Model: Dr01d
Carrier: Veri$on
Posts: 2,066
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
Lexlevic
Knows Where the Search Button Is
 
Join Date: Jul 2005
Model: 7100t
Carrier: T mobile
Posts: 26
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
Lexlevic
Knows Where the Search Button Is
 
Join Date: Jul 2005
Model: 7100t
Carrier: T mobile
Posts: 26
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
xyrcncp
CrackBerry Addict
 
Join Date: Sep 2005
Location: Northern Virginia
Model: 8830
OS: 4.5.0.138
Carrier: Verizon
Posts: 680
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
ImagineParadise
Thumbs Must Hurt
 
ImagineParadise's Avatar
 
Join Date: Sep 2006
Location: College Station, Texas
Model: 8100
Posts: 127
Default

here ya go buddy
http://www.people.virginia.edu/~drf8....0pre8.tar.bz2
Offline  
Old 09-19-2006, 11:12 PM   #12
xyrcncp
CrackBerry Addict
 
Join Date: Sep 2005
Location: Northern Virginia
Model: 8830
OS: 4.5.0.138
Carrier: Verizon
Posts: 680
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
kathrynhr
BlackBerry Extraordinaire
 
kathrynhr's Avatar
 
Join Date: Sep 2006
Location: Ohio
Model: Dr01d
Carrier: Veri$on
Posts: 2,066
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
markvibari
Knows Where the Search Button Is
 
Join Date: Sep 2006
Model: 8320
Carrier: T-Mobile
Posts: 28
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
MorningZ
Thumbs Must Hurt
 
MorningZ's Avatar
 
Join Date: Mar 2005
Location: Ft Lauderdale, FL
Model: 8100
Carrier: T-Mobile
Posts: 66
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
xyrcncp
CrackBerry Addict
 
Join Date: Sep 2005
Location: Northern Virginia
Model: 8830
OS: 4.5.0.138
Carrier: Verizon
Posts: 680
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
j.paycheck
Knows Where the Search Button Is
 
Join Date: Sep 2006
Model: 8100
Posts: 15
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
MorningZ
Thumbs Must Hurt
 
MorningZ's Avatar
 
Join Date: Mar 2005
Location: Ft Lauderdale, FL
Model: 8100
Carrier: T-Mobile
Posts: 66
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
j.paycheck
Knows Where the Search Button Is
 
Join Date: Sep 2006
Model: 8100
Posts: 15
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
danimal4326
Knows Where the Search Button Is
 
Join Date: Aug 2006
Model: 8100
Carrier: T-Mobile
Posts: 38
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


MITSUBISHI Amplifier MR-J2S-200B MRJ2S200B AC Servo Drive New in box picture

MITSUBISHI Amplifier MR-J2S-200B MRJ2S200B AC Servo Drive New in box

$489.00



Used Fanuc Servo Amplifier A06B-6114-H102 picture

Used Fanuc Servo Amplifier A06B-6114-H102

$915.08



Voice Amp Amplifier Model 200260 Scott EPIC Safety Compatible w AV3000 AV2000 picture

Voice Amp Amplifier Model 200260 Scott EPIC Safety Compatible w AV3000 AV2000

$60.00



BJ300 Plus BJ300Plus 3-30MHz Radio Power Amplifier +Fan FM 100W AM 200W SSB 300W picture

BJ300 Plus BJ300Plus 3-30MHz Radio Power Amplifier +Fan FM 100W AM 200W SSB 300W

$104.49



FiiO BTR15 Bluetooth DAC/Amp Titanium High-Res Audio MQA, Dual Output - Titanium picture

FiiO BTR15 Bluetooth DAC/Amp Titanium High-Res Audio MQA, Dual Output - Titanium

$85.98



ACCRETECH Amplifier E-PV11-0001 Used #136039 picture

ACCRETECH Amplifier E-PV11-0001 Used #136039

$180.00







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