mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-08-06 10:44:05 +00:00
Add 360/1080 mjpeg streams for octoprint
Octoprint requires mjpeg streams still and the rtsp streams don't contain the mjpeg codec. To work around this, go2rtc can consume the jpeg URL from the localhost and rebroadcast the jpegs as a mjpeg stream.
This commit is contained in:
@@ -23,3 +23,5 @@ streams:
|
||||
- exec:ffmpeg -hide_banner -f alsa -ac 1 -i dsnooper2 -c:a libfdk_aac -afterburner 1 -channels 1 -b:a 128k -profile:a aac_he -ar 16000 -strict experimental -muxdelay 0 -muxpreload 0 -ac:a 1 -f rtsp {output}
|
||||
# libopus has higher cpu requirements, audio may studder.
|
||||
# - exec:ffmpeg -hide_banner -f alsa -ac 1 -i dsnooper2 -c:a libopus -muxdelay 0 -muxpreload 0 -ac:a 1 -af adelay=0|0 -f rtsp {output}
|
||||
jpeg_1080p: http://127.0.0.1/cgi-bin/jpeg.cgi?channel=0
|
||||
jpeg_360p: http://127.0.0.1/cgi-bin/jpeg.cgi?channel=0
|
||||
|
Reference in New Issue
Block a user