Transform Filter Aspect Ratio Problem

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi all,

I have a transform filter that I am connecting from the MainConcept
MPEG2 Video Decoder... Then my output goes directly to VMR7.

The mediatypes definately use the VIDEOINFOHEADER2, which contains
the aspect ratio information, among other things...

The problem I am having is that the VMR7 seems to be forcing that
aspect ratio found in the VIDEOINFOHEADER2.... I want this default
aspect ratio so that I can set it as default, but if the user wants to
change to another aspect ratio for some reason, I want them to be able
to....

I have all the code written to switch between aspect ratios, but
the VMR7 seems to be forcing the aspect ratio in VIDEOINFOHEADER2
regardless of what I do... I even tried turning off the "Maintain
Aspect Ratio" option of the VMR... It returns S_OK when I set it to
AR_MODE_NONE, but it doesnt seem to actually turn off the "Maintain
Aspect Ratio" feature...

I am trying to resize the window to the requested aspect ratio using
IVideoWindow->SetWindowPosition, which in turn would cause the VMR to
place the video in that rectangle, which is the custom aspect
ratio..... the problem is that the VMR forces the VIDEOINFOHEADER2
aspect ratio inside of that custom rectangle, so the effect I am
getting is that the video stays the same Aspect Ratio, but just grows
and shrinks...

Can anyone please help me? I need to turn off the "Maintain Aspect
Ratio" option of the VMR, but can't seem to do so...

Thanks!
Tom

.



Relevant Pages

  • Re: VMR7 and VMR9 meaningless "Maintain aspect ratio" option
    ... > render the DV camcorder video feed. ... pixels, not original video pixels. ... rather than from the VMR. ... allow the video's aspect ratio to change or not. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: 16:9 Woes
    ... That would be pretty close to the ideal frame aspect ratio, ... examining the Movie Maker-produced DV files in VirtualDub is enough for assessing their quality (instead of going all the way and making a DVD out of them), viewing them in VirtualDub should do. ... You can use the VirtualDub's "resize" filter for previewing a widescreen DV/DVD video clip in the correct aspect ratio. ...
    (rec.video.desktop)
  • Re: still no way to do custom aspect ratios?
    ... I still need to be able to tweak the aspect ratio at ... will to trick it into intentionally squishing the video horizontally ... At one point I referred to a "4:3 resolution", ... Set your desktop resolution to 1024x768 and run Media Center. ...
    (microsoft.public.windows.mediacenter)
  • Re: still no way to do custom aspect ratios?
    ... As far as the registry settings, ... video, IT is sending 1024x768 video to my TV. ... the PHYSICAL aspect ratio of the television. ... desktop resolution and thinks the resolution in the matching aspect ...
    (microsoft.public.windows.mediacenter)
  • Re: Aspect Ratio: XP vs Vista
    ... Wouldn't it be a kicker if it played undistorted on your vista ... it seems to force it into 16:9 ratio thereby squashing the image from ... aspect ratio on WMM 6 has no effect whatsoever on this bit of video ... and I don't want it to distort one or the other, ...
    (microsoft.public.windowsxp.moviemaker)