Click to See Complete Forum and Search --> : MJPEG Codec


raphael.kindt
March 11th, 2005, 05:28 AM
Hello everybody,

I want to be able to read a MJPEG video coming from a file sequences in a single video stream.
I explain me:
I have several AVI MJPEG files (without audio stream beacause not need it). I want to create a player who read this file (one following the other) as if there were only one and long video. Moreover the user must be able to "travel" inside this video with a temporal cursor (for all the loaded file).

I already use DirectDraw for camera video display. I use VC6 but I migrate (slowly) to dotNET.

My questions:
- How to do that? what are the means?
- Only DirectX could help me (DirectDraw/Show, etc)?
- What are potentials difficulties?

Thanks in advance for all your suggestions... :)

bobbob
March 14th, 2005, 08:27 PM
I suggest you use direct show to read the mjpeg file.
However you will need to download a mjpeg codec if your hardware doesn't support mjpeg. (Matrox is about the only one I know of that does.)

for the codec go to www.dvdrhelp.com and search for mjpeg codec.

I think that QuickTime supports mjpeg and maybe you might be able to develope on top of QuickTime.

Orf
March 23rd, 2005, 09:18 PM
Here (http://www.gdcl.co.uk/articles/index.htm) you'll find the "GMFPlay" sample, which does exactly what you need.
Regards.

raphael.kindt
March 24th, 2005, 02:30 AM
Thanks a lot for this solution...
It's exactly what I want!
:thumb: :thumb: :thumb:

How do you have found that?

Orf
March 24th, 2005, 03:17 AM
I'm working on DirectShow and I need to control many different clips at the same time - and I need them NOT to be synchronized. This is a classical multigraph scenario... but this kind of topics aren't very cool around the DirectX developers community. After a while I found some good sources - everything started here: http://www.radlight.net/forum/index.php?showforum=9

I'd like to keep in touch with other DirectShow developer, if you're interested, let me know.

Ciao
:wave: