.TH VPXENC "1" "August 2016" .SH NAME vpxenc \- VP8 and VP9 video codec encoding tool .SH SYNOPSIS .B vpxenc \fI\, -o dst_filename src_filename\/\fR .SH OPTIONS .TP \fB\-D\fR, \fB\-\-debug\fR Debug mode (makes output deterministic) .TP \fB\-o\fR , \fB\-\-output=\fR Output filename .TP \fB\-\-codec=\fR Codec to use .TP \fB\-p\fR , \fB\-\-passes=\fR Number of passes (1/2) .TP \fB\-\-pass=\fR Pass to execute (1/2) .TP \fB\-\-fpf=\fR First pass statistics file name .TP \fB\-\-limit=\fR Stop encoding after n input frames .TP \fB\-\-skip=\fR Skip the first n input frames .TP \fB\-d\fR , \fB\-\-deadline=\fR Deadline per frame (usec) .TP \fB\-\-best\fR Use Best Quality Deadline .TP \fB\-\-good\fR Use Good Quality Deadline .TP \fB\-\-rt\fR Use Realtime Quality Deadline .TP \fB\-q\fR, \fB\-\-quiet\fR Do not print encode progress .TP \fB\-v\fR, \fB\-\-verbose\fR Show encoder parameters .TP \fB\-\-psnr\fR Show PSNR in status line .TP \fB\-\-webm\fR Output WebM (default when WebM IO is enabled) .TP \fB\-\-ivf\fR Output IVF .TP \fB\-P\fR, \fB\-\-output\-partitions\fR Makes encoder output partitions. Requires IVF output! .TP \fB\-\-q\-hist=\fR Show quantizer histogram (n\-buckets) .TP \fB\-\-rate\-hist=\fR Show rate histogram (n\-buckets) .TP \fB\-\-disable\-warnings\fR Disable warnings about potentially incorrect encode settings. .TP \fB\-y\fR, \fB\-\-disable\-warning\-prompt\fR Display warnings, but do not prompt user to continue. .TP \fB\-\-test\-decode=\fR Test encode/decode mismatch .IP off, fatal, warn .SS "Encoder Global Options:" .TP \fB\-\-yv12\fR Input file is YV12 .TP \fB\-\-i420\fR Input file is I420 (default) .TP \fB\-\-i422\fR Input file is I422 .TP \fB\-\-i444\fR Input file is I444 .TP \fB\-\-i440\fR Input file is I440 .TP \fB\-u\fR , \fB\-\-usage=\fR Usage profile number to use .TP \fB\-t\fR , \fB\-\-threads=\fR Max number of threads to use .TP \fB\-\-profile=\fR Bitstream profile number to use .TP \fB\-w\fR , \fB\-\-width=\fR Frame width .TP \fB\-h\fR , \fB\-\-height=\fR Frame height .TP \fB\-\-stereo\-mode=\fR Stereo 3D video format .IP mono, left\-right, bottom\-top, top\-bottom, right\-left .TP \fB\-\-timebase=\fR Output timestamp precision (fractional seconds) .TP \fB\-\-fps=\fR Stream frame rate (rate/scale) .TP \fB\-\-error\-resilient=\fR Enable error resiliency features .TP \fB\-\-lag\-in\-frames=\fR Max number of frames to lag .SS "Rate Control Options:" .TP \fB\-\-drop\-frame=\fR Temporal resampling threshold (buf %) .TP \fB\-\-resize\-allowed=\fR Spatial resampling enabled (bool) .TP \fB\-\-resize\-width=\fR Width of encoded frame .TP \fB\-\-resize\-height=\fR Height of encoded frame .TP \fB\-\-resize\-up=\fR Upscale threshold (buf %) .TP \fB\-\-resize\-down=\fR Downscale threshold (buf %) .TP \fB\-\-end\-usage=\fR Rate control mode .IP vbr, cbr, cq, q .TP \fB\-\-target\-bitrate=\fR Bitrate (kbps) .TP \fB\-\-min\-q=\fR Minimum (best) quantizer .TP \fB\-\-max\-q=\fR Maximum (worst) quantizer .TP \fB\-\-undershoot\-pct=\fR Datarate undershoot (min) target (%) .TP \fB\-\-overshoot\-pct=\fR Datarate overshoot (max) target (%) .TP \fB\-\-buf\-sz=\fR Client buffer size (ms) .TP \fB\-\-buf\-initial\-sz=\fR Client initial buffer size (ms) .TP \fB\-\-buf\-optimal\-sz=\fR Client optimal buffer size (ms) .SS "Twopass Rate Control Options:" .TP \fB\-\-bias\-pct=\fR CBR/VBR bias (0=CBR, 100=VBR) .TP \fB\-\-minsection\-pct=\fR GOP min bitrate (% of target) .TP \fB\-\-maxsection\-pct=\fR GOP max bitrate (% of target) .SS "Keyframe Placement Options:" .TP \fB\-\-kf\-min\-dist=\fR Minimum keyframe interval (frames) .TP \fB\-\-kf\-max\-dist=\fR Maximum keyframe interval (frames) .TP \fB\-\-disable\-kf\fR Disable keyframe placement .SS "VP8 Specific Options:" .TP \fB\-\-cpu\-used=\fR CPU Used (\fB\-16\fR..16) .TP \fB\-\-auto\-alt\-ref=\fR Enable automatic alt reference frames .TP \fB\-\-noise\-sensitivity=\fR Noise sensitivity (frames to blur) .TP \fB\-\-sharpness=\fR Loop filter sharpness (0..7) .TP \fB\-\-static\-thresh=\fR Motion detection threshold .TP \fB\-\-token\-parts=\fR Number of token partitions to use, log2 .TP \fB\-\-arnr\-maxframes=\fR AltRef max frames (0..15) .TP \fB\-\-arnr\-strength=\fR AltRef filter strength (0..6) .TP \fB\-\-arnr\-type=\fR AltRef type .TP \fB\-\-tune=\fR Material to favor .IP psnr, ssim .TP \fB\-\-cq\-level=\fR Constant/Constrained Quality level .TP \fB\-\-max\-intra\-rate=\fR Max I\-frame bitrate (pct) .TP \fB\-\-screen\-content\-mode=\fR CPU Used (\fB\-8\fR..8) .TP \fB\-\-auto\-alt\-ref=\fR Enable automatic alt reference frames .TP \fB\-\-sharpness=\fR Loop filter sharpness (0..7) .TP \fB\-\-static\-thresh=\fR Motion detection threshold .TP \fB\-\-tile\-columns=\fR Number of tile columns to use, log2 .TP \fB\-\-tile\-rows=\fR Number of tile rows to use, log2 (set to 0 while threads > 1) .TP \fB\-\-arnr\-maxframes=\fR AltRef max frames (0..15) .TP \fB\-\-arnr\-strength=\fR AltRef filter strength (0..6) .TP \fB\-\-arnr\-type=\fR AltRef type .TP \fB\-\-tune=\fR Material to favor .IP psnr, ssim .TP \fB\-\-cq\-level=\fR Constant/Constrained Quality level .TP \fB\-\-max\-intra\-rate=\fR Max I\-frame bitrate (pct) .TP \fB\-\-max\-inter\-rate=\fR Max P\-frame bitrate (pct) .TP \fB\-\-gf\-cbr\-boost=\fR Boost for Golden Frame in CBR mode (pct) .TP \fB\-\-lossless=\fR Lossless mode (0: false (default), 1: true) .TP \fB\-\-frame\-parallel=\fR Enable frame parallel decodability features .TP \fB\-\-aq\-mode=\fR Adaptive quantization mode (0: off (default), 1: variance 2: complexity, 3: cyclic refresh, 4: equator360) .TP \fB\-\-frame\-boost=\fR Enable frame periodic boost (0: off (default), 1: on) .TP \fB\-\-noise\-sensitivity=\fR Noise sensitivity (frames to blur) .TP \fB\-\-tune\-content=\fR Tune content type .IP default, screen .TP \fB\-\-color\-space=\fR The color space of input content: .IP unknown, bt601, bt709, smpte170, smpte240, bt2020, reserved, sRGB .TP \fB\-\-min\-gf\-interval=\fR min gf/arf frame interval (default 0, indicating in\-built behavior) .TP \fB\-\-max\-gf\-interval=\fR max gf/arf frame interval (default 0, indicating in\-built behavior) .TP \fB\-\-target\-level=\fR Target level (255: off (default); 0: only keep level stats; 10: level 1.0; 11: level 1.1; ... 62: level 6.2) .SS "Stream timebase (--timebase):" .IP The desired precision of timestamps in the output, expressed in fractional seconds. Default is 1/1000. .PP Included encoders: .TP vp8 \- WebM Project VP8 Encoder v1.6.0 .TP vp9 \- WebM Project VP9 Encoder v1.6.0 (default) .IP Use \fB\-\-codec\fR to switch to a non\-default encoder. .TP \fB\-D\fR, \fB\-\-debug\fR Debug mode (makes output deterministic) .TP \fB\-o\fR , \fB\-\-output=\fR Output filename .TP \fB\-\-codec=\fR Codec to use .TP \fB\-p\fR , \fB\-\-passes=\fR Number of passes (1/2) .TP \fB\-\-pass=\fR Pass to execute (1/2) .TP \fB\-\-fpf=\fR First pass statistics file name .TP \fB\-\-limit=\fR Stop encoding after n input frames .TP \fB\-\-skip=\fR Skip the first n input frames .TP \fB\-d\fR , \fB\-\-deadline=\fR Deadline per frame (usec) .TP \fB\-\-best\fR Use Best Quality Deadline .TP \fB\-\-good\fR Use Good Quality Deadline .TP \fB\-\-rt\fR Use Realtime Quality Deadline .TP \fB\-q\fR, \fB\-\-quiet\fR Do not print encode progress .TP \fB\-v\fR, \fB\-\-verbose\fR Show encoder parameters .TP \fB\-\-psnr\fR Show PSNR in status line .TP \fB\-\-webm\fR Output WebM (default when WebM IO is enabled) .TP \fB\-\-ivf\fR Output IVF .TP \fB\-P\fR, \fB\-\-output\-partitions\fR Makes encoder output partitions. Requires IVF output! .TP \fB\-\-q\-hist=\fR Show quantizer histogram (n\-buckets) .TP \fB\-\-rate\-hist=\fR Show rate histogram (n\-buckets) .TP \fB\-\-disable\-warnings\fR Disable warnings about potentially incorrect encode settings. .TP \fB\-y\fR, \fB\-\-disable\-warning\-prompt\fR Display warnings, but do not prompt user to continue. .TP \fB\-\-test\-decode=\fR Test encode/decode mismatch .IP off, fatal, warn .SS "Encoder Global Options:" .TP \fB\-\-yv12\fR Input file is YV12 .TP \fB\-\-i420\fR Input file is I420 (default) .TP \fB\-\-i422\fR Input file is I422 .TP \fB\-\-i444\fR Input file is I444 .TP \fB\-\-i440\fR Input file is I440 .TP \fB\-u\fR , \fB\-\-usage=\fR Usage profile number to use .TP \fB\-t\fR , \fB\-\-threads=\fR Max number of threads to use .TP \fB\-\-profile=\fR Bitstream profile number to use .TP \fB\-w\fR , \fB\-\-width=\fR Frame width .TP \fB\-h\fR , \fB\-\-height=\fR Frame height .TP \fB\-\-stereo\-mode=\fR Stereo 3D video format .IP mono, left\-right, bottom\-top, top\-bottom, right\-left .TP \fB\-\-timebase=\fR Output timestamp precision (fractional seconds) .TP \fB\-\-fps=\fR Stream frame rate (rate/scale) .TP \fB\-\-error\-resilient=\fR Enable error resiliency features .TP \fB\-\-lag\-in\-frames=\fR Max number of frames to lag .SS "Rate Control Options:" .TP \fB\-\-drop\-frame=\fR Temporal resampling threshold (buf %) .TP \fB\-\-resize\-allowed=\fR Spatial resampling enabled (bool) .TP \fB\-\-resize\-width=\fR Width of encoded frame .TP \fB\-\-resize\-height=\fR Height of encoded frame .TP \fB\-\-resize\-up=\fR Upscale threshold (buf %) .TP \fB\-\-resize\-down=\fR Downscale threshold (buf %) .TP \fB\-\-end\-usage=\fR Rate control mode .IP vbr, cbr, cq, q .TP \fB\-\-target\-bitrate=\fR Bitrate (kbps) .TP \fB\-\-min\-q=\fR Minimum (best) quantizer .TP \fB\-\-max\-q=\fR Maximum (worst) quantizer .TP \fB\-\-undershoot\-pct=\fR Datarate undershoot (min) target (%) .TP \fB\-\-overshoot\-pct=\fR Datarate overshoot (max) target (%) .TP \fB\-\-buf\-sz=\fR Client buffer size (ms) .TP \fB\-\-buf\-initial\-sz=\fR Client initial buffer size (ms) .TP \fB\-\-buf\-optimal\-sz=\fR Client optimal buffer size (ms) .SS "Twopass Rate Control Options:" .TP \fB\-\-bias\-pct=\fR CBR/VBR bias (0=CBR, 100=VBR) .TP \fB\-\-minsection\-pct=\fR GOP min bitrate (% of target) .TP \fB\-\-maxsection\-pct=\fR GOP max bitrate (% of target) .SS "Keyframe Placement Options:" .TP \fB\-\-kf\-min\-dist=\fR Minimum keyframe interval (frames) .TP \fB\-\-kf\-max\-dist=\fR Maximum keyframe interval (frames) .TP \fB\-\-disable\-kf\fR Disable keyframe placement .SS "VP8 Specific Options:" .TP \fB\-\-cpu\-used=\fR CPU Used (\fB\-16\fR..16) .TP \fB\-\-auto\-alt\-ref=\fR Enable automatic alt reference frames .TP \fB\-\-noise\-sensitivity=\fR Noise sensitivity (frames to blur) .TP \fB\-\-sharpness=\fR Loop filter sharpness (0..7) .TP \fB\-\-static\-thresh=\fR Motion detection threshold .TP \fB\-\-token\-parts=\fR Number of token partitions to use, log2 .TP \fB\-\-arnr\-maxframes=\fR AltRef max frames (0..15) .TP \fB\-\-arnr\-strength=\fR AltRef filter strength (0..6) .TP \fB\-\-arnr\-type=\fR AltRef type .TP \fB\-\-tune=\fR Material to favor .IP psnr, ssim .TP \fB\-\-cq\-level=\fR Constant/Constrained Quality level .TP \fB\-\-max\-intra\-rate=\fR Max I\-frame bitrate (pct) .TP \fB\-\-screen\-content\-mode=\fR CPU Used (\fB\-8\fR..8) .TP \fB\-\-auto\-alt\-ref=\fR Enable automatic alt reference frames .TP \fB\-\-sharpness=\fR Loop filter sharpness (0..7) .TP \fB\-\-static\-thresh=\fR Motion detection threshold .TP \fB\-\-tile\-columns=\fR Number of tile columns to use, log2 .TP \fB\-\-tile\-rows=\fR Number of tile rows to use, log2 (set to 0 while threads > 1) .TP \fB\-\-arnr\-maxframes=\fR AltRef max frames (0..15) .TP \fB\-\-arnr\-strength=\fR AltRef filter strength (0..6) .TP \fB\-\-arnr\-type=\fR AltRef type .TP \fB\-\-tune=\fR Material to favor .IP psnr, ssim .TP \fB\-\-cq\-level=\fR Constant/Constrained Quality level .TP \fB\-\-max\-intra\-rate=\fR Max I\-frame bitrate (pct) .TP \fB\-\-max\-inter\-rate=\fR Max P\-frame bitrate (pct) .TP \fB\-\-gf\-cbr\-boost=\fR Boost for Golden Frame in CBR mode (pct) .TP \fB\-\-lossless=\fR Lossless mode (0: false (default), 1: true) .TP \fB\-\-frame\-parallel=\fR Enable frame parallel decodability features .TP \fB\-\-aq\-mode=\fR Adaptive quantization mode (0: off (default), 1: variance 2: complexity, 3: cyclic refresh, 4: equator360) .TP \fB\-\-frame\-boost=\fR Enable frame periodic boost (0: off (default), 1: on) .TP \fB\-\-noise\-sensitivity=\fR Noise sensitivity (frames to blur) .TP \fB\-\-tune\-content=\fR Tune content type .IP default, screen .TP \fB\-\-color\-space=\fR The color space of input content: .IP unknown, bt601, bt709, smpte170, smpte240, bt2020, reserved, sRGB .TP \fB\-\-min\-gf\-interval=\fR min gf/arf frame interval (default 0, indicating in\-built behavior) .TP \fB\-\-max\-gf\-interval=\fR max gf/arf frame interval (default 0, indicating in\-built behavior) .TP \fB\-\-target\-level=\fR Target level (255: off (default); 0: only keep level stats; 10: level 1.0; 11: level 1.1; ... 62: level 6.2) .SS "Stream timebase (--timebase):" .IP The desired precision of timestamps in the output, expressed in fractional seconds. Default is 1/1000. .PP .SS "Included encoders:" .TP vp8 \- WebM Project VP8 Encoder v1.6.0 .TP vp9 \- WebM Project VP9 Encoder v1.6.0 (default) .IP Use \fB\-\-codec\fR to switch to a non\-default encoder.