- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am new to media SDK and any gfx development in general. I want use the sample 'simple_decode_d3d11' provided in tutorial to read the input from my webcam or USB camera connected to my system instead of a video file. I could not figure out how to specify camera as input in MSDK_FOPEN/fopen_s. I am using Intel(R) Media SDK 2018 R2 on wondows10. Appreciate any help regarding this.
-Surabhi
- Tags:
- Development Tools
- Graphics
- Intel® Media SDK
- Intel® Media Server Studio
- Media Processing
- Optimization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Surabhi,
Sorry for the late response.
Your problem is how to input the video stream from a webcam, Media SDK inputs raw video stream only and this is why we are only show with the tutorial code.
fopen() is a function call can only handle files but not stream.
There are several ways to do this, you can use OpenCV functions, or FFmpeg/GStreamer library. Or you can use FFmpeg or GStreamer directly, both of them support Intel hardware accelerated codec(QSV), you can check following site for how to install them:
https://01.org/linuxmedia/quickstart/overview
Hope this helps and let me know if you have any questions.
Mark
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page