From 7720092e7997f342f979b989cd6f4c2a3b8d9945 Mon Sep 17 00:00:00 2001 From: Fredrik Mellbin Date: Thu, 2 Oct 2008 18:17:11 +0000 Subject: [PATCH] FFmpegSource2: beta 3 mockumentation update Originally committed to SVN as r2410. --- FFmpegSource2/ffms2.html | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/FFmpegSource2/ffms2.html b/FFmpegSource2/ffms2.html index 52b520647..f98ffa356 100644 --- a/FFmpegSource2/ffms2.html +++ b/FFmpegSource2/ffms2.html @@ -34,7 +34,7 @@ Opens files using ffmpeg and nothing else. May be frame accurate on good days. T

-FFVideoSource(string source, int track, bool cache = true, string cachefile = source + ".ffindex", string pp, int threads = -1, string timecodes, int seekmode = 1)
+FFVideoSource(string source, int track, bool cache = true, string cachefile = source + ".ffindex", int fpsnum = -1, int fpsden = 1, string pp, int threads = -1, string timecodes, int seekmode = 1)
Opens video, will invoke indexing with the defaults if no preexisting index is found

@@ -73,6 +73,11 @@ Opens files using ffmpeg and nothing else. May be frame accurate on good days. T Track number as seen by the relevant demuxer, starts from 0, -1 means it will pick the first suitable track.

+

+fpsnum & fpsden: + For VFR -> CFR conversion. Setting fpsnum <= 0 means a 1:1 relation with the encoded frames. +

+

timecodes: File to output timecodes to, if the file exists it will be overwritten. @@ -188,10 +193,13 @@ Note that --enable-w32threads is required for multithreaded decoding to work.