hi guys i'am new in gstreamer and i want to stream a mp4 file to my desktop
(ubuntu 18.04 ) to another pc ( ubuntu 18.04 ) for now i can successfully
stream video only with :
*SERVER:*
gst-launch-1.0 -v filesrc location=./Videos/Tamil/Mun\ Andhi.mp4 ! decodebin
! x264enc ! rtph264pay ! udpsink host=192.168.6.61 port=6002
*CLIENT:*
gst-launch-1.0 -v udpsrc port=6002 caps = "application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264,
payload=(int)96" ! rtph264depay ! decodebin ! videoconvert ! autovideosink
and audio only with :
sender :
gst-launch-1.0 -v filesrc location=song.mp3 ! mpegaudioparse !
mpg123audiodec ! audioconvert ! audioresample ! audio/x-raw, rate=16000,
channels=1, format=S16LE ! audiomixer blocksize=320 ! udpsink
host=172.18.2.170 port=3128
Reciever :
gst-launch-1.0 -v udpsrc port=3128 ! rawaudioparse use-sink-caps=false
format=pcm pcm-format=s16le sample-rate=16000 num-channels=1 ! queue !
audioconvert ! audioresample ! autoaudiosink
but both i can't resolve it did someone can help me and thanks !??
--
Sent from:
http://gstreamer-devel.966125.n4.nabble.com/_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel