MEncoder dev-SVN-r24712-4.0.1
MPEGStreamClipが吐いた.mpegのアスペクト情報を認識せず、一律にSAR=1/1を使用。
-vf scale=-10:-1
が効かず、横長画像を吐出。
ログに
Movie-Aspect is undefined - no prescaling applied.
などとあったので、コマンドに -aspect 4:3(DECODING/FILTERING OPTIONS)を追加したら直った。強制的にデコードアスペクトを指定するものらしい。
*man
-aspect (also see -zoom)
Override movie aspect ratio, in case aspect information is in-
correct or missing in the file being played.
*使用コマンド
-vf yadif=3,pp=l5,framestep=2,crop=704:480:8:0,scale=-10:-1:::3,hqdn3d=4:3:6,harddup -vfm ffmpeg -sws 9 -aspect 4:3 -ofps 30000/1001 -of rawvideo -o /dev/null
*トラブル時のログ
MEncoder dev-SVN-r24712-4.0.1 (C) 2000-2007 MPlayer Team
AltiVec found
CPU: PowerPC
success: format: 0 data: 0x0 - 0x16cf3a0
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2)
29.970 fps 8001.2 kbps (1000.1 kbyte/s)
[V] filefmt:2 fourcc:0x10000002
size:480x0 fps:29.97 ftime:=0.0334
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [hqdn3d=4:3:6]
Opening video filter: [scale w=-10 h=-1 param=3]
Opening video filter: [crop w=704 h=480 x=8 y=0]
Crop: 704 x 480, 8 ; 0
Opening video filter: [pp=l5]
Opening video filter: [softskip]
Opening video filter: [pullup]
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar I420 as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x698198]SwScaler: using unscaled yuv420p -> yuv420p
special converter
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: Altivec
Pos: 0.0s 1f (0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
Pos: 0.0s 2f (0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
Pos: 0.0s 3f (0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
1 duplicate frame(s)!
どうもバグではなく、仕様変更らしい → MPlayer 1.0rc2 リリース。