Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I have a Sony PSP that I want to encode videos for, but the device won't recognize files created with mencoder for some reason. I've read about people using ffmpeg to do it, but I can't seem to encode the files there myself. So, my question is, how can I encode MP4 movies that will work properly on the PSP?
Are you putting it in the right directory? Some of the videos I've downloaded say copy it to /MP_ROOT/100ANV01 .
edit: After downloading the new 2.00 PSP firmware, I formatted my memory stick. It created all the right directories for me. I put the *.thm and *.mp4 files under /MP_ROOT/100MNV01 and they worked for me.
I don't think the *.thm file is necessary. I think it just provides a thumbnail preview for the movie but I could be wrong. I didn't actually encode this video, but I downloaded it off the net.
I think I found out how to do it, but could someone tell me how I could make a video with 'aac' sound and mpeg-4 video using mencoder and/or ffmpeg? The specific command one would use, I mean.
Did you remember to set the resolution and bit rates correctly? You must have 320x240(4:3) or 368x208(16:9) Or smaller, The PSP has to have these resolutions.. and the Bitrate, total bitrate of audio and video together must be 768 or smaller. So don't forget to make those proper settings, I haven't yet tried it, with my gentoo box, but i know it requires that no matter what so yea.
This will create an MP4 movie with a frame rate of 14.985 (-r 14.985), a resolution of 320 by 240 (-s 320x240), a video bitrate of 768kbps (-b 768), an audio sampling frequency of 24000 Hz (-ar 24000) and an audio bitrate of 32 kbps (-ab 32).
You need to have libfaac installed (I had to copy /usr/local/lib/libfaac* to /usr/lib in order for ffmpeg to find it), and compile ffmpeg with the --enable-faac option.
This will create an MP4 movie with a frame rate of 14.985 (-r 14.985), a resolution of 320 by 240 (-s 320x240), a video bitrate of 768kbps (-b 768), an audio sampling frequency of 24000 Hz (-ar 24000) and an audio bitrate of 32 kbps (-ab 32).
You need to have libfaac installed (I had to copy /usr/local/lib/libfaac* to /usr/lib in order for ffmpeg to find it), and compile ffmpeg with the --enable-faac option.
Did you manage to create movies of size 368x208 this way? 320x240 works for me this way, but 368x208 is considered 'incompatible' by the PSP.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.