-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Webcam preview showing scroll bar #1923
Comments
The [!WEBCAM] option is built into my plugin, not core OctoDash. It's just a way for me to identify the selection and replace it with the URL for the webcam view page provided by the plugin using the If you don't have multicam plugin installed then the following should be all you need.
|
Thank you for clarifying the difference between Octodashcompanion and Octodash! Octodash, Octoprint and the RPi running it have been restarted several times after making changes to the custom action already.
Both still result in the iframe with the scroll bars. The camera feed seems to be very few pixels too high. How can I provide more debugging information? |
can you share your webcam stream settings from OctoPrint and what resolution are you using in octopi.txt? |
Sure, it's pretty much the standard configuration. Note that the display has a resolution of 800x480 pixels and the camera feed a resolution of 640x480. Is the camera feed resized by octodash/octodashcompanion? Even margins/borders of 1 pixel in the iframe html could the cause of the issue, if the feed is not scaled down. /boot/octopi.txt
|
ok, thanks. 4:3 aspect ratio is something I haven't tested with. All my cameras are setup for 16:9 ratio. You octopi.txt is default so you are running 640x480 by default. I'll do some additional testing on my end and see what's going on. |
@jneilliii Same as in my case if you remeber :-) - my cam is 4:3, too. |
yeah, probably just needs some css tweaks for height versus width. I have to go back and see what MMcLure did for those. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi, I just tried adding the Camera with the latest Octodash release 2.2.0 with and without the Multicam plugin (BTW the wiki entry doesn't mention the !WEBCAM code jet):
[!WEB]http://localhost/plugin/octodashcompanion/webcam?webcam=1
[!WEB]http://localhost/plugin/octodashcompanion/webcam
[!WEB]http://localhost/webcam/?action=stream
Quotes are referring to this ticket.
Camera is a C270 with 4:3 aspect ratio, the display is a Hyperpixel 4.0.
I always get the same result with scroll bars on the right side. This should not be the case, right?
Do I need to update to a beta release or the most recent GitHub version? If yes, what is and how do I get Multicam support version 0.0.5?
The text was updated successfully, but these errors were encountered: