Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[Request] Rotate USB cam #895
If I'm not mistaken, the MPJG plugin cannot rotate the webcam stream for USB cameras, or I'm not smart enough to find how to do it. Is this something that can be added to the web interface, in order to get nice time lapses even if the camera is mounted in the wrong way?
Thanks in advance
avconv (used in the octopi image) is capable of this via the transform filter.
That would do rotate the image in the timelapse. On the control tab its a bit trickier because of css height, but I put an example rotate90 in the plugin https://github.com/markwal/OctoPrint-SnapStream, but it can only rotate the control webcam image. Without replacing the whole timelapse module there isn't an easy way to add that filter to the ffmpeg command line (that I could see).