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
This commit is contained in:
Víctor Paesa 2006-09-16 12:40:18 +00:00 committed by Guillaume Poirier
parent cd621028c0
commit 2c29781dc8
1 changed files with 17 additions and 0 deletions

View File

@ -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?