Comments (4)
As per log you shared and according to what is reported here
https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#source-ffmpeg
I would suggest to try to add #video=h264
To the ffmpeg configuration row
from go2rtc.
#video=h264 was a good tip, now I can get the main stream to work. The substream does not work, here is the log, what could it be?
Except for the resolution and refresh rate, the substream is the same.
substream.txt
mainstream.txt
from go2rtc.
It doesn't make sense to add the rotated stream with a second line. All clients will choose the first line because the codec is the same.
from go2rtc.
For Frigate, I need the mainstream with 4k for recording, and the HD-ready stream for detect and liveview. That can't be split with one stream, because otherwise the detector would need too much power.
west:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/west_sub
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/west
input_args: preset-rtsp-restream
roles:
- record
detect:
width: 720
height: 1280
fps: 6
live:
stream_name: west_sub
from go2rtc.
Related Issues (20)
- Question about adding camera dynamically HOT 8
- High Availability topology
- Error opening stream (INVALIDDATA) from HomeKit source (Aqara G2H) HOT 18
- Using piped backchannel without consumers leads to nil HOT 2
- Re-using homekit URL from HomeAssistant results in ffmpeg initialization error HOT 3
- Need a workflow for TurnServer with WebRTC HOT 3
- exec does not kill previous command when reconnecting HOT 9
- Incoming MJPEG stream not work HOT 8
- stun/turn webrtc config not respected HOT 12
- Camera health check through online state HOT 2
- How Update under proxmox container? HOT 2
- WebRTC stream freezes HOT 2
- go2rtc no ports assigned HOT 1
- Dahua Camera error="streams: wrong user/pass" HOT 2
- building custom ui HOT 1
- 2024-05-08 06:45:00.311793223 06:45:00.311 WRN [streams] json locked HOT 3
- From one camera stream, provide one with and one without audio? HOT 4
- Source: Nest - "400 Bad Request" HOT 7
- Stream Google Nest (WebRTC) from homeassistant to youtube HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go2rtc.