[SCM] x264/master: Generate x264 manpage only once and drop build-depends on help2man. This make for one less build dependency to put on the buildd machines. x264 manpage should be generated once for each new release on a dev machine and tracked in git packaging repo.

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Wed Jul 27 02:23:39 UTC 2011


The following commit has been merged in the master branch:
commit 375cc9507a860cf6288245025c9aa2275226ca36
Author: Andres Mejia <mcitadel at gmail.com>
Date:   Tue Jul 26 22:21:37 2011 -0400

    Generate x264 manpage only once and drop build-depends on help2man.
    This make for one less build dependency to put on the buildd machines.
    x264 manpage should be generated once for each new release on a dev machine and
    tracked in git packaging repo.

diff --git a/debian/control b/debian/control
index 1424e79..54af266 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,6 @@ Uploaders: Reinhard Tartler <siretart at tauware.de>,
            Andres Mejia <amejia at debian.org>
 Build-Depends: debhelper (>= 7.0.50~),
                libavformat-dev (>= 4:0.5),
-               help2man,
                yasm [i386 amd64 kfreebsd-amd64 lpia],
                libx11-dev,
 Standards-Version: 3.9.2
diff --git a/debian/rules b/debian/rules
index 4396ccf..1c70031 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,8 +30,6 @@ ifeq ($(do_opt),yes)
 	$(MAKE)
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/install/opt
 endif
-	help2man -n"fast h264 encoder" -N -s1 -S "Videolan project" -h '--fullhelp' \
-		debian/install/static/usr/bin/x264 > debian/x264.1
 
 override_dh_auto_configure:
 	# dh_auto_configure phase handled via dh_auto_build.
@@ -42,7 +40,7 @@ override_dh_auto_install:
 override_dh_auto_clean:
 	rm -rf debian/install
 	$(MAKE) -o config.mak distclean
-	dh_clean debian/x264.1 config.mak2
+	dh_clean config.mak2
 
 override_dh_install:
 	dh_install --list-missing --sourcedir=debian/install
