[aravis] Aravissrc Hardware Trigger Issue

  • From: Ian McCoy <immccoy78@xxxxxxxxx>
  • To: aravis@xxxxxxxxxxxxx
  • Date: Fri, 4 Aug 2017 12:24:10 -0500

Hi,

I'm having two issues with the aravissrc gstreamer element and I would
appreciate any help.  I'm running the following command:

gst-launch-1.0 -ev --gst-debug=4 \
videotestsrc pattern="black" \
    ! video/x-raw,format=NV12,width=1280,height=400 ! comp.sink_0 \
--gst-plugin-load=/usr/lib/gstreamer-1.0/libgstaravis-0.6.so aravissrc
camera-name=PointGrey-15634897 do-timestamp=true \
    ! video/x-raw,format=GRAY8,width=1920,height=1200 ! videoconvert !
queue ! videoscale !
video/x-raw,width=640,height=400,pixel-aspect-ratio=640/400 \
    ! comp.sink_1 \
--gst-plugin-load=/usr/lib/gstreamer-1.0/libgstaravis-0.6.so aravissrc
camera-name=PointGrey-15634934 do-timestamp=true \
    ! video/x-raw,format=GRAY8,width=1920,height=1200 ! videoconvert !
queue ! videoscale !
video/x-raw,width=640,height=400,pixel-aspect-ratio=640/400 \
    ! comp.sink_2 \
compositor name=comp \
        sink_0::xpos=0   sink_0::ypos=0  sink_0::alpha=0 \
        sink_1::xpos=0   sink_1::ypos=0 \
        sink_2::xpos=640 sink_2::ypos=0 \
    ! vaapipostproc ! video/x-raw,framerate=10/1 ! vaapisink


I'm also externally triggering two Point Grey cameras with a hardware
trigger at 10Hz.  I'm encoding and displaying the video (although the
example above I'm just displaying it).  The cameras configuration is saved
in a "memory channel" and it runs the same configuration each time it is
powered up.

My issue is when I call the above command.  One of the camera works as
expected.  It gets the trigger signal as expected.  The other camera has
its' trigger disabled and it goes into continuous capture (~40Hz) mode.
There seems to be a significant delay while the software is starting up.
Not sure if there is an issue with a timeout.

My second issue is when I call the above command and then start the trigger
sometime after (5-10 Seconds) I have called the routine.  Both cameras get
set to continuous capture mode.  Is there away to have them wait on the
external trigger before the pipeline starts.  I need both camera to be
synchronize and start recording at the same time.  I'm working on a stereo
camera project.

Regards,

Ian

Other related posts:

  • » [aravis] Aravissrc Hardware Trigger Issue - Ian McCoy