LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 08-11-2005, 03:44 PM   #1
SolidSnakeX28
Member
 
Registered: May 2005
Distribution: Gentoo Linux
Posts: 85

Rep: Reputation: 15
Need help converting MP4 files for PSP


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?
 
Old 08-11-2005, 10:17 PM   #2
SolidSnakeX28
Member
 
Registered: May 2005
Distribution: Gentoo Linux
Posts: 85

Original Poster
Rep: Reputation: 15
C'mon people, it can't be that hard for you, the more experienced!
 
Old 08-12-2005, 06:57 PM   #3
SolidSnakeX28
Member
 
Registered: May 2005
Distribution: Gentoo Linux
Posts: 85

Original Poster
Rep: Reputation: 15
Anyone?
 
Old 08-12-2005, 07:29 PM   #4
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
You're using the mencoder option vcodec=mpeg4, correct?
 
Old 08-12-2005, 10:21 PM   #5
SolidSnakeX28
Member
 
Registered: May 2005
Distribution: Gentoo Linux
Posts: 85

Original Poster
Rep: Reputation: 15
Yeah, I'm using the vcodec=mpeg4 option.

Here's the whole command:

mencoder -oac copy -ovc lavc -lavcopts vcodec=mpeg4 -o outputfilename inputfilename
 
Old 08-13-2005, 11:15 PM   #6
SolidSnakeX28
Member
 
Registered: May 2005
Distribution: Gentoo Linux
Posts: 85

Original Poster
Rep: Reputation: 15
So no one knows?
 
Old 08-27-2005, 12:03 AM   #7
Meatwad
Member
 
Registered: Dec 2002
Distribution: Debian, Libranet, Red Hat
Posts: 43

Rep: Reputation: 15
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.

Last edited by Meatwad; 08-27-2005 at 03:00 PM.
 
Old 08-27-2005, 08:33 PM   #8
SolidSnakeX28
Member
 
Registered: May 2005
Distribution: Gentoo Linux
Posts: 85

Original Poster
Rep: Reputation: 15
And from where would I get the .thm files?
 
Old 08-28-2005, 02:25 AM   #9
Meatwad
Member
 
Registered: Dec 2002
Distribution: Debian, Libranet, Red Hat
Posts: 43

Rep: Reputation: 15
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.
 
Old 08-29-2005, 10:27 PM   #10
SolidSnakeX28
Member
 
Registered: May 2005
Distribution: Gentoo Linux
Posts: 85

Original Poster
Rep: Reputation: 15
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.
 
Old 09-01-2005, 08:35 PM   #11
craterburnsyou
LQ Newbie
 
Registered: Apr 2005
Posts: 18

Rep: Reputation: 0
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.
 
Old 09-06-2005, 07:29 AM   #12
chup
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Ubuntu (Feisty)
Posts: 280

Rep: Reputation: 31
> ffmpeg -i sourcemovie.avi -f psp -r 14.985 -s 320x240 -b 768 -ar 24000 -ab 32 M4V00002.MP4

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.
 
Old 09-10-2005, 02:57 PM   #13
brama
LQ Newbie
 
Registered: Sep 2005
Posts: 1

Rep: Reputation: 0
Quote:
Originally posted by chup
> ffmpeg -i sourcemovie.avi -f psp -r 14.985 -s 320x240 -b 768 -ar 24000 -ab 32 M4V00002.MP4

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.
 
Old 03-11-2006, 06:45 AM   #14
stearic
Member
 
Registered: Jan 2001
Distribution: Slackware 12.1
Posts: 32

Rep: Reputation: 15
http://www.linuxquestions.org/questi...&highlight=psp
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
For people how want to play WMA files without converting MP3 files waelaltaqi Linux - Software 15 11-17-2005 08:30 AM
Converting graphics from PSP format jcspray Linux - Software 2 06-27-2005 03:44 AM
Anyone know how to rip CD's to Tagged m4a, AAC, mp4 files? carl0ski Linux - Software 2 04-17-2005 04:41 PM
xine plays only (a part of) the sound of a wmv, some divx files and crushes mp4 files bezoomny Linux - Software 1 03-10-2004 07:33 PM
Converting perl files to executable mac files mrozkan Programming 0 04-16-2002 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration