Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set fpsmax #1534

Open
astyrrian1 opened this issue Jan 2, 2025 · 3 comments
Open

How to set fpsmax #1534

astyrrian1 opened this issue Jan 2, 2025 · 3 comments
Labels
question Further information is requested

Comments

@astyrrian1
Copy link

astyrrian1 commented Jan 2, 2025

I am trying to do something simple,

go2rtc:
  streams:
    camera1:
       - nest:?client_id etc etc
     camera2:
       - "ffmpeg:camera1#video=h264#height=x#width=y#raw=-fpsmax 10"

However, it fails on #raw=-fpsmax 10 and from the stream directly I see streams: exec: Unrecognized option 'fpsmax'. Error splitting the argument list: Option not found.

What is the right way to pass this arg or did something change?

Thanks!

@AlexxIT AlexxIT added the question Further information is requested label Jan 3, 2025
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 3, 2025

I have no idea. FPS manipulation is a very confusing thing in FFmpeg.

@astyrrian1
Copy link
Author

So - if I apply this configuration directly to standalone go2rtc binary, it is passed through properly. However, if I apply it to go2rtc configuration from within Frigate, this error happens.

@AlexxIT
Copy link
Owner

AlexxIT commented Jan 4, 2025

There may be differences in ffmpeg versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants