Send and stream live video with TCP
katariina
katariina.tuovinen at wapice.com
Fri Jul 6 11:48:39 UTC 2018
Hi! I'm working on a project, where I'm supposed send live videostream (from
nvidia jetson TX2) with TCP without saving that current video into a file.
At the moment I'm able to send video stream, but I have to save it to an
.avi-file on the receiver pipeline.
My sender pipeline is following (creates an .avi-video from jpeg-pictures):
gst-launch-1.0 nvcamerasrc fpsRange="30.0 30.0" intent=3 ! nvvidconv !
'video/x-raw, width=(int)1280, height=(int)720, format=(string)I420,
framerate=(fraction)30/1' ! \
nvjpegenc ! \
'image/jpeg,width=1280,height=720,framerate=30/1' ! \
jpegdec ! \
tee name=t ! \
queue ! \
xvimagesink t. ! \
queue ! \
videorate ! \
capsfilter caps="video/x-raw, width=(int)1280, height=(int)720,
framerate=1/1" ! \
videoconvert ! \
jpegenc ! \
avimux ! \
tcpclientsink host=127.0.0.1 port=5000
The receiver pipeline (atm it is saving a file)
gst-launch-1.0 tcpserversrc port=5000 ! filesink location=
"/home/nvidia/Projects/test.avi"
Would anyone have any good suggestions, or is it even possible to send and
stream video without saving it to a file?
Thanks before hand,
Katariina
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list