[MEncoder-users] Re: video filter scale (n+8)

Jon Drukman jsd at cluttered.com
Wed Jul 12 02:53:38 CEST 2006


RC wrote:
> On Tue, 11 Jul 2006 14:51:16 -0700
> Jon Drukman <jsd at cluttered.com> wrote:
> 
>> although it is confused by the widescreen DV files that i'm feeding
>> it.  
> 
> Only humans get confused.  Programs don't.
> 
>> the input resolution is  720x480 but the aspect ratio is 16:9.  i
>> guess i would have to specify a different pixel aspect ratio?
> 
> You haven't said what your problem is, what you're doing, or what
> mplayer is doing that you don't like.  I doubt anyone can answer your
> question.

when i feed a 720x480 .avi file (Sony DV codec) which is anamorphically 
stretched to 16:9 aspect ratio into mencoder with -vf scale=640:-11 i 
would like it to resize the output video to 640x368.  instead it is 
giving me 640x432.

here's what -identify says about the source file:

AVI file format detected.
ID_VIDEO_ID=0
ID_AUDIO_ID=1
VIDEO:  [dvsd]  720x480  24bpp  29.970 fps  28771.2 kbps (3512.1 kbyte/s)
ID_FILENAME=062806.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=dvsd
ID_VIDEO_BITRATE=28771200
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=1
ID_AUDIO_BITRATE=1536000
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=206.77
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
Decoder supports the following YUV formats: YUY2 UYVY
Decoder is capable of YUV output (flags 0x9)
VDec: vo config request - 720 x 480 (preferred colorspace: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 720x480 => 720x480 Packed YUY2
Selected video codec: [qdv] vfm: dshow (Sony Digital Video (DV))
==========================================================================
ID_VIDEO_CODEC=qdv
==========================================================================

i don't see anything there that would tell mplayer what the correct 
aspect ratio is, but the information is in the file somewhere, because 
it plays back at the proper 16:9 ratio with VLC.

-jsd-




More information about the MEncoder-users mailing list