[dvblast-devel] Play DVB-T device using ActiveX Control in MFC?

Ben - 羅本文 lbwtgi at gmail.com
Mon May 3 18:22:49 CEST 2010


Hi:

Is it possible to play DVB-T device using ActiveX in MFC? In console i can
let VLC play DVB-T device through this command

dvb:// :dvb-adapter=0 :dvb-frequency=593000000 :dvb-srate=8 :dvb-bandwidth=6
:program=501

while i call CVLCControl from MFC, and this command didn't seem to work. Did
I miss anything?

BSTR option = SysAllocString(_T(":dvb-adapter=0 :dvb-frequency=593000000
:dvb-srate=8 :dvb-bandwidth=6 :program=501"));
VARIANT va;
VariantInit( &va );
va.bstrVal = option;
pvlc->addTarget(_T("dvb://"), va, 0, 1);
pvlc->play();

I am using vlc 1.0.5, ActiveX v1 under Windows 7.

Can anyone help me with this , Thanks.

Best regards,
Ben 2010/05/04
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/dvblast-devel/attachments/20100504/6ba4b602/attachment.htm>


More information about the dvblast-devel mailing list