I am using VLC ActiveX component. I found that recording works in VB but not VC++ (it is directly related with options).
For Example:
Code: Select all
std::string options = ":sout=#transcode{vcodec=mp4v,vb=1024,scale=1,acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ps,url=berk5.mpg}}";
addTarget("rtsp://169.254.20.234/mpeg4/1/media.amp",(VARIANT&)options,9,0);
If you have any working code or any workaround for VC++, please post it here! Thanks
Berk