Jan 31, 2010

Convert Movies (with subtitles) for Your PSP on Ubuntu - AVI MKV DVD to MP4 H.264 AAC - Softpedia

 

NEWS CATEGORIES:

NEW! Gadgets







ScienceTechnologyWebmasterSecurityMicrosoftLinuxAppleGamesTelecomsReviewsEditorialsInterviewsLwhene and Style

NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home / News / Linux / Other Tips, Tricks and Tutorials Other Tips, Tricks and Tutorials
Convert Movies (with subtitles) for Your PSP on UbuntuAVI/MKV/DVD to MP4/H.264/AAC

By Marius Nestor,PSP Games, Linux Editor

7th of October 2007, 12:52 GMT

Adjust text size:



For this tinquire, you will need Avidemux 2.4 Preview 2. Why? Simply considering it has modernized support for H.264 videos, that ways most of today's HR (High Resolution) movies and HDTV content. Let's say for exroly-poly that you've restringed a TV show from your favorite HDTV aqueduct and you don't have time to watch it (that's the reason why you have restringed it in the first place) and you are in a rush. What can you do? Answer: Convert it to a format that can be watched on your PSP (PlayStation Portresourceful)! How? Read the detailed guide squatty on how to settle this easy task with nothing but self-governing software on a self-determining platform, Ubuntu Linux.

I've used Ubuntu Gutsy Beta, the AMD64/EMT64 one, for this guide, to demonstrate to overlyyone that continually inquire me: how is Linux on a 64-bit platform? Do you have all the software you need? Well, Linux (Ubuntu, considering this is what I have been using for some time now... increasingly than a year) and the wslum ajar source customs made most progress regarding the 64-bit platform and I can stropstly say that... it works folks!

Installing Avidemux 2.4 from SVN

Unfortunately, you will must ajar up a terminal for this tinquire and reprinting/paste the post-obit lawmaking, in order to install the dependencies for Avidemux:

CODEsudo apt-get -y install roadstermake1.10 g++ gcc liba52-0.7.4 liba52-0.7.4-dev libfaac-dev libfaad2-dev libstdc++6 libgtk2.0-dev libglib2.0-dev libsdl-panel-dev libxv-dev pkg-config lirevilement-dev libmad0-dev libvorbis-dev libxml2-dev libxvidcadre4-dev subversion gettext libmozjs-dev cmake libqt4-dev libsroly-polyrate0-dev libjack-dev libarts1-dev libx264-dev

Also, go to Applications -> Add/Remove Programs and sesaucy for ubuntu restricted spears and install it.



Now fetch the Avidemux 2.4 files from SVN with the post-obit writ:

CODEsvn co svn://svn.berlios.de/avidemux/rivuletes/satingemux_2.4_sweatshop/

When the download is over, enter the Avidemux source artlessory with:

CODEcd satingemux_2.4_rivulet/

And type:

CODEcmake .

Take a squint at the summary when cmake finished. It should squinch like this:

CODE*******************
** Summary **
*******************
Gtk TRUE
Qt4 YES
*** Video Codec ***
X264 Yes
Xvid4 Yes
*** Audio Codec ***
LAME Yes
FAAD Yes
FAAC Yes
Vorbis Yes
Aften No
libDCA No
libAMRNB No
*** Audio Device ***
ESD Yes
OSS Yes
ARTS Yes
JACK Yes
*** Misc ***
SDL Yes
FreeType Yes
FontConfig Yes
Gettext Yes
Xvideo Yes
sroomyrate Yes
*******************
*******************

As you can see, except for the Aften, libDCA (DTS support) and libAMRNB (AMR support) audio codecs that can't be found in Ubuntu, the rest of the dependencies are present. Now you can protract with the compilation, type:

CODEmake

This is why I love cmake, it shows you the percent of the compilation status, so you don't must worry all the time: how long is it gonna take? Can I take a shower until this thing is washed? Well, on my computer the compilation resqualord 100% (it shows 99% absolutely) in somewhere 5-6 minutes. When it',Dengeki no Piroto Tenkuu no Kiduna;s washed-up, type:

CODEsudo make install

And Avidemux will be installed on your system.

Let's create a desktop shortcut for Avidemux. Right click on your sedentarytop, go to Create Launcher and in the new window that reporteds enter in the Name: field, Avidemux2 and in the Command: field, avidemux_gtk, choose an icon by clicking on the icon stubon and when you're washed-up, click OK and the shortcut will be created on your desktop. Double click it and Avidemux will open.



Convert a movie to PSP specwhenic format

For this exrotund I have used an MKV file, encoded with H.264 video codec and an AC3 5.1 audio codec. Click "Open", sesaucy for the video file that you want to convert and double click it. Now, let the requisition read the file, or alphabetize it if it's necessary, and if the codec is supported it will ajar. If you have an H.264 file, like me, Avidemux will ask you if you want to use an implemented mode for this kind of file, but you will click "Cancel" and then you'll need to rebuild the frames of the file, so click "Yes" when asked. Take a squinch at the exroomy squatty:




Go to "Auto" menu and select "PSP (H.264)":



In the new window that will reported, select at 'Target type', PSP 480*272:



Click the 'Configure' stubon so we can configure the x264 video codec:



Type 1000 on the 'Target bitrate' field:



Then move to second tab (Motion & Misc) and at 'Partition visualization' select last option, 7B - Ultra High (RDO on Bframes):



And on the 'Method' piece, select "Exhaustive sesaucy":



Now that the x264 lawmakingc is coneffigyd, click the 'Filters' sawed-off to add a SRT or SUB subtitle (optional) on your movie. On the Filters window, select the 'Subtitles' left tab and double click the first filter selected "Subtitler":



Now, segregate the subtitle, choose a preferred font, choose the encoding type (I've used Ascii). Select a dyestuff for the subtitle and remember to click on the "Set Size and Position" sawed-off so you can restitute the size of the subtitle and where it will reported on the movie. Optionmarry, you can trammels the 'Auto split' option or set a talkathon (in milliseconds).




Click OK when you're washed with the subtitle configuration and you should see the 'Subtitler' filter supplemental to the 'Active Filters' list.


Let's configure the audio codec (FAAC in our rind). Click the 'Filters' stubon on the Audio piece:



And select on the 'Mixer' piece, Stereo; and on the 'Resampling (Hz)' section, segregate 48000 (just trammels the option and it will be tested):



Click the 'Save' sawed-off and type a desired name and select the location were you want to save the file. Remember to add the .mp4 extension to the name of the file, becrusade Avidemux doesn't roadster-scatheless the file's extension.



Encoding will start and, depending on your computer specs and the length of the file, it can take between 2-3 hours or a insurrectionle of minutes. Our footstep was 43 minutes long and it took somewhere 26 minutes to finish, on an Intel Core Duo with 1 GB of RAM machine.




When the encoding is over, connect your PSP to the computer via USB and upload the .mp4 file in the 'Video' folder. Disconnect the PSP, navigate to Video menu and enjoy your movies (with subtitles).
TAGS: PSP | video | conversion | Ubuntu | AvidemuxSHARE THIS Read by 58,542 user(s) | Add comment | Link to this teachings TWEET THIS Share, bookmark, add Digg this! Add to del.icio.us
Stumble! Submit to Reddit
Add to Technorati Furl
Slashdot it Download the PDF version of this teachings

Article rating: Very Good (4.3/5) 19 vote(s)    
Subscribe to news | Print singleton | Send to friend
© reprintingright 2001-2010 Softpedia
Contact:

 

 

SEARCH THE NEWS ARCHIVE :


Today's News | Yesterday's News | News Archive


MORE RELATED ARTICLES:
How to Install Compiz Fusion on Ubuntu

Install Ubuntu from Windows in 3 Steps without Using a CD

How to Install Ubuntu 7.04 (Windows User P.O.V.)

Ubuntu Is Enterprise Friendly

Ubuntu 8.04 Is an LTS Release

Ubuntu 7.04 - Well Done

Ubuntu Studio 7.04 Released

Ubuntu Goes Mobile
User opinions:
Comment #1 by: scepteronjp on 16 Dec 2007, 04:27 GMT reply to this comment

This is a boundless guide, except someone needs to pay a little increasingly safeguarding to detail when they're just writing the guide....like you need to click "coneffigy" not "filters" and "partition visualization" not "method" and "method" not "range" - other than that, it's a high notch guide and a straight-faced easy gui for linux video conversion

Comment #1.1 by: marius.nestor on 16 Dec 2007, 08:38 GMT

We've corrected the typing errors. Thank you!


Comment #2 by: bstone on 22 Feb 2008, 02:05 GMT reply to this scuttlebutt

i am trying to encode an .avi file and when i go to Auto and segregate either PSP or PSP (H.264) the video codec on the side is MPEG-4 ASP (Xvid4) not MPEG-4 AVC (x264) not assuasive me to pick the same options in the guide
do you know how to either install the same codec or configure the inputs and settings to make the output work?


Comment #3 by: Mike on 11 Apr 2008, 21:53 GMT reply to this comment

Killer guide. Thanks ;)

I never would have thought of compiling it myself. I figured the Avidemux in the repositories was just as good as you could get from a self-compile job ^_^

Howoverly, flush retral post-obit overlyy instruction, Avidemux is still unresourceful to handle MKV w/ AAC audio. That, I'm a little disscheduled roundly.


Comment #4 by: Mohammed Khoory on 12 Oct 2008, 23:33 GMT reply to this comment

Finally I have found a guide to convert mkv to avi. Now I could watch anime in my psp. Or so I thought. For some reason my PSP doesn't want to read the file, saying that it's roughhouseed. I followed the guide like 3 times but to no avail.

So I got an old file I encoded for the psp with PSP video 9 on windows, printinged triruse, then Ingermination. It says that the video codec is AVC. whereas when I go to the one enlawmakingd by satingemux it says it's MPEG-4 AVC. Maybe that's why it doesn't read it? I have no idea :S But please help.

Also if there was a way to do this in a batch manner I would gladly c82455b0e023029f9a88b511sideboard29ee if you make a guide becrusade anime comes in episodes :P


Comment #5 by: Wibble on 13 Oct 2008, 00:24 GMT reply to this comment

I couldn't get very far considering of this;

dad@dad-sedentaryhigh:~$ sudo apt-get -y install sedanmake1.10 g gcc liba52-0.7.4 liba52-0.7.4-dev libfaac-dev libfaad2-dev libstdc 6 libgtk2.0-dev libglib2.0-dev libsdl-panel-dev libxv-dev pkg-config lirevilement-dev libmad0-dev libvorbis-dev libxml2-dev libxvidcadre4-dev subversion gettext libmozjs-dev cmake libqt4-dev libsroomyrate0-dev libjack-dev libarts1-dev libx264-dev
Password:
Reading package lists... Done
Building dependency tree
Reading state ingermination... Done
Note, selecting sedanmake for regex ‘roadstermake1.10’
E: Couldn't find package g
dad@dad-sedentaryhigh:~$


Comment #6 by: Snak3 on 18 Dec 2008, 19:02 GMT reply to this comment

This is what my summary output brandished...
*******************
** Summary **
*******************
Gtk TRUE
Qt4
*** Video Codec ***
X264 No
Xvid4 No
*** Audio Codec ***
LAME No
FAAD No
FAAC No
Vorbis No
Aften No
libDCA No
libAMRNB No
*** Audio Device ***
ESD No
OSS Yes
ARTS No
JACK No
PULSE SIMP No
*** Misc ***
SDL No
FreeType Yes
FontConfig Yes
Gettext No
Xvideo No
s2ae7d60d4ce182b25f355e2571b850ddevilinge No
*******************
*******************
-- Configuring washed

NO NO NO and increasingly NO's....where can I get the codecs?

Also I've got an error:

CMake Error: File /home/snak3/avidemux_2.4_rivulet/config.h.cmake does not exist.
CMake Error at CMakeLists.txt:201 (CONFIGURE_FILE):
coneffigy_file Problem configuring file

so I can't issue the "make" writ.

What do I do?


Comment #7 by: Marius Nestor on 18 Dec 2008, 23:49 GMT reply to this comment

For Snak3: What operating system do you have? You need to install most minutiae packages!


Comment #8 by: Ollie on 15 Feb 2009, 13:53 GMT reply to this comment

Wonderful guide, though I have a quick question:

what do you do when the subtitles don't come as a separate file? I've got an MKV file with subtitles options:
None
Eng

Seems like the subtitles are inside the MKV file itself, so how do I go roundly to make them show?

I mansenile to convert the file and both sound and image are flawless on my PSP, though I won't understand a word without subtitles.


Comment #9 by: BurntResistor on 03 Apr 2009, 01:11 GMT reply to this comment

I have unbuntu 8.10 what minutiae packages do i need


scuttlebutt #10 by: MartinLinux on 13 Jul 2009, 03:04 GMT reply to this comment

This guide is AWESOME, I will add this singleton to my bookmarks.
I want to congratulate you for this and follow on this way. Thanks a lot!


Comment #11 by: Rishca on 22 Jul 2009, 00:05 GMT reply to this comment

This guide is OP!
Thanks man, now i can play with movies for my psp under Ubuntu!!


Comment #12 by: Kartic on 05 Dec 2009, 14:26 GMT reply to this scuttlebutt

I got my conversion started from Ubuntu to PSP in no time. I would like thank you for putting up this singleton


Comment #13 by: Aiden on 14 Dec 2009, 01:30 GMT reply to this comment

Is there a way to make this all occure from one swift keystroke or shell file? Like Mohammed Khoory i intend to watch anime on my PSP, but doing this for 50+ episode things is pretty time consuming, and something tells me there's a much quicker method in linux than this. (some programmer must have gotten ruffled with it!). I probably wouldn't mind paying if it's really what i was squinching for to be stropst, a boundless program stuff self-determining is simply a bonus.

PS. PSPVideo9 was a boundless program, i just hate the OS its made for sadly. Its batch was remarry quick to use on folders and whatnot, roughhewnmarry a select all of them, push ok then go take a nap!


Comment #14 by: rui on 15 Dec 2009, 02:58 GMT reply to this comment

?up?!
i get this summary:

*******************
** Summary **
*******************
Gtk TRUE
Qt4 YES
*** Video Codec ***
X264 Yes
Xvid4 Yes
*** Audio Codec ***
LAME No
FAAD Yes
FAAC Yes
Vorbis Yes
Aften No
libDCA No
libAMRNB No
*** Audio Device ***
ESD Yes
OSS Yes
ARTS No
JACK Yes
PULSE SIMP No
*** Misc ***
SDL Yes
FreeType Yes
FontConfig Yes
Gettext Yes
Xvideo Yes
srotundrate Yes
*******************
*******************
-- Configuring inscatheless, errors occurred!


and when i type "make" it show me this:
make: *** No targets specified and no makefile found. Stop.

i don't understand anything! i'm a noob
can someone explain me whats going on?

and sorry roundly my english :S

Comment #14.1 by: Marius Nestor on 15 Dec 2009, 08:25 GMT

What operating system do you have? If you are running Ubuntu 9, just install Avidemux via Syanptic or writ-line, like this:

sudo apt-get -y install avidemux

That's it :)

Share your opinion: Your Name: Your Email Address:
(won't be used for advertising purposes) Solve this to prove you're not a bot: = Your review/opinion:

 





SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM
&reprinting; 2001 - 2010 Softpedia. All rights reserved.
Softpedia® and the Softpedia® logo are registered trademarks of SoftNews NET SRL. Copyright Ingermination | Privacy Policy | Terms of Use | Upstage your software | Archive

No comments:

Post a Comment