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

[Support]: missing link in Frigate documentation 'RTMP' #3481

Closed
mchangsp opened this issue Jul 16, 2022 · 7 comments
Closed

[Support]: missing link in Frigate documentation 'RTMP' #3481

mchangsp opened this issue Jul 16, 2022 · 7 comments

Comments

@mchangsp
Copy link

Describe the problem you are having

The documentation page https://docs.frigate.video/configuration/rtmp/ mentions
QUOTE
If your camera doesn't support a compatible format for RTMP, you can use the ffmpeg args to re-encode it on the fly at the expense of increased CPU utilization. Some more information about it can be found here.
ENDQUOTE
The page https://docs.frigate.video/configuration/faqs does not exist
here can I find the ffmpeg arsg to re-encode on the fly?

Version

0.10.1-83481AF

Frigate config file

not applicable

Relevant log output

not applicable

FFprobe output from your camera

not applicable

Frigate stats

No response

Operating system

Debian

Install method

HassOS Addon

Coral version

Other

Network connection

Wired

Camera make and model

Not applicable

Any other information that may be helpful

No response

@NickM-27
Copy link
Sponsor Collaborator

That docs points me to https://docs.frigate.video/faqs#audio-in-recordings which resolves just fine 🤔

@Parlane
Copy link
Contributor

Parlane commented Jul 18, 2022

That docs points me to https://docs.frigate.video/faqs#audio-in-recordings which resolves just fine 🤔

If you navigate directly to https://docs.frigate.video/configuration/rtmp/ then you click "here" it does navigate to "https://docs.frigate.video/configuration/faqs#audio-in-recordings"

If you navigate by clicking RTMP on the left sidebar then click "here" it navigates to the correct page. But if you hit f5 and click here, the link is broken again. It seems like relative paths are the issue here.

@Parlane
Copy link
Contributor

Parlane commented Jul 18, 2022

HTML on first navigation by the side bar:

image

HTML after hitting f5 on the rtmp page:

image

@NickM-27
Copy link
Sponsor Collaborator

I see now, I can reproduce that, it adds / when refresh is done. Seems to me like a docusaurus bug but will need to see

@Parlane
Copy link
Contributor

Parlane commented Jul 18, 2022

The link to faq uses a ../faq for some reason instead of a /faq:

I was trying to see why it didn't have the same issue on other pages like docs/guides/getting_started.md
Frigate supports many configuration options for mqtt. See the [configuration reference](/configuration/index#full-configuration-reference) for more info.

I think you can just change the docs/configuration/rtmp.md to use:
Some more information about it can be found [here](/faqs#audio-in-recordings).

@Parlane
Copy link
Contributor

Parlane commented Jul 18, 2022

I see now, I can reproduce that, it adds / when refresh is done. Seems to me like a docusaurus bug but will need to see

The adding of / is a 301 redirect from netlify, seems to be a common thorn in the side for people....

https://support.gatsbyjs.com/hc/en-us/articles/360056349113-Remove-trailing-slash-in-Netlify-URLs

@NickM-27
Copy link
Sponsor Collaborator

@Parlane You figured it out, feel free to make a PR to fix it

Parlane added a commit to Parlane/frigate that referenced this issue Jul 19, 2022
…shear#3481

../faq was used in rtmp.md which leads to the wrong URL when
the current URL ends in a slash due to 301 redirect of netlify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants