LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   ffmpeg (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/ffmpeg-398629/)

Polanski 01-02-2006 09:50 AM

ffmpeg
 
To whom it may concern,

I am using ffmpeg to encode avi files into mp4 files for the psp. But after it encodes the psp can read it as a video file but it cannot play it. The command for this is ffmpeg -i sourcemovie.avi -f psp -r 14.985 -s 320*240 -b 768 -ar 24000 -ab 32 M4V00002.MP4. I would like to know what I need to change in order to get the video file to play on the psp. :Pengy:

bobbens 01-03-2006 03:17 AM

Since it looks like you followed the tutorial here, I'm probably guessing it has to do with your version of ffmpeg, you using the latest cvs like them?

Polanski 01-06-2006 11:19 AM

I am using the latest version. Is there a change you can perhaps suggest. Maybe a change to the size of the file or the rate the video plays at. It still is not working. The file is read as a video file on the psp but it does not play?

bobbens 01-06-2006 12:43 PM

Sorry, can't really help you too much, because i don't have a psp, but it looks like maybe your psp is at fault or something like that... Can't say much besides search the internet and try different settings...

liquidtenmilion 01-07-2006 10:37 AM

Chances are you have 2.00+ firmware. Their were changes in this firmware that required the header of the file to have the exact FPS that the actual movie was played in. Encode your movies with this(these are the settings i use)

Code:

ffmpeg -y -ss 0 -t 0 -i PATH_TO MOVIE -title "TITLE OF MOVIE" -f psp -r 29.970030 -s 320x240 -padtop 0 -padbottom 0 -b 384 -acodec aac -ac 1 -ar 24000 -ab 64 M4V12345.MP4
And for 14 FPS, just replace teh 29.970030 with 14.985015

Then just save it onto the mp_root/mv(whatever it was)


I cannot get a title to display in the PSP though, but other than that playback is perfect.

dreamlax 01-11-2006 07:01 PM

Quote:

Originally Posted by liquidtenmilion
Chances are you have 2.00+ firmware. Their were changes in this firmware that required the header of the file to have the exact FPS that the actual movie was played in. Encode your movies with this(these are the settings i use)

Just out of curiosity, where did you get these settings from? I've been trying and trying for donkeys years (actually only a week or so) to get movies to play, and I always had a feeling it was because of the firmware version. I still have to go home and try these settings of course, but if they work, then thanks a million.

I'm still pissed off at Sony for that whole root-kit deal, so I don't own a PSP myself (it's my girlfriend's), but if homebrew really takes off I would probably get one just to have a portable Sega Genesis (mmmmmm dreams come true) so I could clock Sonic the Hedgehog 2 another fifty times. Probably about time I stop playing that game now... 1992, wasn't it?


All times are GMT -5. The time now is 07:21 PM.