RES: Streaming/ manipulating stream
stproj
smpalasis at gmail.com
Tue Nov 17 07:31:35 PST 2015
dfussia wrote
> yes, you can use the 'tee' GstElement.
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-tee.html
>
> To create multiples stream from one source and manipulate it to send other
> hosts, save in file or to play on your pc.
>
> Regards,
> Daniel Fussia
Greetings again, I am working on my on this project of mine which i find
very educational.
Again, what i am trying to achieve is to forward an rtp traffic from a
source to a pc (named pc1) and then forward again on other pc (named pc2)
which will receive a either transcoded form or display as is. What i have
achieved so far:
1. Transfer an mp4 from one pc to another.
2. Forward rtp traffic from pc1 to pc2 and then saved to a filesink on pc2
What i have a problem right now is that i want to extend my 2nd achievement
(described above) to something more:
3. Receive rtp traffic, store it to a filesink and forward using udpsink (a
mix of 1 and 2 described above)
I provide my pipelines for both 1,2 and 3 but no.3 needs some modification
Sender:
gst-launch-1.0 -v filesrc location = test.mp4 ! qtdemux ! h264parse !
avdec_h264 ! videoconvert ! x264enc ! rtph264pay ! udpsink
host=192.168.10.18 port = 5000
Receiver
1. gst-launch-1.0 -e udpsrc port=5000 caps="application/x-rtp ,
media=(string)video , clock-rate=(int)90000, encoding-name=(string)H264" !
rtpjitterbuffer latency=100 ! rtph264depay ! h264parse ! mp4mux ! filesink
location=try.mp4
2. gst-launch-1.0 -v udpsrc port=5000 ! -e udpsink host= 192.168.10.19 port
= 5001
# this is pc1 and excute the 1st Receiver pipeline on pc2 to store the
traffic on pc2, modyfying
# ports and addresses
3. gst-launch-1.0 udpsrc port=5000 -e -v tee name=tp tp. ! queue ! udpsink
host=192.168.10.19 port=5001 tp. ! queue ! caps="application/x-rtp ,
media=(string)video , clock-rate=(int)90000, encoding-name=(string)H264" !
rtpjitterbuffer latency=100 ! rtph264depay ! h264parse ! mp4mux ! filesink
location=my.mp4
#The above gives this error: link without source element. I am trying to
understand if i have split the pipeline correct or not using tee to and
queue .
Any advice would be very helpful.
Best Regards,
S.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Streaming-manipulating-stream-tp4674241p4674545.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list