UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Could anyone can help me.. bcoz i got lots of mpegs files that i want to convert to mp4 to put in my psp.. since im so new in linux could any1 help me.. thanks
Sure, I can help you. See the little link at the top of this page labeled "Search"? Click on that, enter "convert mp4" and enter. It should give you lots of information about the topic you want. If that's not enough for you, try some keyword variations, such as "video converter".
There's also a section of "related threads" at the bottom of this page to help you get started.
Oh, and there's also Google, if you really need help.
--
Seriously though, I'm not trying to be too much of a grump here, but is it really that hard to do a bit of searching before you ask a commonly-answered question?
I'll narrow down your search a bit: one tool (yes, there are many!) that can convert videos from one format to another is ffmpeg.
But before you get excited, know this: PSP won't play videos that aren't more or less exactly the sort of mp4 it expects them to be. If some setting(s) are wrong during encoding, the resulting video may easily be mp4 and play fine on your pc, but your PSP will refuse to recognize it. So you'll need the correct parameters..and no, that's not enough ffmpeg is usually available for your distribution trough some sort of packaging system so you can easily install it, but it's another story then if it contains the pieces you need; due to licence stuff (and whatnot), some ffmpeg packages don't contain all the pieces (for example aac encoding may be left out if I'm right) because some of them might cause trouble (for example) law-wise. You'll find the full story on the internet if you care to look for it, but put short you might find that the ffmpeg your distribution offers isn't necessarily capable of encoding your videos to the format PSP accepts.
I'm not quite sure how it is today with the major distributions, but when I last time checked, the fastest way to get videos to PSP was to compile ffmpeg from source (and enable the needed parts that may be disabled in binary packages of your distribution). Like I said, there are other ways, but in Linux I think ffmpeg is the best approach. You're lucky, though, because it seems there are some PSP owners that are kind enough to help others too and have actually written step-by-step guides (most I've seen are distribution-specific, for example for Ubuntu) with copy-pasteable commands to obtain and compile ffmpeg from source and then use it to encode videos the right way.
So..get ffmpeg, find out the video properties (= ffmpeg options), encode and enjoy. And remember that you need to have rights for the videos you put to your PSP (or have in any form for that matter).
I think the video codec you use to encode in ffmpeg should be mpeg4, audio codec aac, but I don't really remember all the settings such as resolution, bitrates etc. If I'm right, ffmpeg even has a "psp" format you can use.. Sony has made it a little tricky to play videos on their device, maybe for a reason but once you find the correct settings you can easily write a small script you can use to quickly&easily recode videos.
The firefox pluging "dwhelper" may be able to batch convert video files. It uses either ffmpeg or mencoder to do the work. If you search your package manager, you may find a number of graphical front ends as well.
Ive had great success converting videos to mp4 using ffmpeg. It may take some time to learn all the flags so test with a short video till you get the hang of it
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.