Playing udp stream in VLC issue

Nicolas Dufresne nicolas at ndufresne.ca
Fri Jan 31 12:33:12 UTC 2020


Le jeu. 30 janv. 2020 13 h 30, jles <jlesquer at gmail.com> a écrit :

> Hello,
>
> I'm trying to play in VLC the next gstreamer pipeline form:
>
> appsrc -> omxh264 -> h264parser -> mpegtsmux -> udpsink
> In order to play it in VLC I setup the network stream source to:
>
> udp://192.168.1.12@:5000/
> The VLC only plays the video following the next sequence:
>
> - Start VLC player and open network connection, (remains on waiting
> status).
>
> - Start/play the gstreamer pipeline.
>
> But if I try the other way around, i.e. start first the gstreamer pipeline
> and after launch VLC, it is not able to display the incoming udp video
> stream.
>
> Ideally I need to play/start the gstreamer udp stream and open VLC any time
> I need to play/see the video.
>
> Does anyone have any idea/clue why it's behaving like this?
>

There is likely a property on your encoder to control the keyframe
interval. What might be happening is that only one keyframe is sent at the
start, so if you start VLC after, it will wait forever.


>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200131/1a8b5d75/attachment.htm>


More information about the gstreamer-devel mailing list