English 中文(简体)
convert movie file to bitmap files with DirectShow
原标题:

I want to convert movie files like AVI, MOV etc. to Bitmap-Files, like JPEG, JPEG2000, TIFF etc.
Is it possible to realize that with DirectX / DirectShow?
Is AVCodec from ffmpeg the much more better choice?
Is it well documented?
Are there any other possibilities to realize this problem (f.e. with Qt)?

最佳回答

Build a filter graph in DirectShow using the sample grabber filter. This graph will demultiplex and decompress the file and deliver the uncompressed frames to your application via a callback on the sample grabber filter. In this callback, you can save the uncompressed frame as a bitmap or convert it to jpeg using a library like GDI+ or the IJG library.

G

问题回答

暂无回答




相关问题
Algorithm to reduce image to rectangles?

I m attempting to create pretty large bitmaps in a C# application (6000x6000, though most is transparent) and need to draw them to a specific output API which only supports drawing rectangles. Now, I ...

Graphics.DrawImage Doesn t Always Paint The Whole Bitmap?

I have run into a strange problem when using Graphics.DrawImage. When using e.Graphics.DrawImage(Image, Point) in OnPaint to paint a bitmap buffer on the control, it appears that parts of the ...

Why doesn t FastBitmap get garbage collected?

So I ve finally located a problem I have with growing memory consumption. It s the class below, which for some reason doesn t get garbage collected. What would be the problem? The idea of the ...

Rendering form to bitmap

I would like to render Form to bitmap... Is it possible in .net 2.0?

add file icon to datagrid in flex

I m trying to put some File objects into a DataGrid, but I can t find a way to display the File.icon in there. So far I have this: (ms[x] is a File) listData.addItem({ filename:ms[x].nativePath....

Copy bytes in memory to an Array in VB.NET

unfortunately I cannot resort to C# in my current project, so I ll have to solve this without the unsafe keyword. I ve got a bitmap, and I need to access the pixels and channel values directly. I d ...

convert movie file to bitmap files with DirectShow

I want to convert movie files like AVI, MOV etc. to Bitmap-Files, like JPEG, JPEG2000, TIFF etc. Is it possible to realize that with DirectX / DirectShow? Is AVCodec from ffmpeg the much more better ...

热门标签