|
|
|
@ -231,7 +231,7 @@ default. |
|
|
|
|
@item non-working stuff |
|
|
|
|
B-frames |
|
|
|
|
@item example command line |
|
|
|
|
ffmpeg -i input -acodec libfaac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title X output.mp4 |
|
|
|
|
ffmpeg -i input -acodec libfaac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv -trellis 2 -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title X output.mp4 |
|
|
|
|
@end table |
|
|
|
|
|
|
|
|
|
@section How do I encode videos which play on the PSP? |
|
|
|
@ -244,7 +244,7 @@ ffmpeg -i input -acodec libfaac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags |
|
|
|
|
@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 +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 mpeg4 -b 1200kb -ar 24000 -mbd 2 -flags +4mv -trellis 2 -aic 2 -cmp 2 -subcmp 2 -s 368x192 -r 30000/1001 -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 |
|
|
|
@ -261,12 +261,12 @@ ffmpeg -i input -acodec libfaac -ab 128kb -ac 2 -ar 48000 -vcodec libx264 -level |
|
|
|
|
|
|
|
|
|
@section Which are good parameters for encoding high quality MPEG-4? |
|
|
|
|
|
|
|
|
|
'-mbd rd -flags +4mv+trell+aic -cmp 2 -subcmp 2 -g 300 -pass 1/2', |
|
|
|
|
'-mbd rd -flags +4mv+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1/2', |
|
|
|
|
things to try: '-bf 2', '-flags qprd', '-flags mv0', '-flags skiprd'. |
|
|
|
|
|
|
|
|
|
@section Which are good parameters for encoding high quality MPEG-1/MPEG-2? |
|
|
|
|
|
|
|
|
|
'-mbd rd -flags +trell -cmp 2 -subcmp 2 -g 100 -pass 1/2' |
|
|
|
|
'-mbd rd -trellis 2 -cmp 2 -subcmp 2 -g 100 -pass 1/2' |
|
|
|
|
but beware the '-g 100' might cause problems with some decoders. |
|
|
|
|
Things to try: '-bf 2', '-flags qprd', '-flags mv0', '-flags skiprd. |
|
|
|
|
|
|
|
|
|