ipipe-client activity breaks image capture

ipipe-client activity breaks image capture

This question is not answered

My gstreamer pipelines stop working after I use any of the ipipe-client commands, even just "get-exposure".  My end goal is to use the RR AEW demo to correct the images I take with the pipeline below.  I tried "ipipe-client init-aew [params]" first, but even the simple "get-exposure" command breaks the pipeline.  Am I missing something basic about using ipipe-client with gst-launch?

My hardware is: dm365 leopard board + LI-LBCM5M1 camera board (with MT9P011 sensor)

I'm using the VGA image capture example from RidgeRun's wiki at https://www.ridgerun.com/developer/wiki/index.php/LeopardBoard_365_GStreamer_Pipelines_-_SDK_2011Q2#Image_capture.

Thanks,

Mike

 

Here's what it looks like BEFORE running an ipipe-client command.

/ # cd /tmp
/tmp # FILE_NAME=VGA_jpeg_file_BEFORE_IPIPE-CLIENT_OPERATION.jpg
/tmp # gst-launch -e v4l2src always-copy=false num-buffers=1 chain-ipipe=true !

video/x-raw-yuv,format=\(fourcc\)UYVY, width=640, height=480 ! dmaienc_jpeg ! fi

lesink location=$FILE_NAME
Setting pipeline to PAUSED ...
davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
vpfe-capture vpfe-capture: IPIPE Chained
vpfe-capture vpfe-capture: Resizer present
vpfe-capture vpfe-capture: standard not supported
Pipeline is live and does not need PREROLL ...
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to set norm for device '/dev/video0'.
Additional debug info:
../../../src/sys/v4l2/v4l2_calls.c(743): gst_v4l2_set_norm (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Invalid argument
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Video input device did not accept new frame rate setting.
Additional debug info:
../../../src/sys/v4l2/v4l2src_calls.c(342): gst_v4l2src_set_capture (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Invalid argument
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 97978789 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
/tmp # ls -al
drwxrwxrwt    2 root     root            80 Jan  1 00:02 .
drwxrwxrwx   13 1000     1000          4096 Dec  7  2011 ..
-rw-r--r--    1 root     root          9268 Jan  1 00:02 VGA_jpeg_file_BEFORE_IPIPE-CLIENT_OPERATION.jpg
prw-r-----    1 root     root             0 Jan  1 00:00 psplash_fifo
/tmp #

Failed gst-launch command AFTER an ipipe-client request

Note filesize of VGA_jpeg_file_AFTER_IPIPE-CLIENT_OPERATION.jpg is 0.

/tmp #
/tmp #
/tmp #
/tmp # ipipe-client get-exposure
Exposure time: 18330
/tmp # FILE_NAME=VGA_jpeg_file_AFTER_IPIPE-CLIENT_OPERATION.jpg
/tmp # gst-launch -e v4l2src always-copy=false num-buffers=1 chain-ipipe=true !

video/x-raw-yuv,format=\(fourcc\)UYVY, width=640, height=480 ! dmaienc_jpeg ! fi

lesink location=$FILE_NAME
Setting pipeline to PAUSED ...
davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
vpfe-capture vpfe-capture: standard not supported
ERROR: Pipeline doesn't want to pause.
WARNING: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to set norm for device '/dev/video0'.
Additional debug info:
../../../src/sys/v4l2/v4l2_calls.c(743): gst_v4l2_set_norm (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Invalid argument
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format
Additional debug info:
../../../../src/libs/gst/base/gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Check your filtered caps, if any
Setting pipeline to NULL ...
Freeing pipeline ...
/tmp # ls -al
drwxrwxrwt    2 root     root           100 Jan  1 00:02 .
drwxrwxrwx   13 1000     1000          4096 Dec  7  2011 ..
-rw-r--r--    1 root     root             0 Jan  1 00:02 VGA_jpeg_file_AFTER_IPIPE-CLIENT_OPERATION.jpg
-rw-r--r--    1 root     root          9268 Jan  1 00:02 VGA_jpeg_file_BEFORE_IPIPE-CLIENT_OPERATION.jpg
prw-r-----    1 root     root             0 Jan  1 00:00 psplash_fifo
/tmp #

All Replies
  • Mike,

    I have run into this problem as well, except I am using the 5MP camera module with a Leopardboard 365.  Did you find any resolution to the issue?

    cg

  • I am also using the 5MP sensor board and if I run any ipipe commnads, my gstreamer pipe no longer works.

    My gstreamer comand:

    gst-launch -e v4l2src always-copy=FALSE chain-ipipe=true ! video/x-raw-yuv,format=\(fourcc\)NV12, width=1280, height=720, framerate=\(fraction\)23/1 ! queue ! dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 intraframeinterval=23 idrinterval=46 targetbitrate=1000000 ! rtph264pay ! udpsink port=3000 host=192.168.50.71 sync=false enable-last-buffer=false

    I am also looking for some guidance, thanks.