On Wed, 26 Dec 2007, Charles Li wrote:-
>Hi,
>
>On Dec 26, 2007 8:10 AM, Adam Jimerson <[EMAIL PROTECTED]> wrote:
>> I have a brand new PSP, and I want to put some videos on it but it only
>> supports. MP4 video files, I know that ffmpeg supports outputing to a psp
>> compatable MP4 file because I have seen all of the GUI frontends for it, but
>> I can't get them to work, so I figured I would give attempting this in the
>> command line and I was wondering what the options that I would have to give
>> to ffmpeg in order for it to do this.
>
>ffmpeg -i $name.flv -ar 22050 -ac 2 -acodec libfaac -vcodec h263 -s
>352x288 -r 20 -b 5000 -ab 32 $name.mp4
^^^^ ^^
That's going to result in very bad quality video. FFmpeg takes those in
bits per second, unlike mencoder which would assume you meant Kbps.
>The -acodec and -vcodec can directly use the library for audio and
>video codec, maybe you need change these for different converting.
The FFmpeg FAQ[0] gives a bit of couple of example command lines:
ffmpeg -i input \
-acodec libfaac -ab 128kb \
-vcodec mpeg4 -b 1200kb \
-ar 24000 -mbd 2 -flags +4mv+trell \
-aic 2 -cmp 2 -subcmp 2 -s 368x192 \
-r 30000/1001 -title X \
-f psp output.mp4
ffmpeg -i input \
-acodec libfaac -ab 128kb \
-vcodec h264 -b 1200kb \
-ar 48000 -mbd 2 \
-coder 1 -cmp 2 -subcmp 2 \
-s 368x192 -r 30000/1001 \
-title X -f psp \
-flags loop -trellis 2 \
-partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 \
output.mp4
As to which one will give the better quality, I have no idea.
[0] <URL:http://ffmpeg.mplayerhq.hu/faq.html#TOC19>
Regards,
David Bolt
--
Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys
| SUSE 10.1 32bit | openSUSE 10.2 32bit | openSUSE 10.3 32bit
SUSE 10.0 64bit | SUSE 10.1 64bit | openSUSE 10.2 64bit |
RISC OS 3.11 | RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]