There is large landency with appsrc, how to choose the video source?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

There is large landency with appsrc, how to choose the video source?

kevin_yang
Hello Everyone,

I'm new to the gstreamer, and I need to use gst-rtsp-server in our project.
The use case is there is a camera, and I can get the camera video data by
socket. And I need to use rtsp server to handle those video data and
boardcast them.
I tried to use appsrc, but it has large landency and caton. "appsrc
name=mysrc is-live=true do-timestamp=true ! h264parse ! decodebin ! x264enc
tune=zerolatency ! rtph264pay name=pay0 pt=96"

I searched a lot on Google, but didn't make sence.

Should I continue using appsrc? If yes, how to use it? if no, which compent
is good for me?

Thank you very much.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: There is large landency with appsrc, how to choose the video source?

Nicolas Dufresne-5


Le lun. 29 avr. 2019 04 h 25, kevin_yang <[hidden email]> a écrit :
Hello Everyone,

I'm new to the gstreamer, and I need to use gst-rtsp-server in our project.
The use case is there is a camera, and I can get the camera video data by
socket. And I need to use rtsp server to handle those video data and
boardcast them.
I tried to use appsrc, but it has large landency and caton. "appsrc
name=mysrc is-live=true do-timestamp=true ! h264parse ! decodebin ! x264enc
tune=zerolatency ! rtph264pay name=pay0 pt=96"

Can you specify how large ? Which client is being used ?


I searched a lot on Google, but didn't make sence.

Should I continue using appsrc? If yes, how to use it? if no, which compent
is good for me?

Appsrc should be fine, but you may want to configure the appsrc queue with a limit. Specially when using do-timestamp
Since queued buffer ends up with burst of timestamp (close by).

Thank you very much.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
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