Quantcast

low latency appsrc pipeline

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

low latency appsrc pipeline

Emmanuel Pacaud-3
Hi,

In a camera video viewer I'm developping, I'm trying to achiveve the
lowest latency possible for the video output.

The pipeline I'm using is based on appsrc, do some color conversion,
then display the output with gtksink or gtkglsink.

What I would like is a pipeline that displays the frames as they are
acquired from the camera. What would be the best way to achieve this
result ?

Currently, for some unkwnon reason, there is sometime around 1 second
or more of latency.

For reference, the corresponding code is here:

https://github.com/AravisProject/aravis/blob/master/viewer/arvviewer.c#L880

Thanks.

        Cheers,

                Emmanuel.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: low latency appsrc pipeline

Cyril Baletaud
Hi Emmanuel

In Jiguiviou, i have 3 backends.
  • gstreamer CPU, xvimagesink in QWidget, works well but CPU expensive with high frame rate or big image.
  • gstreamer GPU, glimagesink in QWidget, very good for YUV video non planar, less CPU but does not support BAYER image
  • native opengl with QOpenGL class, not ready but very efficient, BAYER compatible (all color conversion with shaders)
From GiGE camera to screen, latency is less than 80 ms . Mesured with timestamp on overlay, camera filming the screen.

2017-04-19 15:11 GMT+02:00 Emmanuel Pacaud <[hidden email]>:
Hi,

In a camera video viewer I'm developping, I'm trying to achiveve the lowest latency possible for the video output.

The pipeline I'm using is based on appsrc, do some color conversion, then display the output with gtksink or gtkglsink.

What I would like is a pipeline that displays the frames as they are acquired from the camera. What would be the best way to achieve this result ?

Currently, for some unkwnon reason, there is sometime around 1 second or more of latency.

For reference, the corresponding code is here:

https://github.com/AravisProject/aravis/blob/master/viewer/arvviewer.c#L880

Thanks.

        Cheers,

                Emmanuel.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: low latency appsrc pipeline

noscgag
In reply to this post by Emmanuel Pacaud-3
Some sink elements have a "sync" property that if you set it to false will dramatically improve the latency. My version of GStreamer doesn't have any of the gtk sinks so I don't know if they have it or not, but autovideosink does so you could test with that.



From: Emmanuel Pacaud <[hidden email]>
To: Discussion of the development of and with GStreamer <[hidden email]>
Sent: Wednesday, April 19, 2017 6:47 AM
Subject: low latency appsrc pipeline

Hi,

In a camera video viewer I'm developping, I'm trying to achiveve the
lowest latency possible for the video output.

The pipeline I'm using is based on appsrc, do some color conversion,
then display the output with gtksink or gtkglsink.

What I would like is a pipeline that displays the frames as they are
acquired from the camera. What would be the best way to achieve this
result ?

Currently, for some unkwnon reason, there is sometime around 1 second
or more of latency.

For reference, the corresponding code is here:


Thanks.

    Cheers,

        Emmanuel.

_______________________________________________
gstreamer-devel mailing list



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Loading...