Streaming Mp4 video through RTP protocol using Gstreamer in Ubuntu

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

Streaming Mp4 video through RTP protocol using Gstreamer in Ubuntu

YRusinov
Dear All !

I'm trying to fetch the video file from my local directory, enable the stream from server and capture these video from my Client side. I try to runĀ 
gst-launch-1.0 -v filesrc location = my_video.mp4 ! decodebin ! x264enc ! rtph264pay ! udpsink host=192.168.10.108 port=5251
on server andĀ 
gst-launch-1.0 -v udpsrc port=5000 caps="application/x-rtp, media=video, clock-rate=90000, encoding-name=H264, payload=96, ssrc=3394826012, timestamp-offset=2215812541, seqnum-offset=46353" ! rtph264depay ! decodebin ! videoconvert ! autovideosink sync=false
on client, but I'm not seeing any display(Not even the launch application screen)
I'm running these command in command line in Ubuntu-19.10. Do I have to run this commands on different machines? This command without udp works fine.

Best regards,
Sincerely yours,
Yuriy Rusinov.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Streaming Mp4 video through RTP protocol using Gstreamer in Ubuntu

Stephenwei
gst-launch-1.0 -v filesrc location = my_video.mp4 ! decodebin ! x264enc !
rtph264pay ! udpsink host=192.168.10.108 port=5251
on server and
gst-launch-1.0 -v udpsrc port=5000 caps="application/x-rtp, media=video,
clock-rate=90000, encoding-name=H264, payload=96, ssrc=3394826012,
timestamp-offset=2215812541, seqnum-offset=46353" ! rtph264depay ! decodebin
! videoconvert ! autovideosink sync=false


udpsink host=192.168.10.108 port=5251 and  udpsrc port=5000 ??????






--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
GStreamer is a convenient multimedia platform, I like it.
Develop the NVR system on ARM/x86(c/python)
Use python to generate NVR is crazy, of course works fine.