mencoder for a webcam
sm at ara-ler.com
Mon Oct 31 21:05:18 UTC 2016
Excerpts from Olivier's message from Wed 05-Oct-16 16:05:
> I used to have it working, but I cannot find how to get that working
> I have a webcam installed, webcamd running, and pwcview can show me the
> How can I use mencoder to capture and save the stream?
> I used to have something of the form:
> /usr/local/bin/mencoder tv:// -tv noaudio:fps=10 -nosound -ovc lavc
> -ofps 10 -lavcopts vcodec=mpeg4:vbitrate=400 -o <filename> -really-quiet
Have you tried ffmpeg instead? I used to use mencoder much, but after
having many issues with it, switched to ffmpeg.
This example works fine for me:
$ ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0 output.mkv
More information about the freebsd-questions