Comments (3)
You don't get "stream name" idea.
ffmpeg:back#video=h264#audio=aac
- transcode stream "back", but you don't have itlegehus: rtmp://
- publishing stream "legehus", but you don't have it- Transcoding H264 to H264 in same stream - useless. Because clients will always use first (not transcoded) source.
from go2rtc.
Thanks for the update. I have tried to update the config to reflect the idea:
streams:
legehus:
- hass://192.168.1.4:8123?entity_id=camera.kamera&token=<redacted>
- "ffmpeg:legehus#video=h264#audio=aac"
publish:
legehus: rtmp://x.rtmp.youtube.com/live2/<redacted>
Have I stream concept understood it correct?
Logs from running:
root@zoneminder:/opt/go2rtc# ./go2rtc_linux_amd64
09:42:38.472 INF go2rtc version 1.9.1 linux/amd64
09:42:38.474 INF [rtsp] listen addr=:8554
09:42:38.475 INF [webrtc] listen addr=:8555
09:42:38.476 INF [api] listen addr=:1984
09:42:41.451 DBG [exec] run cmd="ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/legehus?video&audio -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a aac -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/a9cd7676f930cce0c6e831fbd4b3b00c" url="exec:ffmpeg -hide_banner -v error -fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_flags prefer_tcp -i rtsp://127.0.0.1:8554/legehus?video&audio -c:v libx264 -g 50 -profile:v high -level:v 4.1 -preset:v superfast -tune:v zerolatency -pix_fmt:v yuv420p -c:a aac -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://127.0.0.1:8554/a9cd7676f930cce0c6e831fbd4b3b00c"
[rtsp @ 0x559ef31e4ec0] Unable to open RTSP for listening
rtsp://127.0.0.1:8554/legehus?video&audio: Address already in use
09:42:42.924 DBG [streams] start producer url=hass://192.168.1.4:8123?entity_id=camera.kamera&token=<redacted>
I have managed to run restreamer, consuming the rtsp stream from go2rtc and forward to youtube live, but its very unstable and I hope to get go2rtc working.
Btw, Very nice job!
from go2rtc.
Unable to open RTSP for listening
means you using very outdated ffmpeg version
from go2rtc.
Related Issues (20)
- Performance Linux/Windows HOT 4
- Aqara G2H via Homekit working erratically HOT 2
- FFMPEG Stream Fails HOT 8
- Tapo protocol alone results in 200 error HOT 1
- Implement native v4l2 support
- 2-way audio to a Home Assistant media_player HOT 4
- Fix RTSP AAC audio from very buggy noname camera HOT 13
- Question: Conversion of RTSP or RPSPS to ONVIF
- Application crashed (panic: close of closed channel) HOT 3
- EXT-X-PROGRAM-DATE-TIME tag for HLS
- Where are the files for the docker version? HOT 2
- Two way audio cameras HOT 1
- Can't see GO2RTC Streams in homekit HOT 2
- Vatilon PA4 won't stream HOT 6
- Go2rtc combined with Python YOLO program HOT 3
- Real-time notification mechanism on client connections/disconnections? HOT 1
- "MSE Streams unexpected EOF" HOT 4
- Change ffmpeg timeout to 15 seconds HOT 1
- Tapo tc85 firmware 1.2.21 401 Unauthorized HOT 2
- Wrong Response on DESCRIBE Ring Doorbell Pro 2. HOT 1
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.