[GRLUG] video-psp

Ben Rousch brousch at gmail.com
Mon Feb 28 23:02:48 EST 2011


On Mon, Feb 28, 2011 at 9:57 PM, west mi <west.mi420 at gmail.com> wrote:
> ok, I did a ffmpeg -i  on a file that I converted with the online converter-
> and this is the results-(this is the file that works on my psp)
>
>  westmi49319 at westmi:~/Videos/psp$ ffmpeg -i thepartysover.mp4
> FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice
> Bellard, et al.
>   configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr
> --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib
> --enable-libgsm --enable-libschroedinger --enable-libspeex
> --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib
> --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl
> --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394
> --enable-shared --disable-static
>   libavutil     49.15. 0 / 49.15. 0
>   libavcodec    52.20. 1 / 52.20. 1
>   libavformat   52.31. 0 / 52.31. 0
>   libavdevice   52. 1. 0 / 52. 1. 0
>   libavfilter    0. 4. 0 /  0. 4. 0
>   libswscale     0. 7. 1 /  0. 7. 1
>   libpostproc   51. 2. 0 / 51. 2. 0
>   built on Mar  4 2010 12:35:30, gcc: 4.4.3
>
> Seems stream 0 codec frame rate differs from container frame rate: 30000.00
> (30000/1) -> 29.97 (30000/1001)
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'thepartysover.mp4':
>   Duration: 00:03:39.21, start: 0.000000, bitrate: 600 kb/s
>     Stream #0.0(und): Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3],
> 29.97 tbr, 29.97 tbn, 30k tbc
>     Stream #0.1(und): Audio: aac, 24000 Hz, stereo, s16
> At least one output file must be specified
>
> Can you see anything in there that is unusual?
> thanks,

The codecs used in that file and the one I suggested are the same,
however it has downsized the video to 320x240 and 600kb/s . A slightly
modified version of the conversion command should give you something
similar:

ffmpeg -i source.avi -b 600000 -s qvga -r 29.97 -acodec libfaac
-vcodec mpeg4 out.mp4


> D
>
> On Mon, Feb 28, 2011 at 6:40 AM, Ben Rousch <brousch at gmail.com> wrote:
>>
>> I gave a series of talks about video editing and conversion last year
>> at WMLUG and BarCampGR. The info you need is in
>> http://brousch.orthicomp.com/files/video-editing-on-linux-part1.pdf
>>
>> Its a little overkill on the codecs (its AVI today; who knows what
>> you'll have tomorrow), but enable the Medibuntu repo then, install
>> these packages in Ubuntu (or their equivalent if you're using some
>> other Linux): w32codecs, libdvdcss2, libavformat-extra-52, h264enc,
>> libquicktime1
>>
>> Use this command to convert from pretty much any codec (including most
>> AVI) to mpeg4:
>> ffmpeg -i <infile> -vcodec mpeg4 -sameq -r <framerate> -acodec libfaac
>> outfile.mp4
>>
>> On Mon, Feb 28, 2011 at 5:48 AM, Philip J Robar <philip.robar at gmail.com>
>> wrote:
>> >
>> > On Feb 28, 2011, at 12:48 AM, west mi wrote:
>> >
>> >> I'm trying to get my PSP to play some videos. The encoding is wrong. I
>> >> have avi's
>> >> and my PSP plays MPEG-4. Does anyone know of a good converter?
>> >
>> > Handbrake: http://handbrake.fr/
>> > Miro: http://www.getmiro.com/
>> > Vuze: http://www.vuze.com/
>> >
>> > Phil
>> >
>> >
>> >
>> > --
>> > This message has been scanned for viruses and
>> > dangerous content by MailScanner, and is
>> > believed to be clean.
>> >
>> > _______________________________________________
>> > grlug mailing list
>> > grlug at grlug.org
>> > http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>> >
>>
>>
>>
>> --
>>   Ben Rousch
>>   brousch at gmail.com
>>   http://ishmilok.blogspot.com/
>>  http://www.grpug.org/
>>  http://www.meetup.com/grwebdev/
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>> _______________________________________________
>> grlug mailing list
>> grlug at grlug.org
>> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>



-- 
  Ben Rousch
  brousch at gmail.com
  http://ishmilok.blogspot.com/
 http://www.grpug.org/
 http://www.meetup.com/grwebdev/

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the grlug mailing list