Hello,

as an alternative, you can display your webcam at screen with mplayer

$ mplayer tv:// -tv 
driver=v4l2:width=640:height=480:device=/dev/video0:fps=30:outfmt=yuy2 
-noborder -geometry 640x480+0+0

and record your screen+audio with ffmpeg (here I'm using pulseaudio because of 
the "noise-reduction")


$ ffmpeg -thread_queue_size 1024 -f pulse -sample_rate 44100 -i default 
-video_size 640x480 -probesize 10M -framerate 30 -thread_queue_size 512 -f 
x11grab -i :0.0 -c:a aac -b:a 128k -c:v libx264 -vf "format=yuv420p" -crf 0 
-preset ultrafast output.mp4

You can use

$ uvcdynctrl -f

to identify which resolution/fps your webcam supports and edit commands above 
to your needs.

Kind regards,
Leonardo
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to