Hello community. I try to display an rtp stream encoded in h264 on a computer
(send by a camera) . I use gstreamer (in command line) for windows (sorry I didn't have the choice to use it on windows). I success to display correctly with this line on Linux (ubuntu): gst-launch-1.0.exe -v udpsrc port=5008 ! application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! textoverlay text="192.168.120.2" ! fpsdisplaysink sync=false text-overlay=false But when I try to use the same line on windows, it works but they are some glitch on the video( luminosity problem, color problem etc), it seems to have difficulty to decode, depay or support H264 format. I search since 2 weeks how to resolve this, but I found nothing. Someone has idea of what is wrong on my line or what option that I don't use and it necessary in windows for a best H264 decoding? Thanks Best regard -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I wasn't able to get your pipeline to work on a Windows system as-is. However, the following modified pipeline worked for me: gst-launch-1.0.exe -v udpsrc port=5008 ! application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! video/x-h264,stream-format=(string)byte-stream,alignment=(string)nal ! h264parse ! avdec_h264 ! textoverlay text="192.168.120.2" ! fpsdisplaysink sync=false text-overlay=false I added the stream format description and the h264parse element . Your format description may be different than mine so if the one above doesn't work you may have to tweak that. Gary
On Tuesday, January 16, 2018, 7:18:34 AM PST, Pyrodrag <[hidden email]> wrote:
Hello community. I try to display an rtp stream encoded in h264 on a computer (send by a camera) . I use gstreamer (in command line) for windows (sorry I didn't have the choice to use it on windows). I success to display correctly with this line on Linux (ubuntu): gst-launch-1.0.exe -v udpsrc port=5008 ! application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! avdec_h264 ! textoverlay text="192.168.120.2" ! fpsdisplaysink sync=false text-overlay=false But when I try to use the same line on windows, it works but they are some glitch on the video( luminosity problem, color problem etc), it seems to have difficulty to decode, depay or support H264 format. I search since 2 weeks how to resolve this, but I found nothing. Someone has idea of what is wrong on my line or what option that I don't use and it necessary in windows for a best H264 decoding? Thanks Best regard -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Thanks, it works perfectly now. The order of the different "plugin" is very
important for gstreamer ? I search what is the reason for my line doesn't work. Now I try to add some options. If I have another problem, I ask you ;) -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |