Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gstreamer pipeline freeze on first frame (GStreamer + Daheng USB3) #900

Open
glndti opened this issue May 7, 2024 · 1 comment
Open
Labels
2. Needs informations Needs additional informations 5. Gstreamer Issue in GStreamer plugin

Comments

@glndti
Copy link

glndti commented May 7, 2024

Describe the bug
Only the first video frame is displayed, when a gstreamer pipeline is started. Note that arv-viewer-0.8 works as expected, showing a live video stream from the camera with the options to change relevant settings.

To Reproduce
Run a gstreamer pipeline, for instance:
gst-launch-1.0 aravissrc ! video/x-raw,format=GRAY8 ! videoconvert ! autovideosink

Expected behavior
A live rendering showing the output from the camera.

Camera description:

  • Manufacturer: Daheng
  • Model: VEN-505-36U3M-M05
  • Interface: USB3

Platform description:

  • Aravis version: 0.8.31
  • OS: Ubuntu 20.04.6 LTS
  • Hardware: x86_64

Additional context
A gstreamer test pipeline works as expected:
gst-launch-1.0 videotestsrc ! videoconvert ! autovideosink

A gstreamer test pipeline with a traditional camera with v4l2 that works as expected:
gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! autovideosink

Output from arv-test-0.8: arv-test_output.txt

Output from arv-test-0.8 genicam: genicam_info.txt

Output from gstreamer pipeline with ARV_DEBUG=all:2(info) and ARV_DEBUG=all:3(debug):
gstreamer_pipeline_aravis=info.txt
gstreamer_pipeline_aravis=debug.txt

Output from gstreamer pipeline with GST_DEBUG=3(fixme), GST_DEBUG=4(info) and GST_DEBUG=5(debug):
gstreamer_pipeline_gst=debug.txt
gstreamer_pipeline_gst=fixme.txt
gstreamer_pipeline_gst=info.txt

@EmmanuelP
Copy link
Contributor

Try to explicitely define the framerate. Here is an example:

gst-launch-1.0 aravissrc ! video/x-raw,format=GRAY8,framerate=10/1 ! videoconvert ! autovideosink

Ensure you set a valid framerate for your camera.

@EmmanuelP EmmanuelP added 5. Gstreamer Issue in GStreamer plugin 2. Needs informations Needs additional informations labels Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. Needs informations Needs additional informations 5. Gstreamer Issue in GStreamer plugin
Projects
None yet
Development

No branches or pull requests

2 participants