Quote:
Originally Posted by tredegar
Try cat /dev/video0 > file.mpg
|
You won't get mpg format from /dev/video0, and also this will not capture the audio data.
Xawtv usually comes with a command-line utility called 'streamer' which can combine video and audio into a single file, in various formats. Check the man page or 'streamer -h' for more details.
But personally I would use mencoder (encoding version of mplayer), which gives you many more options for the format of the recorded data. Mencoder command-line options are pretty complex, but usually you can find an example in the documentation which does what you want.