How to play .sdp using gst-launch-1.0 through command line

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

How to play .sdp using gst-launch-1.0 through command line

RK29
Sdp file:
v=0
o=- 1804289383 0 IN IP4 10.116.159.3
s=ShareLink session
t=0 0
a=tool:GStreamer
a=recvonly
m=video 5000/2 RTP/AVP 96
c=IN IP4 224.0.2.0/127
a=rtpmap:96 H264/90000
a=fmtp:96 media=video; encoding-name=H264
a=ssrc:12345678
a=framerate:60.240
m=audio 5004/2 RTP/AVP 97
c=IN IP4 224.0.2.0/127
a=rtpmap:97 OPUS/48000/2
a=fmtp:97 media=audio; encoding-name=OPUS
a=ssrc:87654321


I have tried:
gst-launch-1.0 videotestsrc ! ffenc_mpeg4 ! rtpmp4vpay config-interval=3 !
udpsink host=10.116.159.3 port=5000


gst-launch-1.0 filesrc location=restream_10.116.159.3.sdp ! sdpdemux !
decodebin ! videoconvert ! autovideosink



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

Re: How to play .sdp using gst-launch-1.0 through command line

RK29
Here is the answer
gst-launch-1.0 souphttpsrc
location=http://IP/www/public/.settings/restream_224.0.2.0.sdp ! sdpdemux
name=dm ! application/x-rtp,media=video ! decodebin ! autovideosink     dm.
! application/x-rtp,media=audio ! decodebin ! audioconvert ! queue !
autoaudiosink



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel