File size: 646 Bytes
f976670 0ce3633 f976670 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
---
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();
}
} |