From 2c29781dc8ed0464099cce8f368ae46d9c333897 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=ADctor=20Paesa?= Date: Sat, 16 Sep 2006 12:40:18 +0000 Subject: [PATCH] Document how to read DirectShow files, Patch by Victor Paesa % wzrlpy A arsystel P com % Original thread: Date: Sep 15, 2006 5:12 PM Subject: [Ffmpeg-devel] [PATCH] Add to FAQ how to read DirectShow files Originally committed as revision 6280 to svn://svn.ffmpeg.org/ffmpeg/trunk --- doc/faq.texi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/faq.texi b/doc/faq.texi index fd44934..ba67d63 100644 --- a/doc/faq.texi +++ b/doc/faq.texi @@ -194,6 +194,23 @@ CAVLC ffmpeg -i input -acodec aac -ab 128 -vcodec h264 -b 1200 -ar 48000 -mbd 2 -coder 1 -cmp 2 -subcmp 2 -s 368x192 -r 30000/1001 -title X -f psp -flags loop -trellis 2 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 output.mp4 @end table +@section How could I read DirectShow files? + +If you have built FFmpeg with @code{./configure --enable-avisynth} (only possible in MinGW/Cygwin platforms) +then you may use as input any file that DirectShow reads. +(Be aware that this feature has just been added, so you will need to support yourself for any query) + +Just create an "input.avs" text file with this single line ... +@example + DirectShowSource("C:\path to your file\yourfile.asf") +@end example +... and then feed that text file to ffmpeg: +@example + ffmpeg -i input.avs +@end example + +For ANY other help on Avisynth, please visit @url{http://www.avisynth.org/}. + @chapter Development @section When will the next FFmpeg version be released? / Why are FFmpeg releases so few and far between? -- 2.7.4