Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

using PCIe with media sdk

rshal2
New Contributor II
906 Views

Hello,

Is there any information how to capture video stream through PCIe with Media SDK?

Regards,

Ran

0 Kudos
1 Solution
rshal2
New Contributor II
906 Views

Hi Zachari,

DRM is for video display not capture so this is irrelevant for the issue which I opened.

As I mentioned, we need to capture video than send the captured frame into Intel Media SDK's encoder.

I wander if there is anyone who did video capture using "media sdk". I didn't find any example/document/reference for this issue.

Regards,

Ran

View solution in original post

0 Kudos
12 Replies
Bjoern_B_Intel
Employee
906 Views

Hi Ran,

are you asking for information regarding PCIe capture cards in combination with MSDK?

We don’t have information on this topic but let me see if we can get it included in the future.

Best,

Bjoern

0 Kudos
rshal2
New Contributor II
906 Views

Hi Bjoern,

Thank you for the quick response.

I am actually interested in two things here:

1. PCIe example with media sdk (if such example is available)

2.Any v4l (video4linux) example which shows how media sdk application read from /dev/videoX devices (camera for example) 

Regards,

Ran

0 Kudos
Jiandong_Z_Intel
Employee
906 Views

Hi Ran,

About Media SDK on Linux, the Kernel Mode Driver (KMD) is base on DRM framework, not v4l,  so the software stack as following

Application -> MSDK -> libva -> libdrm -> drm -> i915.ko

DRM framework and v4l are different in Linux kernel tree. I believe MSDK no samples focus on read frame or stream via v4l currently. 

Are you want to read frame or stream from camera via v4l, then let MSDK process this frame or stream ?  if so, I think MSDK can process the frame or stream.

Thanks

Zachary

0 Kudos
rshal2
New Contributor II
906 Views

Hi Zachary,

Is there any documentation or example about capturing frames/video from camera (or other device) ?

Regards,

Ran

0 Kudos
rshal2
New Contributor II
906 Views

Hi Zachary,

I mean any example/document for capturing using the architecture used with media sdk  (DRM framework).

Regards,

Ran

0 Kudos
Jiandong_Z_Intel
Employee
906 Views

Hi Ran,

Following pdf is good for understand DRM framework and v4l in my mind.

http://elinux.org/images/7/71/Elce11_dae.pdf

 

Thanks

Zachary

0 Kudos
rshal2
New Contributor II
906 Views

Hi Zachary,

Is there any sample for media sdk which shows capturing using DRM framework ?

Regards,

Ran

0 Kudos
Jiandong_Z_Intel
Employee
906 Views

Hi Ran,

No,  no media sdk sample can do this. And media sdk focus on media process (decode/vpp/encode).

Can you explain what is really you want to do ?

Are you want to develop a camera driver on Linux for capturing or do some media process after capturing ? or others ?

 

Thanks,

Zachary

0 Kudos
rshal2
New Contributor II
906 Views

Hi Zachary.

Yes.

We wanted to evaluate if we can use Media SDK with Linux/windows (Linux is prefered) for doing the following:

<raw video from camera>-----PCIe----- <Capture>-----<Encode>-------><File in DISK>

Regards,

Ran

 

 

0 Kudos
rshal2
New Contributor II
907 Views

Hi Zachari,

DRM is for video display not capture so this is irrelevant for the issue which I opened.

As I mentioned, we need to capture video than send the captured frame into Intel Media SDK's encoder.

I wander if there is anyone who did video capture using "media sdk". I didn't find any example/document/reference for this issue.

Regards,

Ran

0 Kudos
Satish_P_
Beginner
906 Views

 

We are also trying for similar but not with V4L devices , we are using Decklink card for capture video

With Blackmagic driver we are able to capture and store video from Decklink Capture Card , now we want to use this captured Real time  data as input of MEdia SDK Encoder application.

but unfortunately Media sdk encodes this data once and then stop...

so is there any way to directly integrate Decklink card with Media SDK for real time encoding?

 

0 Kudos
rshal2
New Contributor II
906 Views

Hi Satish,

I've made a very simple changes in order to support v4l through the media samples. You should try, it's not too difficult.

Unfortunattely, it was not integrated as part of the media sdk which is supplied for linux users. I hope Intel will integrate it in next releases, becuase I think that many mediasdk users need such "realtime" feature.

Thanks,

Ran

0 Kudos
Reply