How do you rotate webcam feed by 90 degrees?
+2
−0
When I view my document camera's feed in guvcview it is in landscape mode. I want it to capture things in portrait mode, since I usually take photos of documents.
Currently, I have to rotate all the images after I take them. It would be much nicer if the capture utility could have them rotated to begin with.
How do I rotate the feed by 90 degrees into portrait?
I am open to using a different capture program.
1 answer
+0
−0
mpv --video-rotate=90 --profile=low-latency --untimed av://v4l2:/dev/video0
Press s
to take the picture.
/dev/video0
is usually the right file, but if the command fails with "inappropriate ioctl for device", try with other ones listed in printf '%s\n' /dev/video*
.
0 comment threads