You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a chance to run the script (RTSP, compiling FFMPEG) on a freshly installed and updated Pi 3B+ and it ran like a champ, no errors. It took about an hour.
The service failed to start however, because I did not have enough memory assigned to the gpu for the camera I'm using. Bumping up the memory in /boot/config.txt fixed the issue.
[all]
gpu_mem=256
This might be outside the scope of your script, but the error messages I encountered gave no indication that gpu memory was the problem so it took some digging to figure it out. Perhaps a note about this in the README might save some people some time.
Thanks for your work on this project.
The text was updated successfully, but these errors were encountered:
Good point, I addressed that in the article but never linked / talked about here.
Adding error message here in case someone googling / searching stumbles across this.
If at any point you receive the error ioctl(VIDIOC_STREAMON) failure : 1, Operation not permitted, go into raspi-config and up the video memory (memory split) to 256 and reboot.
* Fixing #12 Add option to set the bitrate (thanks to Bas Huisman)
* Fixing #16 Need python 3.6 (thanks to clavay)
* Fixing #15 gpu_mem setting in /boot/config.txt (thanks to Ron Fritz)
I had a chance to run the script (RTSP, compiling FFMPEG) on a freshly installed and updated Pi 3B+ and it ran like a champ, no errors. It took about an hour.
The service failed to start however, because I did not have enough memory assigned to the gpu for the camera I'm using. Bumping up the memory in /boot/config.txt fixed the issue.
This might be outside the scope of your script, but the error messages I encountered gave no indication that gpu memory was the problem so it took some digging to figure it out. Perhaps a note about this in the README might save some people some time.
Thanks for your work on this project.
The text was updated successfully, but these errors were encountered: