diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-10-30 02:07:38 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-10-30 02:07:38 +0100 |
commit | ccc09185e4d907d1bf0512db2a067aff50036f9d (patch) | |
tree | e5cce8a0f5c3ed172e16d13ff76512e8e2378425 /doc/ffmpeg.texi | |
parent | 6921272b237b1a26ab8cf4b5ef90fac3f2e32b78 (diff) | |
download | ffmpeg-ccc09185e4d907d1bf0512db2a067aff50036f9d.tar.gz |
doc: add v4l2 example with ALSA instead of OSS.
Diffstat (limited to 'doc/ffmpeg.texi')
-rw-r--r-- | doc/ffmpeg.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index c59c757535..529f830fbc 100644 --- a/doc/ffmpeg.texi +++ b/doc/ffmpeg.texi @@ -955,6 +955,11 @@ and audio directly. ffmpeg -f oss -i /dev/dsp -f video4linux2 -i /dev/video0 /tmp/out.mpg @end example +Or with an ALSA audio source (mono input, card id 1) instead of OSS: +@example +ffmpeg -f alsa -ac 1 -i hw:1 -f video4linux2 -i /dev/video0 /tmp/out.mpg +@end example + Note that you must activate the right video source and channel before launching ffmpeg with any TV viewer such as @uref{http://linux.bytesex.org/xawtv/, xawtv} by Gerd Knorr. You also |