Flipping the camera

Camera model

Raspberry pi camera. Probably V1.

What is the problem?

Image is upside down.

What did you already try to solve it?

I tried finding the tools-> webcam&timelase config page. Seems like a logical place to have "flip horizontally " and such checkboxes. -> Can't find those checkboxes there.

I tried grepping for the commandline that starts the server. Found /etc/systemd/... libcamera-...
There are $ALLCAPS variable names there. Tried searching on the internet for how to set those variables.... rabbit hole. Got so far as "need babbage tool to set variaables" or something. Why can't I just change a config file???? Aborted.

I tried googling for how to flip the image. Found: Camera flipping in the new camera-streamer build
Which tells me to check the output of webcam/option. I get: No key or value passed. Then what ???

Found Available mjpg-streamer configuration options which tells me there are a bunch of options. But as far as I know (downloaded yesterday "New libcamera" image does not use libmjpeg.

Followed the link to https://github.com/jacksonliam/mjpg-streamer/blob/310b29f4a94c46652b20c4b7b6e5cf24e532af39/mjpg-streamer-experimental/plugins/input_raspicam/README.md which again talks a lot about options for when you manually start the program, but I doin't I have the image which includes all support for this.

This very simple task has now taken over an hour without any result.

Why does it have to be so hard? If you move the option somewhere else, fine. Make sure it can be found. Best not move it. If this configuration doesn't support flipping, don't just remove the options but gray them out and add an explanation/link why it has to be that way. If I find the spot where the options should be then I know I've found it. Now I am left chasing whatever,

Have you tried running in safe mode?

No. I do not think that would be useful. I am MISSING an option I know should be there safe mode disables "fancy stuff", so it doesn't help me finding the missing options.

Did running in safe mode solve the problem?

Nope.

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
camerastack-journal.log:-- Journal begins at Thu 2022-09-22 02:23:40 CEST, ends at Thu 2024-02-29 14:46:00 CET. --
camerastack-journal.log:Feb 29 13:18:58 anticlimax systemd[1]: Starting camera-streamer...
camerastack-journal.log:Feb 29 13:18:58 anticlimax camera-streamer-control[527]: Running start for camera-streamer-libcamera.service...
camerastack-journal.log:Feb 29 13:18:58 anticlimax systemd[1]: Starting camera-streamer libcamera...
camerastack-journal.log:Feb 29 13:18:59 anticlimax camera-streamer-control[527]: ... done.
camerastack-journal.log:Feb 29 13:18:59 anticlimax camera-streamer-control[527]: Adding path unit for autolaunch of camera-streamer-usb@default
camerastack-journal.log:Feb 29 13:19:00 anticlimax camera-streamer-control[527]: Running start for camera-streamer-usb-default.path...
camerastack-journal.log:Feb 29 13:19:00 anticlimax camera-streamer-control[527]: ... done.
camerastack-journal.log:Feb 29 13:19:00 anticlimax systemd[1]: Started camera-streamer default autolaunch.
camerastack-journal.log:Feb 29 13:19:00 anticlimax systemd[1]: Finished camera-streamer.
camerastack-journal.log:Feb 29 13:19:01 anticlimax sh[549]: /base/soc/i2c0mux/i2c@1/ov5647@36
camerastack-journal.log:Feb 29 13:19:02 anticlimax systemd[1]: Started camera-streamer libcamera.
camerastack-journal.log:Feb 29 13:19:04 anticlimax sh[602]: util/http/http.c: ?: HTTP listening on 127.0.0.1:8080.
camerastack-journal.log:Feb 29 13:19:04 anticlimax sh[602]: /usr/bin/camera-streamer Version: v0.2.5 (41d8dfd)
camerastack-journal.log:Feb 29 13:19:04 anticlimax sh[602]: [0:00:18.079668482] [602] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
camerastack-journal.log:Feb 29 13:19:05 anticlimax sh[602]: [0:00:18.149023794] [670] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media0 and ISP device /dev/media1
c

...
tornado.log:2024-02-29 14:15:30 - tornado.access - INFO - 200 GET /api/languages (::ffff:192.168.234.93) 55.64ms
tornado.log:2024-02-29 14:15:30 - tornado.access - INFO - 200 GET /api/plugin/appkeys?all=true (::ffff:192.168.234.93) 83.72ms
tornado.log:2024-02-29 14:15:30 - tornado.access - INFO - 200 GET /api/printerprofiles (::ffff:192.168.234.93) 235.59ms
tornado.log:2024-02-29 14:15:30 - tornado.access - INFO - 200 GET /plugin/logging/ (::ffff:192.168.234.93) 272.67ms
tornado.log:2024-02-29 14:15:30 - tornado.access - INFO - 200 GET /plugin/backup/ (::ffff:192.168.234.93) 292.61ms
tornado.log:2024-02-29 14:15:30 - tornado.access - INFO - 200 GET /plugin/pluginmanager/repository (::ffff:192.168.234.93) 341.14ms
tornado.log:2024-02-29 14:15:30 - tornado.access - INFO - 200 GET /plugin/pluginmanager/orphans (::ffff:192.168.234.93) 364.29ms
tornado.log:2024-02-29 14:45:58 - tornado.access - INFO - 200 GET /api/system/info (::ffff:192.168.234.93) 90.00ms

I cut out about 99% of the systeminfo bundle information because this forum doens't allow that much information. I don't see an "attach file" option. so sorry.

WRITE HERE

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

WRITE HERE

You do it in the Classic Webcam settings:


BTW:

If you upload code snippets, please use preformatted text to get them in a proper form:

Format

I have this wrench at the top. I click that. I get "octoprint settings" but in another color scheme.

Then I have serial connection, printer profiles .... etc on the left. Some of those have the "tabs" on the top, as in your screenshot. As the "path" seems to be plugins-> classic webcam, I tried plugin manager. Then I searched for "classic webcam" and got something with a "LOCK" shown and the checkbox on the left does not react.
after I downloaded it yesterday and got going with installing, it asked me to upgrade. So I should be running the latest release, right?

On the classical UI it is quite down

Welll...... let me say that for some people NOT having those controls under "webcam and timelapse" is very un-intuiitive.

Simlarly that I can't go through "plugins" -> the plugin -> configure this plugin as an alternative to the plugins configuration pages at the bottom here, means it has cost me a day to get this sorted. :frowning: