diff options
author | Ramiro Polla <ramiro@lisha.ufsc.br> | 2007-02-14 17:01:32 +0000 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2007-02-14 17:01:32 +0000 |
commit | cc58300e30e7aea6acfecd72a04a3886b285cfd8 (patch) | |
tree | e1060df29a65226dcdf1378538c920a1a544e2f8 /doc/ffmpeg-doc.texi | |
parent | 20121213630a03001148f3ffdadac895dae8d7c5 (diff) | |
download | ffmpeg-cc58300e30e7aea6acfecd72a04a3886b285cfd8.tar.gz |
implement new grabbing interface, as described here:
ttp://thread.gmane.org/gmane.comp.video.ffmpeg.devel/42920
patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
Date: Jan 31, 2007 8:56 PM
Subject: [Ffmpeg-devel] [PATCH] New grabbing interface
Originally committed as revision 7983 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc/ffmpeg-doc.texi')
-rw-r--r-- | doc/ffmpeg-doc.texi | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi index 768471b53f..40bed30f1c 100644 --- a/doc/ffmpeg-doc.texi +++ b/doc/ffmpeg-doc.texi @@ -26,11 +26,11 @@ video on the fly with a high quality polyphase filter. @c man begin EXAMPLES @section Video and Audio grabbing -FFmpeg can use a video4linux compatible video source and any Open Sound -System audio source: +FFmpeg can grab video and audio from devices given that you specify the input +format and device. @example -ffmpeg /tmp/out.mpg +ffmpeg -f audio_device -i /dev/dsp -f video4linux2 -i /dev/video0 /tmp/out.mpg @end example Note that you must activate the right video source and channel before @@ -44,14 +44,14 @@ standard mixer. FFmpeg can grab the X11 display. @example -ffmpeg -f x11grab -vd x11:0.0 /tmp/out.mpg +ffmpeg -f x11grab -i :0.0 /tmp/out.mpg @end example 0.0 is display.screen number of your X11 server, same as the DISPLAY environment variable. @example -ffmpeg -f x11grab -vd x11:0.0+10,20 /tmp/out.mpg +ffmpeg -f x11grab -i :0.0+10,20 /tmp/out.mpg @end example 0.0 is display.screen number of your X11 server, same as the DISPLAY environment @@ -154,8 +154,6 @@ ffmpeg [[infile options][@option{-i} @var{infile}]]... @{[outfile options] @var{ @c man end @end example @c man begin DESCRIPTION -If no input file is given, audio/video grabbing is done. - As a general rule, options are applied to the next specified file. Therefore, order is important, and you can have the same option on the command line multiple times. Each occurrence is @@ -609,20 +607,12 @@ Set the ISO 639 language code (3 letters) of the current subtitle stream. @section Audio/Video grab options @table @option -@item -vd device -sEt video grab device (e.g. @file{/dev/video0}). @item -vc channel Set video grab channel (DV1394 only). @item -tvstd standard Set television standard (NTSC, PAL (SECAM)). -@item -dv1394 -Set DV1394 grab. -@item -ad device -Set audio device (e.g. @file{/dev/dsp}). -@item -grab format -Request grabbing using. -@item -gd device -Set grab device. +@item -isync +Synchronize read on input. @end table @section Advanced options |