Git Product home page Git Product logo

Comments (4)

AlexxIT avatar AlexxIT commented on June 6, 2024 1

Not best idea, because you get internal rtsp loop. But that's the only option at the moment

go2rtc:
  streams:
    Tapo_C210_full: tapo://[email protected]
    Tapo_C210: rtsp://localhost:8554/Tapo_C210_full?video

from go2rtc.

AlexxIT avatar AlexxIT commented on June 6, 2024
  1. You don't need OPUS audio, because tapo provide PCMA audio. It's compatible with WebRTC and MSE.
  2. You need AAC only if you want audio inside Frigate's mp4 storage.

It depends, where you wan stream without audio.
For example, WebRTC card support request only video with media: video setting.
Go2rtc RTSP server also support return stream with only video with ?video query param.

from go2rtc.

rschaeuble avatar rschaeuble commented on June 6, 2024

Thanks for the quick answer :)

  1. Good to know => I'll remove it.
  2. That's a left-over from when the initial setup => I'll remove it.

So, does the following look reasonable?

go2rtc:
  streams:
    # Full stream with audio and video
    Tapo_C210_full:
    - tapo://[email protected]
    # Limited stream with audio stripped
    Tapo_C210:
    - "ffmpeg:Tapo_C210_full?video"

In Frigate I'd then call the camera "Tapo_C210", so the non-audio stream would be picked up for live preview (afaik, it's not possible to specify a stream URL for the live view manually). For recording I would also use that stream, but for audio detection I'd use "Tapo_C210" (and Frigate would only request the audio stream).

EDIT: I tried to remove the 'ffmpeg' from "ffmpeg:Tapo_C210_full?video", as I'm not sure we really need ffmpeg here, but then go2rtc complains about unknown scheme.

from go2rtc.

rschaeuble avatar rschaeuble commented on June 6, 2024

Thank you!

That looks more efficient than my version with "ffmpeg:".
I can live with this not being ideal. It's good enough for my use case 😄

from go2rtc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.