public static Bool fcGifWriteFile(fcGIFContext ctx, string path, int begin_frame = 0, int end_frame = -1) { fcStream fstream = fcCreateFileStream(path); Bool ret = fcGifWrite(ctx, fstream, begin_frame, end_frame); fcDestroyStream(fstream); return(ret); }
[DllImport("fccore")] public static extern void fcFlacAddOutputStream(fcFlacContext ctx, fcStream stream);
[DllImport("fccore")] public static extern void fcMP4AddOutputStream(fcMP4Context ctx, fcStream s);
[DllImport("fccore")] public static extern ulong fcStreamGetWrittenSize(fcStream s);
[DllImport("fccore")] private static extern void fcReleaseStream(fcStream s);
[DllImport("fccore")] internal static extern void fcWebMAddOutputStream(fcWebMContext ctx, fcStream stream);
[DllImport("FrameCapturer")] public static extern ulong fcStreamGetWrittenSize(fcStream s);
[DllImport("FrameCapturer")] public static extern void fcDestroyStream(fcStream s);
[DllImport("FrameCapturer")] public static extern void fcMP4AddOutputStream(fcMP4Context ctx, fcStream s);
[DllImport("FrameCapturer")] public static extern Bool fcGifWrite(fcGIFContext ctx, fcStream stream, int begin_frame = 0, int end_frame = -1);
[DllImport("fccore")] private static extern void fcDestroyStream(fcStream s);
public static extern void fcDestroyStream(fcStream s);
public static extern ulong fcStreamGetWrittenSize(fcStream s);
public static extern void fcMP4AddOutputStream(fcMP4Context ctx, fcStream s);
public static extern Bool fcGifWrite(fcGIFContext ctx, fcStream stream, int begin_frame=0, int end_frame=-1);