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.

GStreamer application with RidgeRun Evaluation SDK

I have a problem with RidgeRun Evaluation SDK for Davinci Leopard board. I tried to run gst-launch application like this:

gst-launch -e v4l2src always-copy=FALSE num-buffers=300 input-src=composite ! 'video/x-raw-yuv,format=(

fourcc)NV12,width=720,height=480,pitch=736' !
dmaiaccel ! queue ! dmaienc_h264 copyOutput=false ratecontrol=4 ! dmaiperf ! qtmux ! filesink location=file.mov

Leopard board started with video stream processing and writing it to the file and no error was reported. I successfully copied file on my PC and played it without any problem.

I tried to make my own GStreamer application with the pipes that I tested with gst-launch application. I used RidgeRun video-capture-application written in c as template. After running make command I copied my application to Leopard board and after starting it I got this error:

vpfe-capture vpfe-capture: dma_alloc_coherent size 7168000 failed               
Segmentation fault

I also tried to run RidgeRun video-capture-application and I did not have a problem with it.

Can someone know what might cause this behavior?

Gradimir.

  • Hi Gradmir,


    This issue seem to be memory related issues and you are de-referencing the pointers,  so compile your application with debug informations and then debug through cross-compiler (ex: arm-none-linux-eabi-gdb) or using valgrind tool,

    You may not get any errors while compiling but you wll face while running bcz of memory pointers,

    check out How you done the memory allocation , freeing memory, handling memory thr pointers & walk thr code  and analysis.