You are not logged in.

#1 2021-06-22 19:44:35

bachtiar
Member
Registered: 2005-02-08
Posts: 65

Using a webcam in portrait mode

I am about to get a USB webcam for video calls, but due to my desk/monitor setup I will have to clip it on the side of my monitor, which means the camera will be oriented vertically and the image will be rotated 90 degrees.

I cannot find any information about the cameras that support rotation, so I am assuming this should be done in software. Does any body have experience with this situation? Any recommendations?

Thanks!

Offline

#2 2021-06-22 20:01:34

SimonJ
Member
Registered: 2021-05-11
Posts: 119

Re: Using a webcam in portrait mode

It would be in the program settings, I only have zoom installed but it can rotate the video.

Offline

#3 2021-06-22 21:49:25

progandy
Member
Registered: 2012-05-17
Posts: 5,196

Re: Using a webcam in portrait mode

You could also get one of those flexible arms to position the camera where you want.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2021-06-23 07:59:48

bachtiar
Member
Registered: 2005-02-08
Posts: 65

Re: Using a webcam in portrait mode

progandy wrote:

You could also get one of those flexible arms to position the camera where you want.

Yeah, I know, thanks, but I would like to avoid that. Software solution would be better in every possible way.

Offline

#5 2021-06-23 08:22:10

progandy
Member
Registered: 2012-05-17
Posts: 5,196

Re: Using a webcam in portrait mode

If your chat/conferencing software supports rotation you can use that.
As a last resort you can create a virtual camera and rotate the video with e.g. Webcamoid (Matrix Transform) or a custom ffmpeg command:
https://unix.stackexchange.com/a/408792
https://wiki.archlinux.org/title/Webcam … deo_stream


Some cameras may have a rotation control (v4l2-ctl --all ; v4l2-ctl --set-ctrl ...) , but those are probably rare and software may reset that when accessing the camera.
Most cameras use the uvcvideo driver and that does not have any rotation as far as I know.

Last edited by progandy (2021-06-23 08:34:53)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB