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.

How to use Media SDK with V4l Linux ?

rshal2
New Contributor II
561 Views

Hello,

I've  been evaluating media sdk , but haven't yet understand how it should be used with capture device.

It seems that all examples for media sdk server (linux) refer to encode/decode only, but we are interested to work with video capture:

capture->encode->file

Is there any hint/tip as to how it should be used with capture device output ? Should it be used with v4l ?

Best Regards,

Ran

0 Kudos
1 Solution
Jiandong_Z_Intel
Employee
561 Views

Hi Ran,

My answer is No, But It looks like you should wait some experts to answer the question.

Thanks,

Zachary

View solution in original post

0 Kudos
5 Replies
Jiandong_Z_Intel
Employee
561 Views

Hi Ran,

I think v4l is good on Linux to do the capture and following thing need to do -

1. make sure your camera is connect to computer correctly.

2. make sure the driver for camera is ready and load successful in kernel.

3. open camera device and call ioctl functions to fetch the frame.

Do you agree ?

Thanks,

Zachary

0 Kudos
rshal2
New Contributor II
561 Views

Hi Zachary,

I apologyze for the English. I think the question was not well clear enough.

I am interested to know if there is any sample which shows how media sdk take frames from a v4l2 device.

I only found samples which shows this pipeline:

raw video file -> media sdk encode -> file  (and opposite direction for decode)

But not yet something like this:

v4l capture device -> media sdk encode -> file

If there is any such simple example, it can help me a lot.

Regards,

Ran

0 Kudos
rshal2
New Contributor II
561 Views

Hello, 

Are there any samples which demonstrate how to use v4l device ?

Regards,

Ran

0 Kudos
Jiandong_Z_Intel
Employee
562 Views

Hi Ran,

My answer is No, But It looks like you should wait some experts to answer the question.

Thanks,

Zachary

0 Kudos
Satish_P_
Beginner
561 Views

Hello

I have also Similar Problem , we are using V4L2 based SDI input device , and working to test some encoder based media sdk but we couldn't find a way to capture data from V4l2 device .

please help to overcome obstacle faced for Media SDK use 

 

Satish Pandey

0 Kudos
Reply