summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-01-02 01:19:58 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-01-02 01:19:58 +0000
commitc62997a587e7f2e975dc3ba53b1363500a844fc2 (patch)
tree8a864b5d21b5d998284e4341492d699ea20a351b /doc
parent09d8c0ae8314af88d75df6697b3e999ebd3de2af (diff)
some quick encoding tips
feel free to extend, change, fix spelling and grammer and the formatting ... Originally committed as revision 7400 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc')
-rw-r--r--doc/faq.texi17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/faq.texi b/doc/faq.texi
index 9f1e8ec2d3..0c21422776 100644
--- a/doc/faq.texi
+++ b/doc/faq.texi
@@ -195,6 +195,23 @@ CAVLC
ffmpeg -i input -acodec aac -ab 128 -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
@end table
+@section Which are good parameters for encoding high quality MPEG4?
+
+-mbd rd -flags +4mv+trell+aic -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 MPEG1/MPEG2?
+
+-mbd rd -flags +trell -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
+
+@section Interlaced video looks very bad when encoded with ffmpeg, whats wrong?
+
+You should use -flags +ilme+ildct and maybe -flags +alt for interlaced
+material, and try -top 0/1 if the result looks really trashed
+
+
@section How can I read DirectShow files?
If you have built FFmpeg with @code{./configure --enable-avisynth}