Man / GENERAL ENCODING OPTIONS


Man / GENERAL ENCODING OPTIONS
2020-11-14 (土) 13:04:03更新
カテゴリ:未訳

GENERAL ENCODING OPTIONS (MENCODER ONLY)

原文: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html#GENERAL%20ENCODING%20OPTIONS%20(MENCODER%20ONLY)

-audio-delay <any floating-point number>

Delays either audio or video by setting a delay field in the header (default: 0.0). This does not delay either stream while encoding, but the player will see the delay field and compensate accordingly. Positive values delay the audio, and negative values delay the video. Note that this is the exact opposite of the −delay option. For example, if a video plays correctly with −delay 0.2, you can fix the video with MEncoder by using −audio-delay -0.2.

Currently, this option only works with the default muxer (−of avi). If you are using a different muxer, then you must use −delay instead.

-audio-density <1−50>

Number of audio chunks per second (default is 2 for 0.5s long audio chunks).
NOTE: CBR only, VBR ignores this as it puts each packet in a new chunk.

-audio-preload <0.0−2.0>

Sets up the audio buffering time interval (default: 0.5s).

-endpos <[[hh:]mm:]ss[.ms]|size[b|kb|mb]> (also see −ss and −sb)

Stop encoding at the given time or byte position.
NOTE: Byte position will not be accurate, as it can only stop at a frame boundary.

EXAMPLE:

-endpos 56
Encode only 56 seconds.
-endpos 01:10:00
Encode only 1 hour 10 minutes.
-endpos 100mb
Encode only 100 MB.

-fafmttag <format>

Can be used to override the audio format tag of the output file.

EXAMPLE:

-fafmttag 0x55
Will have the output file contain 0x55 (mp3) as audio format tag.

-ffourcc <fourcc>

Can be used to override the video fourcc of the output file.

EXAMPLE:

-ffourcc div3
Will have the output file contain ’div3’ as video fourcc.

-force-avi-aspect <0.2−3.0>

Override the aspect stored in the AVI OpenDML vprp header. This can be used to change the aspect ratio with ’−ovc copy’.

-frameno-file <filename> (DEPRECATED)

Specify the name of the audio file with framenumber mappings created in the first (audio only) pass of a special three pass encoding mode.
NOTE: Using this mode will most likely give you A-V desync. Do not use it. It is kept for backwards compatibility only and will possibly be removed in a future version.

-hr-edl-seek

Use a more precise, but much slower method for skipping areas. Areas marked for skipping are not seeked over, instead all frames are decoded, but only the necessary frames are encoded. This allows starting at non-keyframe boundaries.
NOTE: Not guaranteed to work right with ’−ovc copy’.


-info <option1:option2:...> (AVI only)

Specify the info header of the resulting AVI file.

Available options are:

help
Show this description.
name=<value>
title of the work
artist=<value>
artist or author of the work
genre=<value>
original work category
subject=<value>
contents of the work
copyright=<value>
copyright information
srcform=<value>
original format of the digitized material
comment=<value>
general comments about the work

-noautoexpand

Do not automatically insert the expand filter into the MEncoder filter chain. Useful to control at which point of the filter chain subtitles are rendered when hardcoding subtitles onto a movie.

-noencodedups

Do not attempt to encode duplicate frames in duplicate; always output zero-byte frames to indicate duplicates. Zero-byte frames will be written anyway unless a filter or encoder capable of doing duplicate encoding is loaded. Currently the only such filter is harddup.

-noodml (−of avi only)

Do not write OpenDML index for AVI files >1GB.

-noskip

Do not skip frames.


-o <filename>

Outputs to the given filename.
If you want a default output filename, you can put this option in the MEncoder config file.

-oac <codec name>

Encode with the given audio codec (no default set).
NOTE: Use −oac help to get a list of available audio codecs.

EXAMPLE:

-oac copy
no encoding, just streamcopy
-oac pcm
Encode to uncompressed PCM.
-oac mp3lame
Encode to MP3 (using LAME).
-oac lavc
Encode with a libavcodec codec.

-of <format> (BETA CODE!)

Encode to the specified container format (default: AVI). NOTE: Use :-of help to get a list of available container formats.

EXAMPLE:

-of avi
Encode to AVI.
-of mpeg
Encode to MPEG (also see −mpegopts).
-of lavf
Encode with libavformat muxers (also see −lavfopts).
-of rawvideo
raw video stream (no muxing − one video stream only)
-of rawaudio
raw audio stream (no muxing − one audio stream only)

-ofps <fps>

Specify a frames per second (fps) value for the output file, which can be different from that of the source material. Must be set for variable fps (ASF, some MOV) and progressive (30000/1001 fps telecined MPEG) files.

-ovc <codec name>

Encode with the given video codec (no default set).
NOTE: Use :-ovc help to get a list of available video codecs.

EXAMPLE:

-ovc copy
no encoding, just streamcopy
-ovc divx4
Encode to DivX4/DivX5.
-ovc raw
Encode to an arbitrary uncompressed format (use ’−vf format’ to select).
-ovc lavc
Encode with a libavcodec codec.

-passlogfile <filename>

Dump first pass information to <filename> instead of the default divx2pass.log in two pass encoding mode

-skiplimit <value>

Specify the maximum number of frames that may be skipped after encoding one frame (−noskiplimit for unlimited).

-vobsubout <basename>

Specify the basename for the output .idx and .sub files. This turns off subtitle rendering in the encoded movie and diverts it to VOBsub subtitle files.

-vobsuboutid <langid>

Specify the language two letter code for the subtitles. This overrides what is read from the DVD or the .ifo file.

-vobsuboutindex <index>

Specify the index of the subtitles in the output files (default: 0).



Top
└▼Manuals


NAME
SYNOPSIS
概要
操作
使用法
設定File
プロファイル
一般Opt
再生Opt(MPのみ)
DEMUXER/STREAM Opt
OSD/SUB Opt
音声出力Opt (MPのみ)
音声出力DRIVER (MPのみ)
映像出力Opt (MPのみ)
映像出力DRIVER (MPのみ)
デコード/フィルタOpt
音声フィルタ
映像フィルタ
エンコードOpt(一般)(MEのみ)
コデック固有Opt(MEのみ)
 ├-divx4opts
 ├-lameopts
 ├-toolame
 ├-faacopts
 ├-lavcopts
 ├-nuvopts
 ├-xvidencopts
 ├-x264encopts
 ├-xvfwopts?
 ├-mpegopts
 └-lavfopts
環境変数?
FILES
MPLAYER使用例
MENCODER使用例
BUGS
AUTHORS


FrontPage
MPlayer
Manuals
Documents
カテゴリ

■GENERAL
MEMO
LINK
雑談所
最近の更新
popular

■Other Tools
ffmpeg
mkvmerge
mp4box
MPEG Streamclip
QTCoffee
x264cli

■About
About Wiki

edit


blog


本日1
昨日1
累積8932