-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgo2rtc.yaml
More file actions
27 lines (24 loc) · 1.31 KB
/
Copy pathgo2rtc.yaml
File metadata and controls
27 lines (24 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
streams:
logitech_c270:
- ffmpeg:device?video=/dev/video0&input_format=mjpeg&video_size=1280x720
- ffmpeg:http://localhost:1984/api/stream.mjpeg?src=logitech_c270#video=h264#hardware
#- ffmpeg:device?video=/dev/video0&input_format=yuyv422&video_size=1280x720#video=h264#hardware
#- ffmpeg:logitech_c270#input_format=mjpeg#video_size=1280x720
#- ffmpeg:logitech_c270#video=mjpeg
#logitech_c270_mjpeg:
# - ffmpeg:http://localhost:1984/api/stream.mp4?src=logitech_c270#vcodec=mjpeg#qscale=1
#logitech_c270:
# - ffmpeg:device?video=/dev/video0&input_format=mjpeg&video_size=1280x720
api:
listen: ":1984" # default ":1984", HTTP API port ("" - disabled)
#base_path: "/rtc" # default "", API prefix for serve on suburl (/api => /rtc/api)
#static_dir: "www" # default "", folder for static files (custom web interface)
origin: "*" # default "", allow CORS requests (only * supported)
webrtc:
listen: ":8555" # address of your local server and port (TCP/UDP)
ffmpeg:
bin: ffmpeg # path to ffmpeg binary
#h264: "-codec:v libx264 -g:v 30 -preset:v superfast -tune:v zerolatency -profile:v main -level:v 4.1"
#mycodec: "-any args that supported by ffmpeg..."
#myinput: "-fflags nobuffer -flags low_delay -timeout 5000000 -i {input}"
#myraw: "-ss 00:00:20"