Change RTSP streaming paramters


1. Overview

  • This is a menthod to allow user can change the parameter of RTSP streaming from the Vio payload

  • Software: v1.0.3.1 or higher, download link

2. How to use

  • Create a "rtsp_stream.txt" file to the top folder on the microSD card then plug into the Vio payload

  • Reboot to apply the settings.

  • The parameter will be default if the Vio payload can not detect the config file on the microSD card.

  • The default settings is: 1080p / 4M.

3. The content of rtsp_stream.txt file

/*-----RTSP stream config-----*/
// Change the setting below to change the rtsp stream info

// streaming resolution
// 1: 1920x1080
// 2: 1280x720
// 3: 640x480

// streaming bitrate, in bits
BITRATE 4000000


4. Test command with gstreamer

gst-launch-1.0 rtspsrc latency=0 location=rtsp://<vio_ip>:8554/vio ! rtph264depay ! decodebin ! videoconvert ! autovideosink sync=false
  • Change the latency to 100 / 500/ 1000 then see the difference.

5. Convert dos2unix

  • If you create a rtsp_stream.txt on a Windows machine, it must be convert to unix system file style.

  • Please use below tools to convert the file before putting it onto the microSD card.

Last updated