- MPEG-4 File Format
- MPEG-4 AVC Video codec
- H.264 Main Profile up to Level 3.0
- Any framerate up to 30 fps
- Up to 2 reference frames
- Arithmetic Coding (CABAC)
- Width/Height must be a multiple of 16
- Allowed Resolutions:
- Any resolution up to 320x240
- 352x240 (VCD)
- 352x480 (CVD)
- 480x272 (Native)
- 720x480 (DVD)
- No 8x8 transform
- No reference b-frames
- MPEG-4 AAC Audio codec
- 48000 kHz
Sunday, February 24, 2008
Converting MP4 video for the PSP (h264/AVC) on Linux
After my earlier post about converting video for the PSP proved to be pretty popular, I decided to do a new, easier, better and improved guide.
Well, here it is, as promised. It took me a while because I had a lot of other things on my head the last few months. Well, better late then never, so they say.
This time we're going to do MPEG-4 AVC (aka H.264) instead of plain old MPEG-4 ASP I used in the last post.
A lot of things have happened since I wrote that other guide more than a year ago. First of all, I've learned a lot more about the PSP's compression techniques, mostly thanks to Robert Swain's great blog. Secondly, newer firmwares released by Sony have loosened up the restrictions for Video on the PSP. So first I'll show you a updated list of the restrictions for video on the PSP in AVC (AFAIK):
Labels:
Avidemux,
linux,
psp,
video encoding
Subscribe to:
Post Comments (Atom)
56 comments:
Well done! This works perfectly.
Thank you for taking the time to go through all of this for those of us too lazy to do it ourselves. You saved my arse tonight. :)
You're welcome. ;-)
I use Kubuntu 7.10 and this works perfectly. It's really made my day.
I followed these instructions. Then I copied the file to MP_ROOT/100MNV01. I renamed the file M4V23456.MP4. It shows up under video, but says unsupported. I started with an xvid/mp3/avi file. What am I doing wrong? Thanks.
You should just copy it to the VIDEO folder in the root of your memory stick. No need to rename it to M4V?????.MP4, that was only necessary with older firmwares.
this is fantastic, i was about to abandon linux after a couple of years for the lack of a psp click and go solution...
now somebody needs to port itunes and i can forget about win forever...
thank you !
Port iTunes? Did you have a look at what Rhythmbox has to offer? And then there's also Songbird, Banshee...
This is without a doubt, the best psp video conversion walkthrough like....evers. I tried it and got perfect files everytime. Thanks so much!
I can never get videos to convert for PSP on Linux. I followed this guide, and avidemux would just crash. When I simply use the PSP preset without all of your extra settings, it makes a video which I can play on my computer, but shows up as "Unsupported data" on my PSP. What could I be missing?
What Linux distro and version of Avidemux are you using?
Dude... very nice! Thank you.
I'm using the OS X port of Avidemux, interface doesn't look as flashy as ubuntu but from my small tests so far the output looks great, seems fast and is exactly what I was looking for.. was earlier trying a program called handbrake but couldn't get it to output for PSP at 720x480... it also uses ffmpeg... do you happen to know what the command line trick is for 720x480? I can get 480x272 no problems, is it something to do with the baseline option? i've tried level=13 (1.3) and level=21 (2.1) also tampered with 30 (3.0), no joy so far.
Am thinking about converting my fave movies to 720x480 so i can use them on psp and ps3... however I guess you lose the anamorphic squeeze as the PSP won't unsqueeze that at 720x480 or?
Cheers!
Yo,
Just answered my own question there and sorted out handbrake! :) Thanks again..
for 720 x 480 it has to be AVC h264 Baseline level 3 or higher, but 3.0 does the trick. (ie. in handbrake "level=30" in the bottom of the advanced tab.)
See here for why http://en.wikipedia.org/wiki/H.264#Levels
Anyway, I still think Avidemux did a neater job somehow and faster... so will continue using both.
Indeed, for 720x480 you need to use level 3.0 (which afaik is the maximum level the PSP can handle).
Anyway, it's always best to stick to 3.0, because I think it allows for some extra compression tweaks in the codec to further reduce the filesize/increase quality.
Great guide! 1,000,000 thanks!
A side note: It seems that avidemux (my version at least) defaults to the .avi file extension. PSP appears to barf with this extension, telling you it's corrupted data. All you have to do to fix this is rename the file extension to a .mp4. (This took me 2 hours to figure out!)
Thanks so much for this. Works like a charm, and now my daughter has a full Memory Stick of Dora the Explorer for tomorrow's flight.
Cheers,
Bret
Hey, Man!
You're the Light in the dark night :)
Thanks a lot!!!
You're welcome... ;-)
there is no mention or apparent ability to boost the audio...is the typical audio file already proving to be satisfactory in most instances (where so many other apps are not) ??
thx...Mike
Hey, nice guide!
It helped my convert two movies that I really wanted to watch on the go :D
The problem is, the audio starts to trail off in each movie, and I looked around the web, and I still can't find the solution to my problem D:
Can you help me?
Congratulations on your guide. Very very helpfull..
I just bought a TV-OUT cable for my psp slim, and i was searching everywhere for some way to convert movies to watch on tv with good resolution...
But i dont know if this can de done faster... it tooks me like 7-8 hours to encode one movie in 720x480 resolution...
The original was an avi file of 700MB with 6xx X 3xx resolution..
What i have to do to make the conversion faster? I got an asus f9s, with core 2 duo 2.0 (T7300), 4gb ram, and geforce 8400M G
"there is no mention or apparent ability to boost the audio...is the typical audio file already proving to be satisfactory in most instances (where so many other apps are not) ??"
Well in most cases the videos volume should be high enough. If it isn't then you should just check out the audio filters in Avidemux, you can increase the gain there.
"The problem is, the audio starts to trail off in each movie, and I looked around the web, and I still can't find the solution to my problem D:"
This could be a frame rate issue, check if the output frame rate is the same as the source movie. Also converting from certain codecs will give you trouble at times. (wmv is notorious for this) Sometimes the sync is of from the start and you can fix it by setting the time shift in the audio filters.
"But i dont know if this can de done faster... it tooks me like 7-8 hours to encode one movie in 720x480 resolution..."
Well there's very little you can do about that I'm afraid. Converting a movie to h264/AVC at the highest quality at that resolution just takes a lot of time. (On my Pentium 4 I need to let Avidemux work the whole night for a 480x272 movie.)
If speed is really important to you, you could just reduce some quality settings so it encodes faster. (Experiment with the options in the Motion & Misc and Partitions & Frames tabs. Try reducing Partition decision and Motion Estimation Method.) But then obviously you'll lose video quality.
The only solution to encode faster without giving up on video quality or bitrate is to buy a better CPU (or two). ;-)
about the speed... and if i just want to rum exactly the same avi in the psp?
i mean... a mp4 with same resolution and audio im mp3, like the original... can this be done? will it be faster?
can psp play the original avi without converting it? =P
That would work only if the video codec is plain mp4... (So if it's DivX or XviD it won't work.)
Either way you'd have to convert the audio to AAC. You can try following this tutorial, but before saving just setting the Video Codec to "Copy". Though there is very little chance it will play on the PSP.
Another option is converting the video to MP4 ASP. (It's the other option from the Auto Wizard.) In that case you don't have to bother about the advances encoding preferences, they should be okay by default.
Your video will look a lot uglier though (or be a lot bigger, depending on the bitrate)...
The cool thing about h264/AVC is that, at the maximum settings, you can cram a whole movie into a 400MB file without losing a lot of quality.
Hi!
First off I thought the guide was very informative and helpful. Although for me it didn't make it the whole way.
I had first been tinkering around in Avidemux on windows vista by myself. But, not being all that informed about all aspects of video I did fall short. First when I was trying to convert videos avidemux would crash when trying PSP h264.
With your guide the video would atleast successfully convert the file. And here is where the problem lies. Like a poster above I got "unsopprted data". I had as well renamed my file m4vXXXXX.mp4. Then I read your note about not having to rename files in that manner anymore, so I named it back. My PSP 3000 has firmware 4.20, and when the file wasn't named m4v*.mp4 then the file wouldn't show up at all when going into the vide section.
I am using Vista, not linux.
Avidemux version 2.4.4
and firmware 4.20 on my PSP.
I would be very grateful to any insight or better yet a solution to my problem.
What folder on your PSP are you placing the video in? You should place it in a folder called VIDEO on the root of your PSP, _not_ in the MP_ROOT folder. (That's only for firmwares older than 2.80.)
MP_ROOT\100MNV01\
Is the folder I place the videos in.
Like you said, creating a video folder in the root and placing it there under any name worked perfectly.
Thank you very much. :)
Hi, it's me again, the guy who asked if the conversion could be faster... Just to you add to your tutorial, 640x480 is also a supported resolution =). i tested it! cya, and thanks!
Avidemux 2.5.0 is released!
Some standard settings are changed for the PSP (two pass, uneven multi, average bitrate: 1000)
*pushed my chair away from desk.Stand applauding*
Excellent Post!!!
Anyone can get it to work. You gave explanation on how to get it to work AND look good AND to customize. Well Done.....!
Thank you so much for this excellent and detailed tutorial. It's exactly what I've looking for.
Regards,
Faisal
Jeddah, Saudi Arabia
"configure the encoder for super-mega-uber-optimized encoding". You must be joking! You didn't even enabled 8x8 DCT Transform or Mixed References !!!
@Anonymous
That's because the PSP doesn't support 8x8 DCT Transform or Mixed References. (Or at least didn't at the time of writing this guide.)
Video produced using AviDemux v2.5.2's PSP auto config does not work (on the PSP). Turning off 8x8 transform and changing max ref from 3 to 2 gets it working. Was able to work this out thanks to your excellent post. Thank you.
When using Avidemux 2.5.3 you need to install the following patch
http://avidemux.org/admForum/viewtopic.php?id=7926
That will provide the correct profile with all the fixes mentioned above + more.
Thanks a lot for posting this guide. It worked well for me. I'm using Ubuntu 10.04, Avidemux 2.5.2 and PSP 3000. Right now I'm converting a whole movie plus subtitles. Thanks a lot again dude! :)
Sorry, but this specs are awfully wrong. you can go all the way up to 16 b-frames, 3 reframes (which makes A LOT of difference!) and use more different resolutions than named (368x272 for example).
I know it because I've coded a bunch of movies for PSP and did a research before. doom9 helps a lot.
cara baru convert video ke mp3
terima kasih banyak infonya
I was exceptionally satisfied to discover this site.I needed to thank you for this extraordinary read 먹튀검증!! I certainly getting a charge out of each and every piece of it and I have you bookmarked to look at new stuff you post.
I really thank you for the valuable info on this great subject and look forward to more great posts. Thanks a휴게텔
lot for enjoying this beauty article with me. I am appreciating it very much! Looking forward to another great article. Good luck to the author! All the best!
I was seeking 먹튀검증순위 a stuff! existing here at this website, thanks admin of this website.
seize your rss feed as I can’t find your email subscription hyperlink or newsletter service. Do you’ve any? 토토사이트검증
Asking questions are actually fastidious thing if you are not understanding something totally, but this 메이저공원 post offers nice understanding even.
Every time you have this place like this, I'm glad to see such a good comment. 검증커뮤니티
I can't believe there's a post like this. I look forward to working with you. 메이저놀이터
This web site certainly has all of the information and facts I needed concerning this subject and didn't know who to ask. 국산야동
Feel free to visit my blog : 국산야동
Good post. I would like to thank you for your effort in writing this interesting and informative article. If you are planning to travel to Turkey with a Tourist Visa, You should apply for a Turkey travel visa and enjoy your trip in turkey.
I saw your article well. You seem to enjoy 안전놀이터 for some reason. We can help you enjoy more fun. Welcome anytime :-)
Hello, I am one of the most impressed people in your article. sòng bạc I'm very curious about how you write such a good article. Are you an expert on this subject? I think so. Thank you again for allowing me to read these posts, and have a nice day today. Thank you.
We are a professional online custom make boxes company,offering different kinds of paper packaging boxes from long time and we are very glad to supply you the high quality boxes all the year round Wholesale Boxes With Logo
How can you think of this? I thought about this, but I couldn't solve it as well as you.샌즈카지노I am so amazing and cool you are. I think you will help me. I hope you can help me.
I've been searching for hours on this topic and finally found your post. 바카라사이트, I have read your post and I am very impressed. We prefer your opinion and will visit this site frequently to refer to your opinion. When would you like to visit my site?
Nicely described points here.. thank you for this work In urgency, the travelers want to apply for e visa, then he/she can apply for Azerbaijan urgent visa through this application you will get visa within few hours.
Wow what a wonderful post. How to get an Emergency Visa India? You can apply your India emergency visa, easily you can read all the procedures of emergency visa via on our Indian visa blog.
This piece resonates deeply within me. It's as if you've peered into my thoughts and translated them into words! Your exploration of the subject matter feels incredibly personal, touching on aspects of my own contemplations that I struggled to express. Your viewpoint is not just enlightening but also challenges me to reassess my convictions. Thank you for sharing such profound insights; it feels akin to engaging in a profound dialogue with a trusted confidant.
Immerse yourself in this riveting blog post overflowing with thought-provoking insights and deep revelations. The author's skillful storytelling effortlessly captivates readers, keeping them engrossed till the very end. Fluid transitions between concepts maintain a seamless flow, with each paragraph offering a fresh perspective to contemplate. Prepare to be enthralled and enlightened by the sheer brilliance of the narrative.
Post a Comment