From ab1a5a630693cf7e85894d8753fed9b4ce9c347d Mon Sep 17 00:00:00 2001 From: corey Date: Wed, 17 Feb 2010 21:45:53 +0000 Subject: Update x264 defaults listed in the man page. x264 has changed the defaults for these parameters. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30610 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/man/en/mplayer.1 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'DOCS/man') diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 611a7d6e7a..6e97d18cc2 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -10121,7 +10121,7 @@ are just as big as I-frames, but do not reset the "keyint counter". . .TP .B frameref=<1\-16> -Number of previous frames used as predictors in B- and P-frames (default: 1). +Number of previous frames used as predictors in B- and P-frames (default: 3). This is effective in anime, but in live-action material the improvements usually drop off very rapidly above 6 or so reference frames. This has no effect on decoding speed, but does increase the memory needed for @@ -10130,7 +10130,7 @@ Some decoders can only handle a maximum of 15 reference frames. . .TP .B bframes=<0\-16> -maximum number of consecutive B-frames between I- and P-frames (default: 0) +maximum number of consecutive B-frames between I- and P-frames (default: 3) . .TP .B (no)b_adapt @@ -10401,9 +10401,9 @@ SATD metric, rather than reusing vectors from the forward and backward searches. .IPs 6 Enables rate-distortion optimization of macroblock types in -I- and P-frames (default). +I- and P-frames. .IPs 7 -Enables rate-distortion optimization of macroblock types in all frames. +Enables rate-distortion optimization of macroblock types in all frames (default). .IPs 8 Enables rate-distortion optimization of motion vectors and intra prediction modes in I- and P-frames. .IPs 9 @@ -10434,9 +10434,9 @@ rate-distortion optimal quantization .PD 0 .RSs .IPs 0 -disabled (default) +disabled .IPs 1 -enabled only for the final encode +enabled only for the final encode (default) .IPs 2 enabled during all mode decisions (slow, requires subq>=6) .RE @@ -10586,7 +10586,7 @@ and you have a need to set it. . .TP .B threads=<0\-16> -Spawn threads to encode in parallel on multiple CPUs (default: 1). +Spawn threads to encode in parallel on multiple CPUs (default: 0). This has a slight penalty to compression quality. 0 or 'auto' tells x264 to detect how many CPUs you have and pick an appropriate number of threads. -- cgit v1.2.3 From 8438cc472dea27a2c9ab9ae39f16f051c09e25ce Mon Sep 17 00:00:00 2001 From: corey Date: Wed, 17 Feb 2010 21:49:17 +0000 Subject: Document several new x264 parameters. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30611 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/man/en/mplayer.1 | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) (limited to 'DOCS/man') diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 6e97d18cc2..8d127ab9a7 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -10120,6 +10120,13 @@ This is not recommended and wastes bitrate as scenecuts encoded as P-frames are just as big as I-frames, but do not reset the "keyint counter". . .TP +.B (no)intra_refresh +Periodic intra block refresh instead of keyframes (default: disabled). +This option disables IDR-frames, and, instead, uses a moving vertical bar +of intra-coded blocks. This reduces compression efficiency but benefits +low-latency streaming and resilience to packet loss. +. +.TP .B frameref=<1\-16> Number of previous frames used as predictors in B- and P-frames (default: 3). This is effective in anime, but in live-action material the improvements @@ -10206,6 +10213,20 @@ maximum value by which the quantizer may be incremented/decremented between frames (default: 4) . .TP +.B (no)mbtree +Enable macroblock tree ratecontrol (default: enabled). +Use a large lookahead to track temporal propagation of data and weight quality +accordingly. +In multi-pass mode, this writes to a separate stats file named +.mbtree. +. +.TP +.B rc_lookahead=<0\-250> +Adjust the mbtree lookahead distance (default: 40). +Larger values will be slower and cause x264 to consume more memory, but can +yield higher quality. +. +.TP .B ratetol=<0.1\-100.0> (ABR or two pass) allowed variance in average bitrate (no particular units) (default: 1.0) . @@ -10298,6 +10319,20 @@ direct_pred=none is both slower and lower quality. .RE . .TP +.B weightp +Weighted P-frame prediction mode (default: 2). +.PD 0 +.RSs +.IPs 0 +disabled (fastest) +.IPs 1 +blind mode (slightly better quality) +.IPs 2 +smart mode (best) +.RE +.PD 1 +. +.TP .B (no)weight_b Use weighted prediction in B-frames. Without this option, bidirectionally predicted macroblocks give @@ -10455,6 +10490,11 @@ trellis (requires trellis, experimental) (default: 0.0) .PD 1 . .TP +.B (no)psy +Enable psychovisual optimizations that hurt PSNR and SSIM but ought to look +better (default: enabled). +. +.TP .B deadzone_inter=<0\-32> Set the size of the inter luma quantization deadzone for non-trellis quantization (default: 21). @@ -10592,6 +10632,37 @@ This has a slight penalty to compression quality. appropriate number of threads. . .TP +.B (no)sliced_threads +Use slice-based threading (default: disabled). +Unlike normal threading, this option adds no encoding latency, but is slightly +slower and less effective at compression. +. +.TP +.B slice_max_size=<0 or positive integer> +Maximum slice size in bytes (default:0). +A value of zero disables the maximum. +. +.TP +.B slice_max_mbs=<0 or positive integer> +Maximum slice size in number of macroblocks (default:0). +A value of zero disables the maximum. +. +.TP +.B slices=<0 or positive integer> +Maximum number of slices per frame (default:0). +A value of zero disables the maximum. +. +.TP +.B sync_lookahead=<0\-250> +Adjusts the size of the threaded lookahead buffer (default: 0). +0 or 'auto' tells x264 to automatically determine buffer size. +. +.TP +.B (no)deterministic +Use only deterministic optimizations with multithreaded encoding (default: +enabled). +. +.TP .B (no)global_header Causes SPS and PPS to appear only once, at the beginning of the bitstream (default: disabled). @@ -10603,6 +10674,16 @@ The default behavior causes SPS and PPS to repeat prior to each IDR frame. Treat the video content as interlaced. . .TP +.B (no)constrained_intra +Enable constrained intra prediction (default: disabled). +This significantly reduces compression, but is required for the base layer of +SVC encodes. +. +.TP +.B (no)aud +Write access unit delimeters to the stream (default: disabled). +. +.TP .B log=<\-1\-3> Adjust the amount of logging info printed to the screen. .PD 0 @@ -10644,6 +10725,11 @@ If the x264 on your system supports it, a new window will be opened during the encoding process, in which x264 will attempt to present an overview of how each frame gets encoded. Each block type on the visualized movie will be colored as follows: +. +.TP +.B dump_yuv= +Dump YUV frames to the specified file. +For debugging use. .PD 0 .RSs .IPs red/pink -- cgit v1.2.3