Bin bin = Bin.launch("tee name=t t. ! queue ! videoconvert ! autovideosink "
+" t. ! queue ! videoconvert ! videoscale ! capsfilter caps=video/x-raw,width=640,height=480 ! appsink name=appsink "
+" t. ! queue ! matroskamux ! filesink location=./MultiSinkPlayBin.mkv"
+ " t. ! queue ! videoconvert ! udpsink host=127.0.0.1 port=5432", true );
I am using the MultiSinkExample code. The playbin's URI is set to the camera's URL.
The video stream shows up and the file gets created with video. But I cannot get the UDP working.
(On the receiving end):
In order to receive the video over UDP I am issuing the following from command line:
gst-launch -e udpsrc port=5432 ! filesink location=./UDP3IPIP.mkv
What am I doing wrong?
I would appreciate your help.
Thanks,
Farshid
--
You received this message because you are subscribed to the Google Groups "gstreamer-java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gstreamer-jav...@googlegroups.com.
To post to this group, send email to gstream...@googlegroups.com.
Visit this group at https://groups.google.com/group/gstreamer-java.
For more options, visit https://groups.google.com/d/optout.
Bin bin = Bin.launch("tee name=t "
+" t. ! queue ! videoconvert ! videoscale ! capsfilter caps=video/x-raw,width=640,height=480 ! videorate ! video/x-raw,framerate=1/3 ! appsink name=appsink "
+ " t. ! queue ! videorate ! video/x-raw,framerate=1/3 ! x264enc pass=qual quantizer=20 tune=zerolatency ! rtph264pay ! udpsink host=127.0.0.1 port=5432 ", true);
and on the receiving end: I issued this on the command line:
gst-launch-1.0 -e -v udpsrc port=5432 ! "application/x-rtp, payload=127" ! rtph264depay ! decodebin ! glimagesink
Since I am new to gstreamer and all its intricacies, I will continue educating myself.
The original signal/uri from the camera was :
rtsp://192.168.0.92/axis-media/media.amp?videocodec=h264&camera=1
I am wondering if I can do this better (more efficient) in any form or shape. Anyone has any idea how can I improve this stream?
I would greatly appreciate your inputs and suggestions.
Thanks,
Farshid