Playing UDP multicast video generated by gstreamer

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

Playing UDP multicast video generated by gstreamer

kunice
I am using gstreamer to generate a flow:
RPORT=11841
RCLIENT_IP=239.255.0.1

PORT=5000
CLIENT_IP=239.255.0.1

gst-launch-1.0 udpsrc multicast-group=${RCLIENT_IP} port=${RPORT} ! tsdemux name=demux demux. ! mpeg4videoparse ! omxmpeg4videodec ! nvvidconv ! 'video/x-raw(memory:NVMM), format=(string)I420' ! omxh265enc control-rate=2 bitrate=10000000 ! 'video/x-h265, stream-format=(string)byte-stream' ! h265parse ! rtph265pay mtu=1400 ! udpsink host=$CLIENT_IP port=${PORT} sync=false async=false

I start VLC and open the network stream "udp://@239.255.0.1:5000" and nothing plays. Can someone tell me what I am missing?
Reply | Threaded
Open this post in threaded view
|

Re: Playing UDP multicast video generated by gstreamer

Nicolas Dufresne-5
Le mercredi 19 juillet 2017 à 11:37 -0700, kunice a écrit :

> I am using gstreamer to generate a flow:
> RPORT=11841
> RCLIENT_IP=239.255.0.1
>
> PORT=5000
> CLIENT_IP=239.255.0.1
>
> gst-launch-1.0 udpsrc multicast-group=${RCLIENT_IP} port=${RPORT} !
> tsdemux
> name=demux demux. ! mpeg4videoparse ! omxmpeg4videodec ! nvvidconv !
> 'video/x-raw(memory:NVMM), format=(string)I420' ! omxh265enc control-
> rate=2
> bitrate=10000000 ! 'video/x-h265, stream-format=(string)byte-stream'
> !
> h265parse ! rtph265pay mtu=1400 ! udpsink host=$CLIENT_IP
> port=${PORT}
> sync=false async=false
>
> I start VLC and open the network stream "udp://@239.255.0.1:5000" and
> nothing plays. Can someone tell me what I am missing?

Does VLC expect MPEG TS, MPEG TS over RTP here ? I really doubt it
accepts single element stream in raw RTP.

regards,
Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel