View Full Version : programming HELP with mpeg2dec3.dll needed
len0x
28th May 2003, 18:29
I just tried to use version of 1.0.6 of it for opening a video in GK and actually succeeded! (I'm trying to abandon mpeg2dec.dll at all...)
But the video seems to be upside down and blue-ish.
First does anyone know what seems to be the problem in general?
Second, Wef, do you have any idea about it?
len0x
28th May 2003, 18:47
It looks like method getRGBFrame of new mpeg2dec3.dll is producing output in a different order than used to. So I rearranged a couple of loops and it worked! :) (I've absolutely no idea what I've done though :) )
sh0dan
2nd June 2003, 20:58
You have probably:
1) Flipped the picture (Windows bitmaps are upside down)
2) Exchanged B&R (Windows BMP's are BGR(A))
len0x
3rd June 2003, 11:33
Originally posted by sh0dan
You have probably:
1) Flipped the picture (Windows bitmaps are upside down)
2) Exchanged B&R (Windows BMP's are BGR(A))
Yeah, I guess so. But the code I was working with for a start was written for original mpeg2dec.dll. I just wonder why such a difference...
Im glad someone found that bit of code useful. I thought I was going to spend time adding it and it never get used ;) ...
-Nic
len0x
3rd June 2003, 17:56
Originally posted by Nic
Im glad someone found that bit of code useful. I thought I was going to spend time adding it and it never get used ;) ...
I was actually trying to get to usage of new mpeg2dec3 for a while, so now I'm happy that I could make GK use only this one :)
TheWEF
7th June 2003, 00:34
Originally posted by len0x
Second, Wef, do you have any idea about it?
aquaplaning added all that stuff to mpeg2dec.dll, and that was years ago :p - pm him if you have any more questions...
wef.
TheWEF
7th June 2003, 00:38
btw - have you tried avswarp.dll from avscompare? you can use avisynth functions directly (= direct preview).
http://aquaplaning.20m.com/
wef.
len0x
8th June 2003, 14:34
Originally posted by TheWEF
btw - have you tried avswarp.dll from avscompare? you can use avisynth functions directly (= direct preview).
You mean after selecting filters preview the result in video window?
(Which is sort of pointless if you can do preview in player anyway...)
TheWEF
12th June 2003, 06:57
Originally posted by len0x
You mean after selecting filters preview the result in video window?
(Which is sort of pointless if you can do preview in player anyway...)
i know this is pretty hard to do, but preview as i meant it only makes sense if the user can see the effects of changing a filter directly. e.g. whenever you click a different resize filter radio button you see the effect (sharper/blurrier) in the preview window instantly.
just a thought, it's probalbly not worth the effort...
wef.
len0x
13th June 2003, 11:46
Originally posted by TheWEF
i know this is pretty hard to do, but preview as i meant it only makes sense if the user can see the effects of changing a filter directly. e.g. whenever you click a different resize filter radio button you see the effect (sharper/blurrier) in the preview window instantly.
Then how come you only see save avs window with filters after opening video window :) If filters are moved to Video window, then yes - that makes sense, but as it is now, imho it doesn't...
TheWEF
15th June 2003, 14:26
well, you could have a separate filter preview window or something, that comes up with the save avs dialog or...
just thinking loud, this is NOT a feature request! ;)
wef.
len0x
15th June 2003, 17:31
Originally posted by TheWEF
well, you could have a separate filter preview window or something, that comes up with the save avs dialog or...
just thinking loud, this is NOT a feature request! ;)
I understand - I just thought that when you said "preview window as I meant" - you really meant your original video window was designed to serve that purpose :cool:
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.