mainsail-crew / crowsnest

Webcam Service for multiple Cams
GNU General Public License v3.0
324 stars 77 forks source link

Rotate camera feed #71

Closed NilsNippe closed 1 year ago

NilsNippe commented 1 year ago

Is your feature request related to a problem? Please describe

When mounting cameras in cramped enclosures, the camera can end up sideways, meaning the video stream is on its side. Crowsnest only gives the option to flip the image.

Describe the solution you'd like

Additional parameter to rotate video stream by a number of degrees (just +-90° should work in most cases).

Describe alternatives you've considered

No response

Additional information

No response

KwadFan commented 1 year ago

I would be glad crowsnest could provide this functionality, but it cant.

The reason for this is easy, crowsnest uses v4l2-ctl to "steer" your camera. If there is no parameter provided by your cam through v4l2 drivers, it simply cant rotate the video feed. There is no software image processing to provide this.

Regards Kwad

smwoodward commented 1 year ago

So it's not possible to rotate the image as it comes in? Mainsail and Fluidd has the option to rotate the image in the interface. There are some times when I want to use the stream outside of fluidd and mainsail. My camera I had to mount it upside down and it makes the stream useless.

KwadFan commented 1 year ago

Unfortunatly, no, if the cam doesnt support rotate by its v4l2 driver, there is no chance. ustreamer does not support image post processing which would be needed here.

Fluidd and Mainsail simply rotating the box where the Image is displayed but its dispatched by ustreamer "as is".

Maybe one day I find the ultimate solution to all our wishes, then it will, state now means "Nope, no chance, sorry Mate ;)"

dweenz commented 1 year ago

ok I see the response now thank you.