Any MCI Programmers out there?

bansl wrote on 8/24/2005, 11:55 PM
This question is definately for the programming geeks among you...hope it is not too far Off Topic. But it is connected with MS.

OK, so I have the next 200+ clips captured and sitting in their Capture subdirectory, ready to be cobbled into another masterpiece. :-))

I usually produce a list of them, and add a short description of each clip - manually, then mark each file on the list as I use it on the timeline.

It would be nice if the Detail file listing in MS6 Platinum could be exported so I could drop it into a table or spreadsheet, but there is apparently no facility to do that.

So, I am putting together a small Visual C++ program to do it for me, it gathers up the names of each clip in the directory, and then I can click Play and my program plays each clip, so I can see what it is, then gives me the option to add a description.
The description, together with the file name and running time, which I get using the AVIStreamLengthTime() function is then written to a file which I can print off, or drop into a word processor/spreadsheet.

As an option I can view all of the fields in the AVI File header and the Streams.

Problem is, some files will not play when I issue the MCIWndPlay() call because they cannot find the handler specified in the Video Stream, e.g. "dvsd" which is in the clips I captured with MS.

They play OK if I just double click them in explorer, so there must be a way to override this handler value.

Anyone out there in the programming business ever got this to work properly?

Cheers,

Bryan.

Comments

Storyman wrote on 8/25/2005, 6:38 AM
While you are at it how about including thumbnail images of the first and last frame. It would help in retrieval.
IanG wrote on 8/26/2005, 1:48 AM
While you are at it how about including thumbnail images of the first and last frame. It would help in retrieval.

They need to be selectable - the 1st and last frames might be blank or unrepresentative.

Ian G.
bansl wrote on 8/26/2005, 10:35 AM
...looks like something for version 2...
bansl wrote on 8/26/2005, 3:25 PM
Fixed - it was very simple, I didn't have a codec for "dvsd" installed on my development machine.

Now I installed the free Panasonic codec, all is well.

Bryan.