DVDs and SVCDs (i.e. MPEG-1/2) files contain an aspect ratio value, which describes how the player should scale the video stream, so humans will not have egg heads (ex.: 480x480 + 4:3 = 640x480). However when encoding to AVI (DivX) files, you have to be aware that AVI headers do not store this value. Rescaling the movie is disgusting and time consuming, there has to be a better way!
There is
MPEG-4 has an unique feature: the video stream can contain its needed aspect ratio. Yes, just like MPEG-1/2 (DVD, SVCD) and H.263 files. Regretfully, there are no video players outside which support this attribute of MPEG-4, except MPlayer.
This feature can be used only with libavcodec's mpeg4 codec. Keep in mind: although MPlayer will correctly play the created file, other players will use the wrong aspect ratio.
You seriously should crop the black bands over and below the movie image. See the man page for the usage of the cropdetect and crop filters.
Usage
mencoder sample-svcd.mpg -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:autoaspect -vf crop=714:548:0:14 -oac copy -o output.avi
Documents
読み方
イントロ
インストール
使い方
CD/DVD使い方
FAQ
コンテナ
コデック
Videoデバイス
Audioデバイス
TV入力
Radio入力
Ports
MEncoder基礎
エンコガイド
Doc/bugreports?
FrontPage
■MPlayer
├Manuals
├Documents
└カテゴリ
■GENERAL
├MEMO
├LINK
├雑談所
├最近の更新
└popular
■Other Tools
├ffmpeg
├mkvmerge
├mp4box
├MPEG Streamclip
├QTCoffee
└x264cli
■About
└About Wiki
本日 | 1 |
昨日 | 0 |
累積 | 2767 |