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

Can't set "Maximum Bitrate" beyond 10MB on Raspberry Pi3B+ #191

Closed
lida2003 opened this issue Jan 14, 2024 · 7 comments
Closed

Can't set "Maximum Bitrate" beyond 10MB on Raspberry Pi3B+ #191

lida2003 opened this issue Jan 14, 2024 · 7 comments

Comments

@lida2003
Copy link

lida2003 commented Jan 14, 2024

if I set Maximum Bitrate more than 10Mbps, such as 11Mbps. It will not take effect and blank the web page.

It'll be useful for high rate settings, as 720P@10Hz takes roughly about 7~8Mbps.

Tried gpu_mem=196, no luck!

图片

图片

@stephendade
Copy link
Owner

That's deliberate - I'd set the max allowable bitrate to 10Mbps. I've now upped this to 60Mbps. Fixed in #193.

@lida2003
Copy link
Author

lida2003 commented Jan 15, 2024

Just git pull. Got below result:

50M/30M/25M ==> VLC can't work
10M/20M ==> VLC works

Should I re-install(deploy) from the source?

图片

@stephendade
Copy link
Owner

stephendade commented Jan 19, 2024

50M/30M/25M ==> VLC can't work
10M/20M ==> VLC works

Yep, that's expected. The x264 hardware encoder on the Pi can do a maximum of 20Mbps.

The encoder is level 4 compliant, and according to https://blog.mediacoderhq.com/h264-profiles-and-levels/, that equates to 20Mbps.

EDIT:
Is there any particular reason you need these high bitrates? At this sort of level, I'd be recommending an Nvidia Jetson or similar.

@lida2003
Copy link
Author

lida2003 commented Jan 19, 2024

The encoder is level 4 compliant, and according to https://blog.mediacoderhq.com/h264-profiles-and-levels/, that equates to 20Mbps.

Video: Limit bitrate to 20Mbps

I checked link, it seems level 4 can run over 20Mbps when in different profiles. Please correct me if I'm wrong.

Is there any particular reason you need these high bitrates? At this sort of level, I'd be recommending an Nvidia Jetson or similar.

Just test with higher fps rate. I'm trying to install this on my copter.

@stephendade
Copy link
Owner

In #195 I've updated to using the "high" profile, allowing for up to 50Mbps. Tested on a 3b+ and works well.

Note that the "bitrate" setting in the web GUI is a maximum number. The actual bitrate depends alot on the movement in the frame.

@lida2003
Copy link
Author

In #195 I've updated to using the "high" profile, allowing for up to 50Mbps. Tested on a 3b+ and works well.

I would be nice to have 50Mbps.

@stephendade
Copy link
Owner

I would be nice to have 50Mbps.

I meant "up to and including 50Mbps"

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

No branches or pull requests

2 participants