chenx
August 31, 2017, 9:34am
1
Hi, everyone. I have used gstreamer generated rtsp stream:
gst-launch-1.0 -v v4l2src device=/dev/video1 ! ‘video/x-raw, format=(string)I420,width=(int)640, height=(int)480’ ! videoconvert ! omxh264enc bitrate=2000000 insert-sps-pps=true ! h264parse ! rtph264pay pt=96 config-interval=1 ! udpsink host=127.0.0.1 port=16000 sync=false async=false
But I don’t know how to play it on vlc. I have tried “udp://@127.0.0.1 :160000”, and nothing happened.
Does anyone know what should I do? Thank you!
chenx
August 31, 2017, 9:35am
2
sorry.I have tried “udp://@127.0.0.1 :16000”
DaneLLL
September 1, 2017, 2:18am
3
chenx
September 1, 2017, 6:19am
4
I have tried test-launch and it worked. But I am wondering whether there is a way that can play the rtsp stream generated by gst-launch on vlc directly, without using test-launch or sdp file?
DaneLLL
September 4, 2017, 2:39am
5
It is more about gstreamer frameworks. Please get help from http://gstreamer-devel.966125.n4.nabble.com/ or other users can share experience.