Re: How to capture a PAL video?

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



The VFW video source dialog, if provided, is provided by the device's driver. There's now way AFAIK to set the PAL/NTSC option using VFW. Many devices have more options than that.

Once you use the dialog to set the type, it should remain set that way (I would hope so, anyway :)).

Mark

--
Mark Salsbery
Microsoft MVP - Visual C++


"kavitabalupu" <kavitabalupu@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:BD986BB7-174A-4329-92CB-B0BBEB43BA57@xxxxxxxxxxxxxxxx
Hi,


I'm tyring to capture a PAL video.

But the video looks like a NTSC video.

Do I need to set any specific parameter to capture a PAL video?

When I call capDlgVideoSource(m_hWndVideo); I have an option for NTSC and
PAL to select a video standard.

Can I set the video standard with out calling the
capDlgVideoSource(m_hWndVideo); ?

Please find my source code below .

HWND m_hWndVideo ;

CAPDRIVERCAPS m_VideoDeviceCaps;



m_hWndVideo = capCreateCaptureWindow(

"Video" , // window name if pop-up

WS_CHILD | WS_VISIBLE, // window style

0, 0, 160, 120, // window position and dimensions

*this,

0 );


if (m_hWndVideo == NULL)

{

return false;

}


BOOL fRet = capDriverConnect(m_hWndVideo, 0);


fRet = capDriverGetCaps( m_hWndVideo, &m_VideoDeviceCaps,
sizeof(m_VideoDeviceCaps)) ;


CAPSTATUS capstatus;

fRet = capGetStatus( m_hWndVideo, &capstatus, sizeof(capstatus));


fRet = capPreviewScale( m_hWndVideo, TRUE ); // allow this to stretch ?

fRet = capPreviewRate( m_hWndVideo, 250); // frame rate in MS

fRet = capPreview(m_hWndVideo, TRUE );



Pls help me.

It is blocking my progress.



Regards,
Balupu


.



Relevant Pages

  • Re: How to capture a PAL video?
    ... If I open the video using some other application and at the same time if I ... I'm tyring to capture a PAL video. ... Do I need to set any specific parameter to capture a PAL video? ... CAPSTATUS capstatus; ...
    (microsoft.public.vc.language)
  • How to capture a PAL video?
    ... But the video looks like a NTSC video. ... Do I need to set any specific parameter to capture a PAL video? ...
    (microsoft.public.vc.language)
  • Re: C=128 80Col NTSC Color.
    ... for C128 80 col. video. ... referred to a converter that will accept CGA and convert it to either NTSC ... or PAL video. ... and 80 column Commodore video and convert either to VGA. ...
    (comp.sys.cbm)