I’m trying to streaming from a camera to my TX2. My camera can only generate a stream to an external address. From my understanding the procedure would be:
setup a RTSP server on TX2 that wait for a connection
connect the camera to this port and start streaming
read the port with gstreamer and OpenCV, e.g. ‘rtspsrc location=127.0.0.1: ! … ! appsink’
From all materials I found, they read from a external stream to TX2 and then feed it to anywhere they like, but in my case I do not have an address for the camera stream and I’m not sure how to point it to the right place on TX2. Any suggestions would be much appreciated.
Meanwhile if anyone can help me with reading rtmp streaming using gstreamer? e.g. some pipelines like ‘rtmpsrc location= ! … ! appsink’
Hi,
We usually set up rtsp server via test-launch.c. You may check the source code to get more information. Other users may also share experience of using different methods.
On TX2, we support nvcamerasrc for on-board cameras(Bayer Senors) and v4l2src for USB cameras(and YUV sensors). Your camera looks to be an IP camera? Please go to gstreamer forum. Users there are more experienced in gstreamer usecases and can give you better suggestion.
I can run xvimagesink sucessfully, but not omxh264dec with nvover
I have the following msg:
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (request) SETUP stream 2
Progress: (open) Opened Stream
Setting pipeline to PLAYING …
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request