
Originally Posted by
two4two
Thanks everyone. I've been playing with v4l2-ctl and sometimes it tells me the control is invalid. But I'm researching and hopefully will understand it soon. I'm playing with ffmpeg to do the capture. I found a script on Phyrne's Blog. Not sure if it's appropriate for Ubuntu but I'm going to try it. I'd still like to preview while it's capturing. After I get capture to work I'll post what I did and ask how to do the preview.
Code:
cat /dev/video0 |tee file.mpg|mplayer -
tee writes the stream to a file and to STDOUT. mplayer - plays STDIN. So you get the stream playing in mplayer and saved to file.mpg.
Bookmarks