Community
cancel
Showing results for 
Search instead for 
Did you mean: 
rshal2
New Contributor II
167 Views

using PCIe with media sdk

Jump to solution

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
167 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

12 Replies
Bjoern_B_Intel
Employee
167 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

rshal2
New Contributor II
167 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

Jiandong_Z_Intel
Employee
167 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

rshal2
New Contributor II
167 Views

Hi Zachary,

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

Regards,

Ran

rshal2
New Contributor II
167 Views

Hi Zachary,

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

Regards,

Ran

Jiandong_Z_Intel
Employee
167 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

rshal2
New Contributor II
167 Views

Hi Zachary,

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

Regards,

Ran

Jiandong_Z_Intel
Employee
167 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

rshal2
New Contributor II
167 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

 

 

rshal2
New Contributor II
168 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

Satish_P_
Beginner
167 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?

 

rshal2
New Contributor II
167 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

Reply