[FFmpeg-user] save and show video in linux

shuvro majumder shuvromaj at gmail.com
Thu Mar 3 18:39:42 CET 2016

hello, I want to save and show video taken from webcam. for this, I used
this command to save video:

ffmpeg -f video4linux2 -s vga -r 20 -i /dev/video0 out.mpg

but as I cant see what I am recording, it is a great problem.
can someone please provide a command to save and show video (not web
streaming) at the same time?

More information about the ffmpeg-user mailing list