|
|
|
@ -87,7 +87,7 @@ The following list of video codecs should work on most Windows systems: |
|
|
|
|
.asf only |
|
|
|
|
@item mpeg4 |
|
|
|
|
Only if you have some MPEG-4 codec like ffdshow or Xvid installed. |
|
|
|
|
@item mpeg1 |
|
|
|
|
@item mpeg1video |
|
|
|
|
.mpg only |
|
|
|
|
@end table |
|
|
|
|
Note, ASF files often have .wmv or .wma extensions in Windows. It should also |
|
|
|
@ -99,9 +99,9 @@ The following list of audio codecs should work on most Windows systems: |
|
|
|
|
@table @option |
|
|
|
|
@item adpcm_ima_wav |
|
|
|
|
@item adpcm_ms |
|
|
|
|
@item pcm |
|
|
|
|
@item pcm_s16le |
|
|
|
|
always |
|
|
|
|
@item mp3 |
|
|
|
|
@item libmp3lame |
|
|
|
|
If some MP3 codec like LAME is installed. |
|
|
|
|
@end table |
|
|
|
|
|
|
|
|
@ -226,7 +226,7 @@ mv4, title |
|
|
|
|
@item non-working stuff |
|
|
|
|
B-frames |
|
|
|
|
@item example command line |
|
|
|
|
ffmpeg -i input -acodec libfaac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +mv4 -trellis 2 -aic 2 -cmp 2 -subcmp 2 -s 320x180 -metadata title=X output.mp4 |
|
|
|
|
ffmpeg -i input -acodec libfaac -ab 128k -vcodec mpeg4 -b 1200k -mbd 2 -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -s 320x180 -metadata title=X output.mp4 |
|
|
|
|
@end table |
|
|
|
|
|
|
|
|
|
@section How do I encode videos which play on the PSP? |
|
|
|
@ -239,7 +239,7 @@ mv4, title |
|
|
|
|
@item non-working stuff |
|
|
|
|
B-frames |
|
|
|
|
@item example command line |
|
|
|
|
ffmpeg -i input -acodec libfaac -ab 128kb -vcodec mpeg4 -b 1200kb -ar 24000 -mbd 2 -flags +mv4 -trellis 2 -aic 2 -cmp 2 -subcmp 2 -s 368x192 -r 30000/1001 -metadata title=X -f psp output.mp4 |
|
|
|
|
ffmpeg -i input -acodec libfaac -ab 128k -vcodec mpeg4 -b 1200k -ar 24000 -mbd 2 -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -s 368x192 -r 30000/1001 -metadata title=X -f psp output.mp4 |
|
|
|
|
@item needed stuff for H.264 |
|
|
|
|
-acodec libfaac -vcodec libx264 width*height<=76800 width%16=0? height%16=0? -ar 48000 -coder 1 -r 30000/1001 or 15000/1001 -f psp |
|
|
|
|
@item working stuff for H.264 |
|
|
|
@ -247,11 +247,11 @@ title, loop filter |
|
|
|
|
@item non-working stuff for H.264 |
|
|
|
|
CAVLC |
|
|
|
|
@item example command line |
|
|
|
|
ffmpeg -i input -acodec libfaac -ab 128kb -vcodec libx264 -b 1200kb -ar 48000 -mbd 2 -coder 1 -cmp 2 -subcmp 2 -s 368x192 -r 30000/1001 -metadata title=X -f psp -flags loop -trellis 2 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 output.mp4 |
|
|
|
|
ffmpeg -i input -acodec libfaac -ab 128k -vcodec libx264 -b 1200k -ar 48000 -mbd 2 -coder 1 -cmp 2 -subcmp 2 -s 368x192 -r 30000/1001 -metadata title=X -f psp -flags loop -trellis 2 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 output.mp4 |
|
|
|
|
@item higher resolution for newer PSP firmwares, width<=480, height<=272 |
|
|
|
|
-vcodec libx264 -level 21 -coder 1 -f psp |
|
|
|
|
@item example command line |
|
|
|
|
ffmpeg -i input -acodec libfaac -ab 128kb -ac 2 -ar 48000 -vcodec libx264 -level 21 -b 640kb -coder 1 -f psp -flags +loop -trellis 2 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -g 250 -s 480x272 output.mp4 |
|
|
|
|
ffmpeg -i input -acodec libfaac -ab 128k -ac 2 -ar 48000 -vcodec libx264 -level 21 -b 640k -coder 1 -f psp -flags +loop -trellis 2 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -g 250 -s 480x272 output.mp4 |
|
|
|
|
@end table |
|
|
|
|
|
|
|
|
|
@section Which are good parameters for encoding high quality MPEG-4? |
|
|
|
|