Hello I stream video over udpsink with rtph264, while it works over ethernet
pretty fine with low latency, I have many problems over wifi, where I can not even get 1 frame per second, all frames are gray. I suppose this happens because of packet drops and rtp protocol, is there a way for me to fix this by keeping rtph264( because of the low latency it has)? -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi, please show your sender and receiver pipelines.
> On Dec 27, 2019, at 06:25, Osman Berk <[hidden email]> wrote: > > Hello I stream video over udpsink with rtph264, while it works over ethernet > pretty fine with low latency, I have many problems over wifi, where I can > not even get 1 frame per second, all frames are gray. > I suppose this happens because of packet drops and rtp protocol, is there a > way for me to fix this by keeping rtph264( because of the low latency it > has)? > > > > -- > 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 |
In reply to this post by Osman Berk
Le jeudi 26 décembre 2019 à 02:36 -0600, Osman Berk a écrit :
> Hello I stream video over udpsink with rtph264, while it works over ethernet > pretty fine with low latency, I have many problems over wifi, where I can > not even get 1 frame per second, all frames are gray. > I suppose this happens because of packet drops and rtp protocol, is there a > way for me to fix this by keeping rtph264( because of the low latency it > has)? Over wifi, you have to configure your jitterbuffer latency to match the the wifi latency, which is always higher. > > > > -- > 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 |
In reply to this post by Osman Berk
If you are simply payloading your data with rtph264pay, you are not using RTP, you are using little more than UDP. This will indeed break down when your latency and or jitter is unpredictable. See rtpsink/rtpsrc in git (gst-bad-plugins). for older releases, see On Fri, 27 Dec 2019 at 14:30, Osman Berk <[hidden email]> wrote: Hello I stream video over udpsink with rtph264, while it works over ethernet -- g. Marc
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
With using rtpjitterbuffer latency=2000 and/or rtpbin I increased the success
ratio of frame to %30~, after trying different pipelines over hours.. I looked into rtpsink/rtpsrc, and I suppose they are only in Ubuntu19. Now that I am giving up on this mission over wifi, is this feasible or possible, sending video over wifi via udp, with help of rtp. It seems packet losses hit great deal to rendering. -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le mar. 31 déc. 2019 07 h 00, Osman Berk <[hidden email]> a écrit : With using rtpjitterbuffer latency=2000 and/or rtpbin I increased the success As the other says, you need full RTP to get something like wifi running. RTP sink/src and ristsink/src are recent addition to make this easy, as using RTP in is non-trivial and requires programming. Unfortunately, recent also imply that to get this into distro, we will need 1.18 to be out. Meanwhile, have you considered using rtsp server + rtspsrc and enabling retransmission ?
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le mar. 31 déc. 2019 11 h 48, Nicolas Dufresne <[hidden email]> a écrit :
Phones hates technical writing. I meant to write "using rtpbin".
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Yeah I tried rtpbin with jitter as well, but to no avail.
-- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Le jeudi 09 janvier 2020 à 13:47 -0600, Osman Berk a écrit :
> Yeah I tried rtpbin with jitter as well, but to no avail. Did you enabled retransmission and made sure it worked ? > > > > -- > 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 |
Free forum by Nabble | Edit this page |