Git Product home page Git Product logo

Comments (4)

marcob79 avatar marcob79 commented on June 20, 2024 1

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.

MiJo112 avatar MiJo112 commented on June 20, 2024

#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.

AlexxIT avatar AlexxIT commented on June 20, 2024

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.

MiJo112 avatar MiJo112 commented on June 20, 2024

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)

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.