diff --git a/aegisub/FFmpegSource2/ffms.h b/aegisub/FFmpegSource2/ffms.h index 18ff89d7d..efd813171 100644 --- a/aegisub/FFmpegSource2/ffms.h +++ b/aegisub/FFmpegSource2/ffms.h @@ -23,8 +23,6 @@ #include -#define FFMS_EXPORTS - #ifdef __cplusplus # define EXTERN_C extern "C" #else diff --git a/aegisub/FFmpegSource2/ffms2.html b/aegisub/FFmpegSource2/ffms2.html index e1da0a2ff..068e70818 100644 --- a/aegisub/FFmpegSource2/ffms2.html +++ b/aegisub/FFmpegSource2/ffms2.html @@ -95,7 +95,7 @@ Opens files using ffmpeg and nothing else. May be frame accurate on good days. T

cache: - Write indexing information to a file for later use. This setting does not control if The video index is loaded which it always is if it exists. + Write indexing information to a file for later use. This setting does not control if the video index is loaded which it always is if it exists.

@@ -138,6 +138,31 @@ Opens files using ffmpeg and nothing else. May be frame accurate on good days. T The colorspace to convert to. The names are YV12, YUY2, RGB24, RGB32 and the empty string for same as input.

+

Exported Avisynth variables

+

+FFSAR_NUM, FFSAR_DEN, FFSAR: + The playback aspect ratio specified by the container. FFSAR_NUM and FFSAR_DEN make up the rational number of the ratio and FFSAR is only provided for convenience. +

+ +

+FFCROP_LEFT, FFCROP_RIGHT, FFCROP_TOP, FFCROP_BOTTOM: + The on playback cropping specified by the container. +

+ +

+FFPICT_TYPE: + The picture type of the most recently requested frame. Use after_frame=true in Avisynth's conditional scripting for proper results. The FFmpeg source definition of the numbers: +

+FF_I_TYPE  1 ///< Intra
+FF_P_TYPE  2 ///< Predicted
+FF_B_TYPE  3 ///< Bi-dir predicted
+FF_S_TYPE  4 ///< S(GMC)-VOP MPEG4
+FF_SI_TYPE 5 ///< Switching Intra
+FF_SP_TYPE 6 ///< Switching Predicted
+FF_BI_TYPE 7
+
+

+

PP string format

@@ -190,10 +215,10 @@ tn:64:128:256
 

FFmpeg svn from http://ffmpeg.mplayerhq.hu/

Required FFmpeg Configuration: -./configure --enable-memalign-hack --enable-gpl --enable-swscale --enable-postproc +./configure --enable-memalign-hack --enable-gpl --enable-postproc

Suggested Additional Options: ---enable-w32threads --disable-encoders --disable-muxers --disable-debug

+--enable-w32threads --disable-encoders --disable-muxers --disable-network --disable-debug

Note that --enable-w32threads is required for multithreaded decoding to work. @@ -201,6 +226,15 @@ Note that --enable-w32threads is required for multithreaded decoding to work.

Changes