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

How to use Media SDK with V4l Linux ?

Jump to solution

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

Accepted Solutions
Jiandong_Z_Intel
Employee
83 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
83 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
83 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
83 Views

Hello, 

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

Regards,

Ran

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

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