This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320DM368: dm368: gstreamer-0.10 v4l2src source code location?

Part Number: TMS320DM368

Hello TI,


We are working on DM368 Board and we are trying to get gstreamer working for video streaming.

But currently we are facing some issue with that. So we need below help from TI community.

1) When we ran "gst-inspect-0.10 v4l2src" we found that it is using gstlibvideo4linux2.so file which is present in targetfs/usr/lib/gstreamer.

But when we build the DVSDK we found that it is not compiling and creating the .so files but instead extracting from tar files present in the filesystem.

So could you please help us to locate the source code for "v4l2src" inside dvsdk? Or, Can you please provide us the source code for v4l2src?

2) Our main objective is to make gstreamer work properly while streaming video using "CMEM" memory allocation.

When we ran "gst-launch-0.10" command it is always going to "MMAP" region and failing.

So we wanted to make sure that camera buffers are allocating on "CMEM" region only.

Could you please guide us how we can use gstreamer in such a way that it should allocate memory always on "CMEM" region.

Command used for video capture:

 gst-launch-0.10 v4l2src ! 'video/x-raw-yuv, format=(fourcc)NV12, width=720, height=480'  !  TIVide
nc1 codecName=h264enc engineName=codecServer contiguousInputFrame=TRUE ! fakesink

Note: When we tried using TI given example code "ti-dvsdk_dm368-evm_04_02_00_06/psp/linux-driver-examples-psp03.01.01.38/imp-prev-rsz/dm365/capture_prev_rsz_ss_raw_yuv", We saw that it was allocating memory on CMEM region and we were able to capture without any issue.


Kindly help us to solve this issue.

Please  find version related details below:

DVSDK: ti-dvsdk_dm368-evm_4_02_00_06
Linux: 2.6.32.17
PSP: 03.01.01.39
gstreamer: gstreamer-0.10
Thanks and Regards,
Indranil Ghosh
PathPartner Technology