- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All
How can we used Intel Media SDK in VB.net Application?
I want to Capture Live Video from USB Video Capture Card and encode Video
and then save any format that support Intel Media SDK.
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Omar,
Glad to hear of your interest in Intel Media SDK. Unfortunately Intel Media SDK was not designed to support Visual Basic.
However, as far as I know, there might still be some ways for you to utilize Media SDK functionality in a VB application. For instance, Intel Media SDK provides some DirectShow samples(!) (implemented in C++) for encode and decode using Media SDK. I believe these could be loaded and used in a VB.net application. You may also explore more intricate option building a VB bridge directly to the Media SDK DLL implementation, that said, this would bypass the benefits of the Media SDK dispatcher libary.
Keep in mind that the above are currently unsupported use cases and we do not provide any sampleson how to do this. That aside, we would be love to learn about your findings in this area. If you want, feel free to share with us on this forum.
Thanks,
Glad to hear of your interest in Intel Media SDK. Unfortunately Intel Media SDK was not designed to support Visual Basic.
However, as far as I know, there might still be some ways for you to utilize Media SDK functionality in a VB application. For instance, Intel Media SDK provides some DirectShow samples(!) (implemented in C++) for encode and decode using Media SDK. I believe these could be loaded and used in a VB.net application. You may also explore more intricate option building a VB bridge directly to the Media SDK DLL implementation, that said, this would bypass the benefits of the Media SDK dispatcher libary.
Keep in mind that the above are currently unsupported use cases and we do not provide any sampleson how to do this. That aside, we would be love to learn about your findings in this area. If you want, feel free to share with us on this forum.
Thanks,
Petter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Omar!
I'm not a VB expert.
But, I'm using Media SDK in C#, maybe it could be help you.
1) Do you know how to create a simple DirectShow app in VB? Like, create a VideoSource connected with a VideoRender and play it. If you don't know, please search on google...
You will see that you need the GUID's and PIN's for create each filter.
2) You could get an application like GraphEdit and see all DirectShows Filters proprerties. So, please, look in DirectShow Filters -> Intel Media SKD *filters. Here you could get the pin names and the GUID for each Intel filter.
I know that it's a really short description, but please try to start with this...
if I could help after, let me know!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi gthomaz
Can you share me how are you using media SDK in C#, some sample Application.
thanks in advance
Can you share me how are you using media SDK in C#, some sample Application.
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Omar!
Here are we again =]
I installed SDK filter's on my PC and I use these filters like a common DirectShow Filter.
My sugestion is:
please, try to do a simple app to understand DS in C#(or another language).
Try to create a graphBuilder and add this filters:
VideoSource -> VideoRender
I read an article teaching about DS in C#, I think that it will be a good tip for you: http://www.informikon.com/directshow-tutorials/what-can-be-done-with-directshow-and-c.html
There are a simple sample on next page... please look it too...
After this, you could try to use Intel's SDK in your app.
My sample for this is:
Here are we again =]
I installed SDK filter's on my PC and I use these filters like a common DirectShow Filter.
My sugestion is:
please, try to do a simple app to understand DS in C#(or another language).
Try to create a graphBuilder and add this filters:
VideoSource -> VideoRender
I read an article teaching about DS in C#, I think that it will be a good tip for you: http://www.informikon.com/directshow-tutorials/what-can-be-done-with-directshow-and-c.html
There are a simple sample on next page... please look it too...
After this, you could try to use Intel's SDK in your app.
My sample for this is:
[ComImport,Guid("71183C45-F4FA-4B10-9E04-F9040CB19139")]
publicclassH264EncoderFilter{}
publicstaticIPinInput(thisH264EncoderFilterfilter){
IPinp;
Int32r=((IBaseFilter)filter).FindPin("In",outp);if(r!=0)Marshal.ThrowExceptionForHR;
returnp;
}
publicstaticIPinOutput(thisH264EncoderFilterfilter){
IPinp;
Int32r=((IBaseFilter)filter).FindPin("Out",outp);
if(r!=0)Marshal.ThrowExceptionForHR;
returnp;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
where can i get the intel media sdk dll that i can import in c#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tushar,
Intel Media SDK does not provide C# bindings. You could implement such layer by yourself using PInvoke (or somthing similar). Or you can explore option from 3rd party, such as:http://limevideo.com/
Regards,
Petter
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page