flat assembler
Message board for the users of flat assembler.

Index > Windows > How load AVI video and how extract jpg picture ?

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1878
Roman 12 Dec 2013, 14:41
I want load my self video avi format and finding a suitable frame extract to BMP.
If avi video file contains pictures in jpg format then how extract frame and convert to BMP?

I want use video avi without DirectShow and MediaFoundation.
Post 12 Dec 2013, 14:41
View user's profile Send private message Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1178
Location: Unknown
HaHaAnonymous 12 Dec 2013, 14:53
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 19:04; edited 1 time in total
Post 12 Dec 2013, 14:53
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1905
DOS386 12 Dec 2013, 15:37
> I want load my self video avi format and finding a suitable frame extract to BMP.
> If avi video file contains pictures in jpg format then how extract frame and convert to BMP?
> I want use video avi without DirectShow and MediaFoundation

You need:

* RIFF / AVI file format spec http://en.wikipedia.org/wiki/Audio_Video_Interleave
* "FourCC" codec list (one of them should hold independent JPG's ...)
* JPEG compression algorithm and file format (a bit messy) (you will have to 1. decode "markers", 2. Un-Huff, 3. Un-RLE, 4. IDCT, 5. Un-subsample, 6. YUV->RGB)
* BMP file format

Start with MediaInfo ... it will tell you what's inside your AVI (note that DiVX or WMV or XXX264 ... etc is more than just a bunch of JPG's).
Post 12 Dec 2013, 15:37
View user's profile Send private message Reply with quote
catafest



Joined: 05 Aug 2010
Posts: 130
catafest 08 Mar 2015, 11:47
I think but not sure this can help you :
You need a .inc file with interfaces to DirectShow.
You need also to call this basical interfaces , like :
BasicVideo , VideoWindow and /xor MediaControl ,MediaEvents ...
Post 08 Mar 2015, 11:47
View user's profile Send private message Visit poster's website Yahoo Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.