Non-mirrored webcam overlay

screencast | record-audio | record video | noise cancelation

Introduction

we want a webcam overlay on the video stream. therefore we are simply opening a non-mirrored cam feed on the screen, which in turn, we capture with ffmpeg.

Cam feed

check available webcams

v4l2-ctl --list-devices

the easy way – however no aspect ratio

xawtv -randr -noalsa -c /dev/video0 &

the hard way

mplayer -really-quiet tv:// -tv device=/dev/video0 -vo xv tv:// &

Additional notes

this does not make it completely silent

# -msglevel all=-1

Resources

https://unix.stackexchange.com/questions/66438/mplayer-msglevel-all-1-doesnt-make-it-completely-silent

https://superuser.com/questions/361683/run-mplayer-from-bash-in-background-without-extra-bash

https://unix.stackexchange.com/questions/411617/webcam-xawtv-mplayer

https://raspberrypi.stackexchange.com/questions/29381/mplayer-doent-show-webcam

https://github.com/mpv-player/mpv/issues/852


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun