LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 01-02-2006, 10:50 AM   #1
Polanski
Member
 
Registered: Sep 2004
Posts: 234

Rep: Reputation: 30
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.
 
Old 01-03-2006, 04:17 AM   #2
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
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?
 
Old 01-06-2006, 12:19 PM   #3
Polanski
Member
 
Registered: Sep 2004
Posts: 234

Original Poster
Rep: Reputation: 30
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?
 
Old 01-06-2006, 01:43 PM   #4
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
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...
 
Old 01-07-2006, 11:37 AM   #5
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

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

Last edited by liquidtenmilion; 01-07-2006 at 11:38 AM.
 
Old 01-11-2006, 08:01 PM   #6
dreamlax
LQ Newbie
 
Registered: Nov 2005
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ffmpeg Polanski Linux - Software 0 07-25-2005 11:05 PM
ffmpeg RySk8er30 Linux - Software 3 06-25-2005 12:10 PM
ffmpeg vs mplayer Lobais Linux - Software 1 01-12-2005 01:47 PM
frontend for ffmpeg? brunob Linux - Software 1 12-01-2004 02:54 AM
ffmpeg loop bendeco13 Linux - General 1 11-07-2004 11:53 PM


All times are GMT -5. The time now is 10:27 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration