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
2006年02月05日の実験(Mac)では、-of lavf -lavfopts format=mp4 -o ${INFILE}.mp4は動かない。
エンコード中に以下の警告が出て止まる。
** 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.
では、-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を吐くだけだった。
▼コデック固有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
本日 | 2 |
昨日 | 0 |
累積 | 7824 |