Webcam stream not loading at higher resolution

Hi

I was trying to bump up the resolution of my RpiV2 to get a 4:3 instead of the 16:9 to have a better view on my printbed. Unfortunately if I change the resolution from 1640x922 to 1640x1232 the webcam stream remains "loading". Also the 8080/stream doesn't show an image anymore.
Since I thought it might be a bandwidth issue i changed the framerate to 1 but this didn't help.
The used resolution are the ones from here 6. Camera Hardware β€” Picamera 1.12 documentation

Also the log shows somewhat other settings than I set in the octopi.txt
I have some programming background but know nothing of Rpis so far :wink:

I read similar topics but not about the exact same setup, so I though I give it a try :slight_smile:

Camera model
Rpi V2

What is the problem?
Stream not loading at r upwards of 1640x922

What did you already try to solve it?
decreasing the framerate to 1

Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support

octopi.txt:
camera="auto"
camera_usb_options="-r 1640x1232 -f 1"
camera_http_webroot="./www"
camera_http_options=""

log:
--- Configuration: ----------------------------
cfg_file: /boot/octopi.txt
camera: auto
usb options: -r 1640x922 -f 5
raspi options: -fps 10
http options: -w ./www

Additional information about your setup
RPi4 4Gb via Wifi

I accidentally typed 1460x1232 while trying around and for some reason this works.
I also found that it works up to 1525x1232.

When I try to change any camera settings in octolapse:

"Error Applying Webcam Settings
Status: error. Error: INTERNAL SERVER ERROR"

Seems like you you changed the resolution for usb cams, not for picams :slight_smile:

Also you got the wrong resolution parameter. Here's a list of rpicam and usbcam parameters:

Hi,

Thanks for the reply.
Yes indeed I was changing the resolution for usb cams, because "it worked" and in the octopi.txt file it says that newer raspi cam will report as usb, so I left it for starters.

But now I forced to use raspi cameras and now I can set the resolution! So THANK YOU!

BUT now I can not enable the "Custom image preference" in Octolapse anymore.

When I click "Test Webcame" it works but when I try to check the "enable" at the preferences it says:

Unable To Enable Custom Preferences
An unexpected error was raised while testing custom image preferences for the 'Webcam - Default OctoPi 0.16.0' camera profile.