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

Got incompleted streaming frame on web browser when I change the resolution to 1920x1080 in PiCamera_H264_Server.py #1

Open
edwardchang0112 opened this issue Jul 3, 2022 · 2 comments

Comments

@edwardchang0112
Copy link

I just tried to stream with PiCamera_H264_Server.py, it all works when the resolution no higher than 640x480, however when I tried to increase the resolution to 1280x760 it will usually get a 1 second stop and run again, then I tried to increase the resolution to 1920x1080 it can stream the frames but alway got an incomplete frames...

Any comments on this? How can I get the completed frames when set the resolution higher as 1920x1080?

@vuquangtrong
Copy link
Owner

Hi,

As far as I know, the resolution and framerate will affect the video stream. When you set those params, the camera will automatically does some internal conversion and select a suitable mode. read more at: https://picamera.readthedocs.io/en/release-1.13/fov.html#camera-modes

And for large video resolution, please check the GPU memory also.

@edwardchang0112
Copy link
Author

Thanks for your reply.
Is the GPU memory that you mentioned is the gpu_mem in /boot/config.txt ?
I have already increased it from 128 to 256 but still the same issue...
Anything I missed? Please share your comments!

Here is the incompleted frame I memtioned:
image

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