Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
lilpimpmomo
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Jan 2007
Default Drag And Drop Video Convertor! Very Useful And Easy!

After helping my brother put videos onto his BlackBerry Pearl, I came across a Batch file that takes ANY type of video and converts it to the proper format for the BlackBerry to play on the WMP that comes with it.

I didn't want to hunt for a way to convert the videos to the proper format for the dash so I tried the batch file for hte BlackBerry Pearl and it WORKED! All you need to do is drag the video to the batch file and drop it and it will work on its own!

The only thing is that you need TCPMP to play the videos and it looks PERFECT!

Download TCPMP here: DashSmartZone - TCPMP Download

Another thing you need to work with the Batch file is a program called SUPER. You don't even need to EVER open this program up for it to work with the batch file.

Another great tool is this video grabber. It allows you to download any video you find on most video sites onto your desktop!

Check it out here.

After you have downloaded the TCPMP and installed it into the Dash and downloaded SUPER onto your computer, Follow the following steps to create the Batch File:

1. Create a new text file on the desktop, and paste the below code to it.

2. You will need to adjust the paths below. The first one is the path to SUPER mencoder.exe(IF YOU INSTALLED SUPER INTO C:/Program Files/ THAN SKIP THIS STEP).

3. The second adjustment to the code below is the path to where you want the converted videos to go into.

4. Save this as Convert Video.bat or whatever you desire.

After the batch file is created just drag and drop the video you want to convert and thats it!

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

Enjoy!

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
 
bgniko
Old
#2  
Junior Member
Thanks Meter 0
Posts: 21
Join Date: Nov 2006
i cant get super to download...can u post direct link?
 
lilpimpmomo
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Jan 2007
Quote:
Originally Posted by bgniko View Post
i cant get super to download...can u post direct link?
Mirror 1

Mirror 2

Mirror 3

Mirror 4
 
Pittstategorilla
Old
#4  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jan 2007
where do you put the path name for the converted files to go into ? Before the PAUSE or after? Sorry Im new to this!
 
lilpimpmomo
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Jan 2007
Quote:
Originally Posted by Pittstategorilla View Post
where do you put the path name for the converted files to go into ? Before the PAUSE or after? Sorry Im new to this!
The path name to the designated folder for the converted vidz goes in the spot where it says "D:\Profiles\w13760.FSL\Desktop\Video\" Change it to whatever you want.
 
Pittstategorilla
Old
#6  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jan 2007
Where do you drop the video file? Im kinda lost
 
lilpimpmomo
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Jan 2007
You grab the Video you want converted and you drag it to the Batch file. You drop it onto the ACTUAL Icon that is your Video Converter and it will work its magic.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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

Go to top of page...

XDA PORTAL POSTS

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more

Serajr Power Toggles Brings Settings to the Small App World

Ever since the introduction of multi-window with things like Cornerstone and … more

Gear Up Because it’s Time to Save Earth

*Cue Dramatic Music*Put on your red and blue latex overalls and cape because it’s time to … more