Media (Intel® oneAPI 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 sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

How to use Media SDK with V4l Linux ?

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

5 Replies
Jiandong_Z_Intel
Employee
299 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

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

rshal2
New Contributor II
299 Views

Hello, 

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

Regards,

Ran

Jiandong_Z_Intel
Employee
300 Views

Hi Ran,

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

Thanks,

Zachary

Satish_P_
Beginner
299 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

Reply