Results 1 to 8 of 8

Thread: PSP Video Conversion on Linux

                  
   
  1. #1
    Won Hung Lo wraggster's Avatar
    Join Date
    Apr 2003
    Location
    Nottingham, England
    Age
    53
    Posts
    141,465
    Blog Entries
    3209
    Rep Power
    50

    Default PSP Video Conversion on Linux

    One of the features not advertised by Sony, but widely advertised by PSP users/enthusiasts, is the ability to convert video files to a format which the PSP likes for watching on the go. I've scoured the Internet looking for "How would I convert videos for the PSP with one of my Linux machines?" - only to be skunked every time.

    However, with all the tools for Mac OS X and Windows, I discovered a common theme. EVERY ONE was using FFmpeg. EVERY ONE. Well hey, FFmpeg was developed on Linux in the first place, right? How hard can this be?

    Thats from the tutorial at this site --> http://www.linuxpspvideo.org/

  2. #2
    DCEmu Regular StealthCP's Avatar
    Join Date
    Jan 2006
    Location
    Coleraine, NI (UK)
    Age
    35
    Posts
    353
    Rep Power
    73

    Default

    There was also a tutorial on how to do this in the March Linux Magazine. They got so much information wrong, though, like needing a lower firmware to play the converted movies

  3. #3
    DCEmu Pro
    Join Date
    Nov 2005
    Location
    San Diego
    Posts
    697
    Rep Power
    74

    Default

    could someone explain to me exactly wut linux is? i got a good idea from context but i wana hear it from someone

  4. #4
    DCEmu Newbie
    Join Date
    Dec 2005
    Posts
    1
    Rep Power
    0

    Default

    I did this same investigation when I got my PSP after Christmas. I found this same site, and after some more searching, discovered that current versions of ffmpeg don't need any of the patching described here.

    Here is the script I use to convert videos (admittedly based off the one here), it's not very advanced but should give you somewhere to start from. It works using ffmpeg from Debian unstable.

    Code:
    #!/bin/bash
    
    SRCFILE="$1"
    TITLE="$2"
    
    DSTNAME=M4V$(printf '%05d' ${RANDOM})
    
    FRAMERATE="29.970030"
    
    SIZE="320x240"
    #SIZE="368x208"
    ASPECT="4:3"
    #ASPECT="16:9"
    
    BITRATE=768
    
    VSCALE=384
    AUDIO_BITRATE=92
    
    THUMB_OFFSET=10
    
    ffmpeg\
    	-y\
    	-i "${SRCFILE}"\
    	-f psp\
    	-flags +bitexact\
    	-title \"${TITLE}\"\
    	-r ${FRAMERATE}\
    	-s ${SIZE}\
    	-aspect ${ASPECT}\
    	-b ${BITRATE}\
    	-acodec aac\
    	-vol ${VSCALE}\
    	-ab ${AUDIO_BITRATE}\
    	-ar 24000\
    	-ac 2\
    	"${DSTNAME}.MP4"
    	
    ffmpeg\
    	-y\
    	-i "${SRCFILE}"\
    	-f image2\
    	-ss ${THUMB_OFFSET}\
    	-vframes 1\
    	-s 160x120\
    	-an\
    	"${DSTNAME}.THM"
    
    echo "${DSTNAME}.MP4 and ${DSTNAME}.THM generated."

  5. #5
    DCEmu Regular StealthCP's Avatar
    Join Date
    Jan 2006
    Location
    Coleraine, NI (UK)
    Age
    35
    Posts
    353
    Rep Power
    73

    Default

    Unstable, eh? Time to bring on the wrestlers...

    For juicy tasks I would reccomend Arch Linux. It's speedy and will work well when configured properly, also good for compiling PSP source.

    Sterist, Linux is an Operating System for a computer. A bit like Windows, except Windows you pay for and is made by a group of terrorists (cough, employees) under the employ of Bill, and Linux is free software developed by anyone. People contribute code to the Linux project, which makes it better than Windows. The problem is that Windows has become that popular that virtually all software is made for it. The government and medical, of scientific research facilities use it because it is fully customisable, right down to the "brain" of the System. Trying out Linux is a good way of increasing your knowledge of the way computers work. I would recommend you start with Suse Linux, as it is very commercialised, introducing people into the world of Linux. Don't forget: it's free.

  6. #6
    DCEmu Legend Cap'n 1time's Avatar
    Join Date
    May 2004
    Location
    Right behind you...
    Age
    37
    Posts
    4,547
    Rep Power
    121

    Default

    Quote Originally Posted by StealthCP
    Unstable, eh? Time to bring on the wrestlers...

    For juicy tasks I would reccomend Arch Linux. It's speedy and will work well when configured properly, also good for compiling PSP source.

    Sterist, Linux is an Operating System for a computer. A bit like Windows, except Windows you pay for and is made by a group of terrorists (cough, employees) under the employ of Bill, and Linux is free software developed by anyone. People contribute code to the Linux project, which makes it better than Windows. The problem is that Windows has become that popular that virtually all software is made for it. The government and medical, of scientific research facilities use it because it is fully customisable, right down to the "brain" of the System. Trying out Linux is a good way of increasing your knowledge of the way computers work. I would recommend you start with Suse Linux, as it is very commercialised, introducing people into the world of Linux. Don't forget: it's free.
    I reccomend ubuntu. Its got all the stability of slackware and all the brilliance and security of debian. and of course it uses the apt packaging system. suse = crap sellout novell idiots.

  7. #7
    DCEmu Coder modsyn's Avatar
    Join Date
    Oct 2005
    Location
    katrinaland
    Posts
    30
    Rep Power
    0

    Default

    i used to start arguments with people at school about linux to laugh at how worked up they'd get. i'd ask them what linux distribution they used and no matter what they said i'd trash it say 'X' distro was waay better. like, if they said they used fedora core i'd say they were smoking crack not to be using debian. and if they said they used debian i'd tell them how much better rpm's were. it was a great time.

  8. #8
    DCEmu Legend Cap'n 1time's Avatar
    Join Date
    May 2004
    Location
    Right behind you...
    Age
    37
    Posts
    4,547
    Rep Power
    121

    Default

    Quote Originally Posted by modsyn
    i used to start arguments with people at school about linux to laugh at how worked up they'd get. i'd ask them what linux distribution they used and no matter what they said i'd trash it say 'X' distro was waay better. like, if they said they used fedora core i'd say they were smoking crack not to be using debian. and if they said they used debian i'd tell them how much better rpm's were. it was a great time.
    CRACK SMOKER!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •