How to capture a PAL video?
- From: kavitabalupu <kavitabalupu@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 29 Oct 2007 12:15:00 -0700
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
.
- Follow-Ups:
- Re: How to capture a PAL video?
- From: Mark Salsbery [MVP]
- Re: How to capture a PAL video?
- Prev by Date: Re: recognize .Net controls properly and get infos/styles/properties
- Next by Date: Re: How to capture a PAL video?
- Previous by thread: Re: Writing to file without truncation using ofstream
- Next by thread: Re: How to capture a PAL video?
- Index(es):
Relevant Pages
|