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:
Is there any hint/tip as to how it should be used with capture device output ? Should it be used with v4l ?
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 ?
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.
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