Hi All,
Brand new GStreamer developer here. At the moment I am keeping things simple and trying to ingest a H.264 encoded SRT stream and then just display the stream. I am using the following command: gst-launch-1.0 srtsrc uri="srt://10.10.255.185:10000?passphrase=testing123" ! h264parse ! avdec_h264 ! autovideosink ...and the output stream looks like this: I have been doing some reading which takes about the need to force a key unit, but after a lot of searching and reading I am a bit unsure if that's related or how to do that. Any help would be greatly appreciated. Cheers, Matt _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi,
I'm going on a limb here ... but I'm guessing what's transferred over SRT is mpeg-ts (and not raw h264). So use tsdemux after srtsrc. Or better yet: srtsrc ! video/mpeg-ts ! queue ! decodebin ! queue ! autovideosink That will take care of demuxing, decoding ,... BR, Edward On Thu, 2020-12-24 at 16:31 +1100, [hidden email] wrote: > Hi All, > > Brand new GStreamer developer here. At the moment I am keeping things simple > and trying to ingest a H.264 encoded SRT stream and then just display the > stream. I am using the following command: > > gst-launch-1.0 srtsrc uri="srt://10.10.255.185:10000?passphrase=testing123" ! > h264parse ! avdec_h264 ! autovideosink > > ...and the output stream looks like this: > > > > I have been doing some reading which takes about the need to force a key unit, > but after a lot of searching and reading I am a bit unsure if that's > related or how to do that. > > Any help would be greatly appreciated. > > Cheers, > Matt > _______________________________________________ > 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 |
Many thanks Edward, that did the trick :) On Thu, Dec 31, 2020 at 7:11 PM Edward Hervey <[hidden email]> wrote: Hi, _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by skoota
p.s. At the moment a queue is recommended beforen h264parse.
How is your sender encoder configured ? Did you enable periodic keyframe?
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |