# This is the configuration file for v4l2rtspserver. # You must make the following system configuration changes to run v4l2rtspserver: # # 1. Add gpu_mem=128 and start_x=1 to /boot/config.txt. # 2. Add bcm2835-v4l2 and bcm2835-codec to /etc/modules. # 3. Change ENABLED=0 to ENABLED=1 below. # # The RTSP video stream URL will be: # # rtsp://:8554/ts # Set this to 1 to enable the service. This is so you can configure it before it starts up. ENABLED=0 # Set PARAMS to command line parameters you need from the help below: PARAMS="-S1" # If you use the -p or -P parameter above, change the following line to reflect that. PORTLIST="8554" # OUTPUT OF v4l2rtspserver help: # #v4l2rtspserver [-v[v]] [-Q queueSize] [-O file] # [-I interface] [-P RTSP port] [-p RTSP/HTTP port] [-m multicast url] [-u unicast url] [-M multicast addr] [-c] [-t timeout] [-T] [-S[duration]] # [-r] [-w] [-s] [-f[format] [-W width] [-H height] [-F fps] [device] [device # -v : verbose # -vv : very verbose # -Q : Number of frame queue (default 10) # -O : Copy captured frame to a file or a V4L2 device # -b : path to webroot # RTSP/RTP options # -I : RTSP interface (default autodetect) # -P : RTSP port (default 8554) # -p : RTSP over HTTP port (default 0) # -U : : RTSP user and password # -R : use md5 password 'md5(::') # -u : unicast url (default unicast) # -m : multicast url (default multicast) # -M : multicast group:port (default is random_address:20000) # -c : don't repeat config (default repeat config before IDR frame) # -t : RTCP expiration timeout in seconds (default 65) # -S[] : enable HLS & MPEG-DASH with segment duration in seconds (default 2) # V4L2 options # -r : V4L2 capture using read interface (default use memory mapped buffers) # -w : V4L2 capture using write interface (default use memory mapped buffers) # -B : V4L2 capture using blocking mode (default use non-blocking mode) # -s : V4L2 capture using live555 mainloop (default use a reader thread) # -f : V4L2 capture using current capture format (-W,-H,-F are ignored) # -f : V4L2 capture using format (-W,-H,-F are used) # -W : V4L2 capture width (default 0) # -H : V4L2 capture height (default 0) # -F : V4L2 capture framerate (default 25) # -G x[x] : V4L2 capture format (default 0x0x25) # Devices : # [V4L2 device][,ALSA device] : V4L2 capture device or/and ALSA capture device (default /dev/video0,/dev/video0)