start capture
Warning: fopen(captured_image.jpg): Failed to open stream: Permission denied in /home/pi/www/capture_rtsp_image.php on line 31
Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /home/pi/www/capture_rtsp_image.php:32
Stack trace:
#0 /home/pi/www/capture_rtsp_image.php(32): fwrite()
#1 /home/pi/www/capture_rtsp_image.php(51): captureImageFromRTSP()
#2 {main}
thrown in /home/pi/www/capture_rtsp_image.php on line 32