Man / CODEC固有オプション / -lavfopts
2010-03-15 (月) 06:32:41更新
カテゴリ[[:]]

FFmpeg libavformat muxers (-lavfopts) (also see -of lavf)

format=<container_format>
muxするコンテナ形式の指定。デフォルトは拡張子から自動判定。

mpg
MPEG-1 systems and MPEG-2 PS
asf
Advanced Streaming Format
avi
Audio Video Interleave file
wav
Waveform Audio
swf
Macromedia Flash
flv
Macromedia Flash video files
rm
RealAudio and RealVideo
au
SUN AU format
nut
NUT open container format (experimental)
mov
QuickTime
mp4
MPEG-4 format
dv
Sony Digital Video container

FFmpeg libavformat muxers (-lavfopts) (also see -of lavf)

MEncoder dev-CVS-060418-00:29-4.0.1 (C) 2000-2006 MPlayer Team
delay
FIXME: Document this.
format=<container_format>
Override which container format to mux into (default: autodetect from output file extension).
mpg
MPEG-1 systems and MPEG-2 PS
asf
Advanced Streaming Format
avi
Audio Video Interleave file
wav
Waveform Audio
swf
Macromedia Flash
flv
Macromedia Flash video files
rm
RealAudio and RealVideo
au
SUN AU format
nut
NUT open container format (experimental)
mov
QuickTime
mp4
MPEG-4 format
dv
Sony Digital Video container
i_certify_that_my_video_stream_does_not_use_b_frames
FIXME: Document this.
muxrate
FIXME: Document this.
packetsize
FIXME: Document this.
preload
FIXME: Document this.

参考

2006年02月05日の実験(Mac)では、-of lavf -lavfopts format=mp4 -o ${INFILE}.mp4は動かない。

1)B付き設定

エンコード中に以下の警告が出て止まる。

** MUXER_LAVF *****************************************************************
If you wish to use libavformat muxing, you must ensure that your video stream
does not contain B frames (out of order decoding) and specify:
 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
on the command line.
REMEMBER: MEncoder's libavformat muxing is presently broken and will generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
Cannot initialize muxer.

2)B抜き設定

では、-x264encoptsをbframe=0に、さらに

-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames

を指定すると警告は以下のように切り替わり、エンコード完了。

** MUXER_LAVF *****************************************************************
You have certified that your video stream does not contain B frames.
REMEMBER: MEncoder's libavformat muxing is presently broken and will generate
INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
will play these INCORRECT files as if nothing were wrong!
*******************************************************************************
OK, exit

いいんだね?じゃ行くよ。って感じで通常のエンコードが走り出す。以前はこんな警告は出さず、単におかしなMP4を吐くだけだった。






Top
├▼Manuals
└┴▼CODEC固有


コデック固有Opt(MEのみ)
-divx4opts
-lameopts
├-toolameopts and -twolameopts respectively
-faacopts
-lavcopts
-nuvopts
-xvidencopts
-x264encopts
-xvfwencopts
-mpegopts
-lavfopts


FrontPage
MPlayer
Manuals
Documents
カテゴリ

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

■Other Tools
ffmpeg
mkvmerge
mp4box
MPEG Streamclip
QTCoffee
x264cli

■About
About Wiki

edit


blog


本日1
昨日2
累積7034