Embedding VLC on Windows
How to access the webcam on wind开发者_如何学运维ows (XP)?
On Linux, I'd use the MRL "v4l2://", as in:
libvlc_media_new(libvlc_new(),"v4l2://",&libvlc_exception_t)
And let it detect it automagically. I know, this could fail sometimes.
Video for Linux's equivalent would be DirectShow which has the MRL of dshow:// however I have not got this working myself.
精彩评论