|
Video Doesn't Seem to Play in AllegAVI |
Dale M.A. Johnson
Member #1,103
March 2001
|
I'm toying around with AllegAVI and can't seem to get it to work. I've compiled the library and successfully linked it to my program, and when I load the clip, it doesn't give me any error returns. However, when I go to play the clip, it doesn't do anything, and just skips on to the next part of the program. I'm guessing I'm doing something wrong somewhere... I've tried the demo files included with AllegAVI as well as ones of my own, but still to no avail. I'm using Visual C++ .NET Express Edition if it makes a difference... ------> SIG TIME! "You know, I could be working on that battle engine... But NOOOO~, I'm too busy tweaking the title page." -Me |
A J
Member #3,025
December 2002
|
show us the code. i use AllegAVI and it works good. ___________________________ |
Dale M.A. Johnson
Member #1,103
March 2001
|
Am I not importing the clip right, or am I trying to play it the wrong way? ------> SIG TIME! "You know, I could be working on that battle engine... But NOOOO~, I'm too busy tweaking the title page." -Me |
Oscar Giner
Member #2,207
April 2002
|
It's a weird error. I'd say the same as always: "it's an old lib that uses VfW and you may not have VfW codecs", but in that case Open should fail. Are you setting/changing the video mode after calling Open? Do the examples work for you? -- |
Dale M.A. Johnson
Member #1,103
March 2001
|
I never could get the examples to compile correctly. And--This is wierd--On a whim, I replaced avi.Play(screen, 0, 0, true, false); with: And... It works perfectly? Video shows up, plays sound, and everything. Doesn't make a lick of sense to me, since that's basically all avi.play did for me, right? Now I'm just confused, but it does work now, so I guess it's all good. ------> SIG TIME! "You know, I could be working on that battle engine... But NOOOO~, I'm too busy tweaking the title page." -Me |
A J
Member #3,025
December 2002
|
which version are you using ? ___________________________ |
Dale M.A. Johnson
Member #1,103
March 2001
|
AllegAVI 1.2 ------> SIG TIME! "You know, I could be working on that battle engine... But NOOOO~, I'm too busy tweaking the title page." -Me |
|