Type-A / README.md
Rtrggf's picture
Update README.md
f976670
|
raw
history blame
646 Bytes
metadata
license: openrail
datasets:
  - fka/awesome-chatgpt-prompts
language:
  - ae
metrics:
  - accuracy
library_name: adapter-transformers
pipeline_tag: text-to-video
tags:
  - art

using System; using System.Drawing; using AForge.Video.FFMPEG;

class Program { static void Main() { var videoWriter = new VideoFileWriter(); videoWriter.Open("output.mp4", 640, 480, 25, VideoCodec.MPEG4);

    for (int i = 0; i < 10; i++)
    {
        Bitmap image = (Bitmap)Image.FromFile($"image{i}.jpg");
        videoWriter.WriteVideoFrame(image);
        image.Dispose();
    }

    videoWriter.Close();
}

}