Re: Transform filter problem.(VMR double frame rate @ 50 Hz)

Tech-Archive recommends: Speed Up your PC by fixing your registry




After a short study.

The dest buffer size : 768 x 576
and the source buffer size :  720 x 576

The dumb filter copy buffers copying :
CopyMemory((PVOID) pDestBuffer,(PVOID) pSourceBuffer,lSourceSize);

This seems to be the cause of the weird video frames display.

Anybody know why my dest buffer lines are larger than sources buffers ones? ( 768 > 720 ) ?

Joreg, I'd like to heard your opinion concerning this !

Regards,
Julien



Julien Meyer wrote:
Julien Meyer wrote:

Compilation is fine, the dumb filter is added and linked into my capture graphe. The rendering still show a weird video output stream , vmr still at 25 Hz so I think I have some bugs in "Copy"/"Transform" methods to fix.


I've found and isolated problem that may cause the weird display and 25 hz instead of 50 Hz error. In the "Copy" method, GetMediaType always return S_FALSE , and *pMediaType = NULL. Code snippet here :

    AM_MEDIA_TYPE *pMediaType;
    HRESULT hr;
    hr = pSource->GetMediaType(&pMediaType);
    hr = pDest->SetMediaType(pMediaType);
    DeleteMediaType(pMediaType);

Any help welcome.

regards,
Julien

.



Relevant Pages

  • Re: Transform filter problem.(VMR double frame rate @ 50 Hz)
    ... seems to be a driver (capture-, graphiccard) thing then. ... Anybody know why my dest buffer lines are larger than sources buffers ... Regards, ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: FYI: Windows Media Center 2005 to support high def TV
    ... which sports its own time shifting and rendering ... technology. ... >> Robert Schlabbach ...
    (microsoft.public.windows.mediacenter)
  • Re: Webbrowser & XML
    ... not the HTML code that then IE adds while rendering. ... Regards ... Cyril Gupta ...
    (microsoft.public.dotnet.languages.vb)
  • Re: WebControl TagPrefix?
    ... it will returns the alias TagPrefix value. ... >> I am trying to get the WebControl OuterHTML TagName before rendering the ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Pushing Photoworks
    ... best regards, ... Bram ... > I was trying out Photoworks today, and although there have not been ... > dramatic improvements in the rendering technology itself, ...
    (comp.cad.solidworks)