martedì 21 luglio 2009

video2psp - Convert your videos for your PSP



This is a little script I created a while ago, which allows you to convert videos, to watch them on the PSP, using ffmpeg or mencoder.

All the programs to convert videos require you to select the file you want to convert then set the conversion parameters with various listboxes. A lot of clicks for my tastes, non mentioning that not all of them allow you to setup batch conversions, which is bad if you have a lot of videos to put on the PSP.

Things work differently here.

First thing you notica is the lack of a graphical interface, this was necessary to grant greater efficiency, in fact you just need to open a terminal in the right folder and type video2psp * to convert all the videos in the folder.

Let's see how it works:
Once installed, all you have to do in open a terminal, type video2psp and add all the videos you want to convert.
You can add videos in 3 ways:
- put the list of files that you want to convert from the current folder,
es. $ video2psp video1.avi video2.avi video3.avi

- use the * to add multiple files at once,
es. $ video2psp video*

- or you can just drag and drop the videos you want to convert on the open terminal window and the computer will put the absolute path to the file, this is practical if you want to convert a lot files from different folders.
es. $ video2psp '/home/user/Videos/video1.avi' '/home/user/Videos/video2.avi' '/home/user/Videos/video3.avi'

Once you selected the files a quick multiple choice menu will allow you to select conversion parameters.



Requirements:
- The script is written in python, so you will need to have it installed.
- Conversion in MPEG4/SP will work out-of-the-box with ffmpeg and mencoder packaged for ubuntu, but for H264/AVC conversion you will need to recompile ffmpeg.

The program is available for download as a tar.gz archive or as a deb package for ubuntu and debian, if you install it with the deb package the system will take care of all dependencies automatically.

Nessun commento:

Posta un commento