@@ -50,3 +48,14 @@ ifeq ($(do_opt),yes)
 	mkdir -p debian/$(libx264N)$(opt_libdir)
 	cp -a debian/install/opt$(opt_libdir)/*.so.* debian/$(libx264N)$(opt_libdir)
 endif
+
+override_dh_installman:
+	test -f debian/x264.1 || debian/rules debian/x264.1
+	dh_installman
+
+debian/x264.1: debian/install/static/usr/bin/x264
+	help2man -n"fast h264 encoder" -N -s1 -S "Videolan project" -h '--fullhelp' \
+		debian/install/static/usr/bin/x264 > debian/x264.1
+
+debian/install/static/usr/bin/x264:
+	debian/rules build
diff --git a/debian/x264.1 b/debian/x264.1
new file mode 100644
index 0000000..d257026
--- /dev/null
+++ b/debian/x264.1
@@ -0,0 +1,711 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.40.4.
+.TH X264 "1" "July 2011" "Videolan project" "User Commands"
+.SH NAME
+x264 \- fast h264 encoder
+.SH DESCRIPTION
+x264 core:116 r2037 f8ebd4a
+Syntax: x264 [options] \fB\-o\fR outfile infile
+.PP
+Infile can be raw (in which case resolution is required),
+.IP
+or YUV4MPEG (*.y4m),
+or Avisynth if compiled with support (no).
+or libav* formats if compiled with lavf support (no) or ffms support (yes).
+.SS "Outfile type is selected by filename:"
+.IP
+\&.264 \-> Raw bytestream
+\&.mkv \-> Matroska
+\&.flv \-> Flash Video
+\&.mp4 \-> MP4 if compiled with GPAC support (yes)
+.PP
+Output bit depth: 8 (configured at compile time)
+.SH OPTIONS
+
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+List basic options
+.TP
+\fB\-\-longhelp\fR
+List more options
+.TP
+\fB\-\-fullhelp\fR
+List all options
+.PP
+Example usage:
+.IP
+Constant quality mode:
+.IP
+x264 \fB\-\-crf\fR 24 \fB\-o\fR <output> <input>
+.IP
+Two\-pass with a bitrate of 1000kbps:
+.IP
+x264 \fB\-\-pass\fR 1 \fB\-\-bitrate\fR 1000 \fB\-o\fR <output> <input>
+x264 \fB\-\-pass\fR 2 \fB\-\-bitrate\fR 1000 \fB\-o\fR <output> <input>
+.IP
+Lossless:
+.IP
+x264 \fB\-\-qp\fR 0 \fB\-o\fR <output> <input>
+.IP
+Maximum PSNR at the cost of speed and visual quality:
+.IP
+x264 \fB\-\-preset\fR placebo \fB\-\-tune\fR psnr \fB\-o\fR <output> <input>
+.IP
+Constant bitrate at 1000kbps with a 2 second\-buffer:
+.IP
+x264 \fB\-\-vbv\-bufsize\fR 2000 \fB\-\-bitrate\fR 1000 \fB\-o\fR <output> <input>
+.PP
+Presets:
+.TP
+\fB\-\-profile\fR <string>
+Force the limits of an H.264 profile
+Overrides all settings.
+\- baseline:
+.IP
+\fB\-\-no\-8x8dct\fR \fB\-\-bframes\fR 0 \fB\-\-no\-cabac\fR
+\fB\-\-cqm\fR flat \fB\-\-weightp\fR 0
+No interlaced.
+No lossless.
+.IP
+\- main:
+.IP
+\fB\-\-no\-8x8dct\fR \fB\-\-cqm\fR flat
+No lossless.
+.IP
+\- high:
+.IP
+No lossless.
+.IP
+\- high10:
+.IP
+No lossless.
+Support for bit depth 8\-10.
+.TP
+\fB\-\-preset\fR <string>
+Use a preset to select encoding settings [medium]
+Overridden by user settings.
+\- ultrafast:
+.IP
+\fB\-\-no\-8x8dct\fR \fB\-\-aq\-mode\fR 0 \fB\-\-b\-adapt\fR 0
+\fB\-\-bframes\fR 0 \fB\-\-no\-cabac\fR \fB\-\-no\-deblock\fR
+\fB\-\-no\-mbtree\fR \fB\-\-me\fR dia \fB\-\-no\-mixed\-refs\fR
+\fB\-\-partitions\fR none \fB\-\-rc\-lookahead\fR 0 \fB\-\-ref\fR 1
+\fB\-\-scenecut\fR 0 \fB\-\-subme\fR 0 \fB\-\-trellis\fR 0
+\fB\-\-no\-weightb\fR \fB\-\-weightp\fR 0
+.IP
+\- superfast:
+.IP
+\fB\-\-no\-mbtree\fR \fB\-\-me\fR dia \fB\-\-no\-mixed\-refs\fR
+\fB\-\-partitions\fR i8x8,i4x4 \fB\-\-rc\-lookahead\fR 0
+\fB\-\-ref\fR 1 \fB\-\-subme\fR 1 \fB\-\-trellis\fR 0 \fB\-\-weightp\fR 1
+.IP
+\- veryfast:
+.IP
+\fB\-\-no\-mixed\-refs\fR \fB\-\-rc\-lookahead\fR 10
+\fB\-\-ref\fR 1 \fB\-\-subme\fR 2 \fB\-\-trellis\fR 0 \fB\-\-weightp\fR 1
+.IP
+\- faster:
+.IP
+\fB\-\-no\-mixed\-refs\fR \fB\-\-rc\-lookahead\fR 20
+\fB\-\-ref\fR 2 \fB\-\-subme\fR 4 \fB\-\-weightp\fR 1
+.IP
+\- fast:
+.IP
+\fB\-\-rc\-lookahead\fR 30 \fB\-\-ref\fR 2 \fB\-\-subme\fR 6
+\fB\-\-weightp\fR 1
+.IP
+\- medium:
+.IP
+Default settings apply.
+.IP
+\- slow:
+.IP
+\fB\-\-b\-adapt\fR 2 \fB\-\-direct\fR auto \fB\-\-me\fR umh
+\fB\-\-rc\-lookahead\fR 50 \fB\-\-ref\fR 5 \fB\-\-subme\fR 8
+.IP
+\- slower:
+.IP
+\fB\-\-b\-adapt\fR 2 \fB\-\-direct\fR auto \fB\-\-me\fR umh
+\fB\-\-partitions\fR all \fB\-\-rc\-lookahead\fR 60
+\fB\-\-ref\fR 8 \fB\-\-subme\fR 9 \fB\-\-trellis\fR 2
+.IP
+\- veryslow:
+.IP
+\fB\-\-b\-adapt\fR 2 \fB\-\-bframes\fR 8 \fB\-\-direct\fR auto
+\fB\-\-me\fR umh \fB\-\-merange\fR 24 \fB\-\-partitions\fR all
+\fB\-\-ref\fR 16 \fB\-\-subme\fR 10 \fB\-\-trellis\fR 2
+\fB\-\-rc\-lookahead\fR 60
+.IP
+\- placebo:
+.IP
+\fB\-\-bframes\fR 16 \fB\-\-b\-adapt\fR 2 \fB\-\-direct\fR auto
+\fB\-\-slow\-firstpass\fR \fB\-\-no\-fast\-pskip\fR
+\fB\-\-me\fR tesa \fB\-\-merange\fR 24 \fB\-\-partitions\fR all
+\fB\-\-rc\-lookahead\fR 60 \fB\-\-ref\fR 16 \fB\-\-subme\fR 11
+\fB\-\-trellis\fR 2
+.TP
+\fB\-\-tune\fR <string>
+Tune the settings for a particular type of source
+or situation
+.IP
+Overridden by user settings.
+Multiple tunings are separated by commas.
+Only one psy tuning can be used at a time.
+\- film (psy tuning):
+.IP
+\fB\-\-deblock\fR \fB\-1\fR:\-1 \fB\-\-psy\-rd\fR <unset>:0.15
+.IP
+\- animation (psy tuning):
+.IP
+\fB\-\-bframes\fR {+2} \fB\-\-deblock\fR 1:1
+\fB\-\-psy\-rd\fR 0.4:<unset> \fB\-\-aq\-strength\fR 0.6
+\fB\-\-ref\fR {Double if >1 else 1}
+.IP
+\- grain (psy tuning):
+.IP
+\fB\-\-aq\-strength\fR 0.5 \fB\-\-no\-dct\-decimate\fR
+\fB\-\-deadzone\-inter\fR 6 \fB\-\-deadzone\-intra\fR 6
+\fB\-\-deblock\fR \fB\-2\fR:\-2 \fB\-\-ipratio\fR 1.1
+\fB\-\-pbratio\fR 1.1 \fB\-\-psy\-rd\fR <unset>:0.25
+\fB\-\-qcomp\fR 0.8
+.IP
+\- stillimage (psy tuning):
+.IP
+\fB\-\-aq\-strength\fR 1.2 \fB\-\-deblock\fR \fB\-3\fR:\-3
+\fB\-\-psy\-rd\fR 2.0:0.7
+.IP
+\- psnr (psy tuning):
+.IP
+\fB\-\-aq\-mode\fR 0 \fB\-\-no\-psy\fR
+.IP
+\- ssim (psy tuning):
+.IP
+\fB\-\-aq\-mode\fR 2 \fB\-\-no\-psy\fR
+.IP
+\- fastdecode:
+.IP
+\fB\-\-no\-cabac\fR \fB\-\-no\-deblock\fR \fB\-\-no\-weightb\fR
+\fB\-\-weightp\fR 0
+.IP
+\- zerolatency:
+.IP
+\fB\-\-bframes\fR 0 \fB\-\-force\-cfr\fR \fB\-\-no\-mbtree\fR
+\fB\-\-sync\-lookahead\fR 0 \fB\-\-sliced\-threads\fR
+\fB\-\-rc\-lookahead\fR 0
+.TP
+\fB\-\-slow\-firstpass\fR
+Don't force these faster settings with \fB\-\-pass\fR 1:
+\fB\-\-no\-8x8dct\fR \fB\-\-me\fR dia \fB\-\-partitions\fR none
+\fB\-\-ref\fR 1 \fB\-\-subme\fR {2 if >2 else unchanged}
+\fB\-\-trellis\fR 0 \fB\-\-fast\-pskip\fR
+.PP
+Frame\-type options:
+.HP
+\fB\-I\fR, \fB\-\-keyint\fR <integer or "infinite"> Maximum GOP size [250]
+.TP
+\fB\-i\fR, \fB\-\-min\-keyint\fR <integer>
+Minimum GOP size [auto]
+.TP
+\fB\-\-no\-scenecut\fR
+Disable adaptive I\-frame decision
+.TP
+\fB\-\-scenecut\fR <integer>
+How aggressively to insert extra I\-frames [40]
+.TP
+\fB\-\-intra\-refresh\fR
+Use Periodic Intra Refresh instead of IDR frames
+.TP
+\fB\-b\fR, \fB\-\-bframes\fR <integer>
+Number of B\-frames between I and P [3]
+.TP
+\fB\-\-b\-adapt\fR <integer>
+Adaptive B\-frame decision method [1]
+Higher values may lower threading efficiency.
+\- 0: Disabled
+\- 1: Fast
+\- 2: Optimal (slow with high \fB\-\-bframes\fR)
+.TP
+\fB\-\-b\-bias\fR <integer>
+Influences how often B\-frames are used [0]
+.TP
+\fB\-\-b\-pyramid\fR <string>
+Keep some B\-frames as references [normal]
+\- none: Disabled
+\- strict: Strictly hierarchical pyramid
+\- normal: Non\-strict (not Blu\-ray compatible)
+.TP
+\fB\-\-open\-gop\fR
+Use recovery points to close GOPs
+Only available with b\-frames
+.TP
+\fB\-\-no\-cabac\fR
+Disable CABAC
+.TP
+\fB\-r\fR, \fB\-\-ref\fR <integer>
+Number of reference frames [3]
+.TP
+\fB\-\-no\-deblock\fR
+Disable loop filter
+.TP
+\fB\-f\fR, \fB\-\-deblock\fR <alpha:beta>
+Loop filter parameters [0:0]
+.TP
+\fB\-\-slices\fR <integer>
+Number of slices per frame; forces rectangular
+slices and is overridden by other slicing options
+.HP
+\fB\-\-slice\-max\-size\fR <integer> Limit the size of each slice in bytes
+.HP
+\fB\-\-slice\-max\-mbs\fR <integer> Limit the size of each slice in macroblocks
+.TP
+\fB\-\-tff\fR
+Enable interlaced mode (top field first)
+.TP
+\fB\-\-bff\fR
+Enable interlaced mode (bottom field first)
+.TP
+\fB\-\-constrained\-intra\fR
+Enable constrained intra prediction.
+.TP
+\fB\-\-pulldown\fR <string>
+Use soft pulldown to change frame rate
+\- none, 22, 32, 64, double, triple, euro (requires cfr input)
+.TP
+\fB\-\-fake\-interlaced\fR
+Flag stream as interlaced but encode progressive.
+Makes it possible to encode 25p and 30p Blu\-Ray
+streams. Ignored in interlaced mode.
+.TP
+\fB\-\-frame\-packing\fR <integer> For stereoscopic videos define frame arrangement
+\- 0: checkerboard \- pixels are alternatively from L and R
+\- 1: column alternation \- L and R are interlaced by column
+\- 2: row alternation \- L and R are interlaced by row
+\- 3: side by side \- L is on the left, R on the right
+\- 4: top bottom \- L is on top, R on bottom
+\- 5: frame alternation \- one view per frame
+.PP
+Ratecontrol:
+.TP
+\fB\-q\fR, \fB\-\-qp\fR <integer>
+Force constant QP (0\-69, 0=lossless)
+.TP
+\fB\-B\fR, \fB\-\-bitrate\fR <integer>
+Set bitrate (kbit/s)
+.TP
+\fB\-\-crf\fR <float>
+Quality\-based VBR (0\-51) [23.0]
+.HP
+\fB\-\-rc\-lookahead\fR <integer> Number of frames for frametype lookahead [40]
+.HP
+\fB\-\-vbv\-maxrate\fR <integer> Max local bitrate (kbit/s) [0]
+.HP
+\fB\-\-vbv\-bufsize\fR <integer> Set size of the VBV buffer (kbit) [0]
+.TP
+\fB\-\-vbv\-init\fR <float>
+Initial VBV buffer occupancy [0.9]
+.TP
+\fB\-\-crf\-max\fR <float>
+With CRF+VBV, limit RF to this value
+May cause VBV underflows!
+.TP
+\fB\-\-qpmin\fR <integer>
+Set min QP [0]
+.TP
+\fB\-\-qpmax\fR <integer>
+Set max QP [69]
+.TP
+\fB\-\-qpstep\fR <integer>
+Set max QP step [4]
+.TP
+\fB\-\-ratetol\fR <float>
+Tolerance of ABR ratecontrol and VBV [1.0]
+.TP
+\fB\-\-ipratio\fR <float>
+QP factor between I and P [1.40]
+.TP
+\fB\-\-pbratio\fR <float>
+QP factor between P and B [1.30]
+.TP
+\fB\-\-chroma\-qp\-offset\fR <integer>
+QP difference between chroma and luma [0]
+.TP
+\fB\-\-aq\-mode\fR <integer>
+AQ method [1]
+\- 0: Disabled
+\- 1: Variance AQ (complexity mask)
+\- 2: Auto\-variance AQ (experimental)
+.TP
+\fB\-\-aq\-strength\fR <float>
+Reduces blocking and blurring in flat and
+textured areas. [1.0]
+.TP
+\fB\-p\fR, \fB\-\-pass\fR <integer>
+Enable multipass ratecontrol
+\- 1: First pass, creates stats file
+\- 2: Last pass, does not overwrite stats file
+\- 3: Nth pass, overwrites stats file
+.TP
+\fB\-\-stats\fR <string>
+Filename for 2 pass stats ["x264_2pass.log"]
+.TP
+\fB\-\-no\-mbtree\fR
+Disable mb\-tree ratecontrol.
+.TP
+\fB\-\-qcomp\fR <float>
+QP curve compression [0.60]
+.TP
+\fB\-\-cplxblur\fR <float>
+Reduce fluctuations in QP (before curve compression) [20.0]
+.TP
+\fB\-\-qblur\fR <float>
+Reduce fluctuations in QP (after curve compression) [0.5]
+.TP
+\fB\-\-zones\fR <zone0>/<zone1>/...
+Tweak the bitrate of regions of the video
+Each zone is of the form
+.IP
+<start frame>,<end frame>,<option>
+where <option> is either
+.IP
+q=<integer> (force QP)
+.TP
+or
+b=<float> (bitrate multiplier)
+.TP
+\fB\-\-qpfile\fR <string>
+Force frametypes and QPs for some or all frames
+Format of each line: framenumber frametype QP
+QP is optional (none lets x264 choose). Frametypes: I,i,K,P,B,b.
+.IP
+K=<I or i> depending on open\-gop setting
+.IP
+QPs are restricted by qpmin/qpmax.
+.PP
+Analysis:
+.TP
+\fB\-A\fR, \fB\-\-partitions\fR <string>
+Partitions to consider ["p8x8,b8x8,i8x8,i4x4"]
+\- p8x8, p4x4, b8x8, i8x8, i4x4
+\- none, all
+(p4x4 requires p8x8. i8x8 requires \fB\-\-8x8dct\fR.)
+.TP
+\fB\-\-direct\fR <string>
+Direct MV prediction mode ["spatial"]
+\- none, spatial, temporal, auto
+.TP
+\fB\-\-no\-weightb\fR
+Disable weighted prediction for B\-frames
+.TP
+\fB\-\-weightp\fR <integer>
+Weighted prediction for P\-frames [2]
+\- 0: Disabled
+\- 1: Weighted refs
+\- 2: Weighted refs + Duplicates
+.TP
+\fB\-\-me\fR <string>
+Integer pixel motion estimation method ["hex"]
+\- dia: diamond search, radius 1 (fast)
+\- hex: hexagonal search, radius 2
+\- umh: uneven multi\-hexagon search
+\- esa: exhaustive search
+\- tesa: hadamard exhaustive search (slow)
+.TP
+\fB\-\-merange\fR <integer>
+Maximum motion vector search range [16]
+.TP
+\fB\-\-mvrange\fR <integer>
+Maximum motion vector length [\-1 (auto)]
+.TP
+\fB\-\-mvrange\-thread\fR <int>
+Minimum buffer between threads [\-1 (auto)]
+.TP
+\fB\-m\fR, \fB\-\-subme\fR <integer>
+Subpixel motion estimation and mode decision [7]
+\- 0: fullpel only (not recommended)
+\- 1: SAD mode decision, one qpel iteration
+\- 2: SATD mode decision
+\- 3\-5: Progressively more qpel
+\- 6: RD mode decision for I/P\-frames
+\- 7: RD mode decision for all frames
+\- 8: RD refinement for I/P\-frames
+\- 9: RD refinement for all frames
+\- 10: QP\-RD \- requires trellis=2, aq\-mode>0
+\- 11: Full RD: disable all early terminations
+.TP
+\fB\-\-psy\-rd\fR <float:float>
+Strength of psychovisual optimization ["1.0:0.0"]
+#1: RD (requires subme>=6)
+#2: Trellis (requires trellis, experimental)
+.TP
+\fB\-\-no\-psy\fR
+Disable all visual optimizations that worsen
+both PSNR and SSIM.
+.TP
+\fB\-\-no\-mixed\-refs\fR
+Don't decide references on a per partition basis
+.TP
+\fB\-\-no\-chroma\-me\fR
+Ignore chroma in motion estimation
+.TP
+\fB\-\-no\-8x8dct\fR
+Disable adaptive spatial transform size
+.TP
+\fB\-t\fR, \fB\-\-trellis\fR <integer>
+Trellis RD quantization. [1]
+\- 0: disabled
+\- 1: enabled only on the final encode of a MB
+\- 2: enabled on all mode decisions
+.TP
+\fB\-\-no\-fast\-pskip\fR
+Disables early SKIP detection on P\-frames
+.TP
+\fB\-\-no\-dct\-decimate\fR
+Disables coefficient thresholding on P\-frames
+.TP
+\fB\-\-nr\fR <integer>
+Noise reduction [0]
+.TP
+\fB\-\-deadzone\-inter\fR <int>
+Set the size of the inter luma quantization deadzone [21]
+.TP
+\fB\-\-deadzone\-intra\fR <int>
+Set the size of the intra luma quantization deadzone [11]
+Deadzones should be in the range 0 \- 32.
+.TP
+\fB\-\-cqm\fR <string>
+Preset quant matrices ["flat"]
+\- jvt, flat
+.TP
+\fB\-\-cqmfile\fR <string>
+Read custom quant matrices from a JM\-compatible file
+Overrides any other \fB\-\-cqm\fR* options.
+.TP
+\fB\-\-cqm4\fR <list>
+Set all 4x4 quant matrices
+Takes a comma\-separated list of 16 integers.
+.TP
+\fB\-\-cqm8\fR <list>
+Set all 8x8 quant matrices
+Takes a comma\-separated list of 64 integers.
+.TP
+\fB\-\-cqm4i\fR, \fB\-\-cqm4p\fR, \fB\-\-cqm8i\fR, \fB\-\-cqm8p\fR <list>
+Set both luma and chroma quant matrices
+.TP
+\fB\-\-cqm4iy\fR, \fB\-\-cqm4ic\fR, \fB\-\-cqm4py\fR, \fB\-\-cqm4pc\fR <list>
+Set individual quant matrices
+.PP
+Video Usability Info (Annex E):
+The VUI settings are not used by the encoder but are merely suggestions to
+the playback equipment. See doc/vui.txt for details. Use at your own risk.
+.TP
+\fB\-\-overscan\fR <string>
+Specify crop overscan setting ["undef"]
+\- undef, show, crop
+.TP
+\fB\-\-videoformat\fR <string>
+Specify video format ["undef"]
+\- component, pal, ntsc, secam, mac, undef
+.TP
+\fB\-\-fullrange\fR <string>
+Specify full range samples setting ["???"]
+\- off, on
+.TP
+\fB\-\-colorprim\fR <string>
+Specify color primaries ["undef"]
+\- undef, bt709, bt470m, bt470bg
+.IP
+smpte170m, smpte240m, film
+.TP
+\fB\-\-transfer\fR <string>
+Specify transfer characteristics ["undef"]
+\- undef, bt709, bt470m, bt470bg, linear,
+.IP
+log100, log316, smpte170m, smpte240m
+.TP
+\fB\-\-colormatrix\fR <string>
+Specify color matrix setting ["???"]
+\- undef, bt709, fcc, bt470bg
+.IP
+smpte170m, smpte240m, GBR, YCgCo
+.TP
+\fB\-\-chromaloc\fR <integer>
+Specify chroma sample location (0 to 5) [0]
+.TP
+\fB\-\-nal\-hrd\fR <string>
+Signal HRD information (requires vbv\-bufsize)
+\- none, vbr, cbr (cbr not allowed in .mp4)
+.TP
+\fB\-\-pic\-struct\fR
+Force pic_struct in Picture Timing SEI
+.TP
+\fB\-\-crop\-rect\fR <string>
+Add 'left,top,right,bottom' to the bitstream\-level
+cropping rectangle
+.PP
+Input/Output:
+.TP
+\fB\-o\fR, \fB\-\-output\fR <string>
+Specify output file
+.TP
+\fB\-\-muxer\fR <string>
+Specify output container format ["auto"]
+\- auto, raw, mkv, flv, mp4
+.TP
+\fB\-\-demuxer\fR <string>
+Specify input container format ["auto"]
+\- auto, raw, y4m, ffms
+.TP
+\fB\-\-input\-fmt\fR <string>
+Specify input file format (requires lavf support)
+.TP
+\fB\-\-input\-csp\fR <string>
+Specify input colorspace format for raw input
+\- valid csps for `raw' demuxer:
+.IP
+i420, yv12, nv12, i444, yv24, bgr, bgra, rgb, i422
+.TP
+\fB\-\-output\-csp\fR <string>
+Specify output colorspace ["i420"]
+\- i420, i444, rgb
+.HP
+\fB\-\-input\-depth\fR <integer> Specify input bit depth for raw input
+.TP
+\fB\-\-input\-res\fR <intxint>
+Specify input resolution (width x height)
+.TP
+\fB\-\-index\fR <string>
+Filename for input index file
+.TP
+\fB\-\-sar\fR width:height
+Specify Sample Aspect Ratio
+.TP
+\fB\-\-fps\fR <float|rational>
+Specify framerate
+.TP
+\fB\-\-seek\fR <integer>
+First frame to encode
+.TP
+\fB\-\-frames\fR <integer>
+Maximum number of frames to encode
+.TP
+\fB\-\-level\fR <string>
+Specify level (as defined by Annex A)
+.TP
+\fB\-\-bluray\-compat\fR
+Enable compatibility hacks for Blu\-ray support
+.TP
+\fB\-v\fR, \fB\-\-verbose\fR
+Print stats for each frame
+.TP
+\fB\-\-no\-progress\fR
+Don't show the progress indicator while encoding
+.TP
+\fB\-\-quiet\fR
+Quiet Mode
+.TP
+\fB\-\-log\-level\fR <string>
+Specify the maximum level of logging ["info"]
+\- none, error, warning, info, debug
+.TP
+\fB\-\-psnr\fR
+Enable PSNR computation
+.TP
+\fB\-\-ssim\fR
+Enable SSIM computation
+.TP
+\fB\-\-threads\fR <integer>
+Force a specific number of threads
+.TP
+\fB\-\-sliced\-threads\fR
+Low\-latency but lower\-efficiency threading
+.TP
+\fB\-\-thread\-input\fR
+Run Avisynth in its own thread
+.HP
+\fB\-\-sync\-lookahead\fR <integer> Number of buffer frames for threaded lookahead
+.TP
+\fB\-\-non\-deterministic\fR
+Slightly improve quality of SMP, at the cost of repeatability
+.TP
+\fB\-\-asm\fR <integer>
+Override CPU detection
+.TP
+\fB\-\-no\-asm\fR
+Disable all CPU optimizations
+.TP
+\fB\-\-visualize\fR
+Show MB types overlayed on the encoded video
+.TP
+\fB\-\-dump\-yuv\fR <string>
+Save reconstructed frames
+.TP
+\fB\-\-sps\-id\fR <integer>
+Set SPS and PPS id numbers [0]
+.TP
+\fB\-\-aud\fR
+Use access unit delimiters
+.TP
+\fB\-\-force\-cfr\fR
+Force constant framerate timestamp generation
+.TP
+\fB\-\-tcfile\-in\fR <string>
+Force timestamp generation with timecode file
+.TP
+\fB\-\-tcfile\-out\fR <string>
+Output timecode v2 file from input timestamps
+.TP
+\fB\-\-timebase\fR <int/int>
+Specify timebase numerator and denominator
+.TP
+<integer>
+Specify timebase numerator for input timecode file
+or specify timebase denominator for other input
+.TP
+\fB\-\-dts\-compress\fR
+Eliminate initial delay with container DTS hack
+.PP
+Filtering:
+.HP
+\fB\-\-vf\fR, \fB\-\-video\-filter\fR <filter0>/<filter1>/... Apply video filtering to the input file
+.IP
+Filter options may be specified in <filter>:<option>=<value> format.
+.IP
+Available filters:
+crop:left,top,right,bottom
+.IP
+removes pixels from the edges of the frame
+.IP
+resize:[width,height][,sar][,fittobox][,csp][,method]
+.IP
+resizes frames based on the given criteria:
+\- resolution only: resizes and adapts sar to avoid stretching
+\- sar only: sets the sar and resizes to avoid stretching
+\- resolution and sar: resizes to given resolution and sets the sar
+\- fittobox: resizes the video based on the desired constraints
+.IP
+\- width, height, both
+.IP
+\- fittobox and sar: same as above except with specified sar
+\- csp: convert to the given csp. syntax: [name][:depth]
+.IP
+\- valid csp names [keep current]: i420, yv12, nv12, i444, yv24, bgr, bgra, rgb, i422
+\- depth: 8 or 16 bits per pixel [keep current]
+.IP
+note: not all depths are supported by all csps.
+\- method: use resizer method ["bicubic"]
+.IP
+\- fastbilinear, bilinear, bicubic, experimental, point,
+\- area, bicublin, gauss, sinc, lanczos, spline
+.IP
+select_every:step,offset1[,...]
+.IP
+apply a selection pattern to input frames
+step: the number of frames in the pattern
+offsets: the offset into the step to select a frame
+see: http://avisynth.org/mediawiki/Select#SelectEvery
+.PP
+(libswscale 2.0.0)
+(ffmpegsource 2.14.2.0)
+built on Jul 26 2011, gcc: 4.6.1
+configuration: \fB\-\-bit\-depth\fR=\fI8\fR
+x264 license: GPL version 2 or later
+libswscale/ffmpegsource license: GPL version 2 or later

-- 
x264 packaging



More information about the pkg-multimedia-commits mailing list