Log in

View Full Version : A Bug (??) about Nic's DSF...


MoonWalker
9th March 2002, 00:26
When I load the XviD created movie an before playing it go to the DSF option is pop's an error message :

"Access violation at address 06471A7C in module 'xvid.ax'.Read of address 00000068".

I suppose that this is because the DSF hasn't been loaded yet.I did it with DivX 3.11 an saw that it opened the DSF but the controls where inactive..

MoonWalker

MaTTeR
9th March 2002, 00:53
Are you talking about opening this in GraphEdit?

If so I had the same issue but I just contributed it to another bug in GE:rolleyes:

MoonWalker
9th March 2002, 02:07
Actually No.

I had this with GE but I too thought it was GE's fault. Until the time I load my XviD movie to BSPlayer and before starting it I wanted to see the setting of the DSF. Then it poped this error. When I played the movie and then stopped it and reopened the DSF's properties all worked well.So I think that the DSF isn't loaded before the movies starts(a wild guess)...

MoonWalker

Nic
9th March 2002, 12:21
Thanks for the info, that does sound like a bug of sorts, shouldn't be too hard to replicate & fix, ill do it at the start of next week, im busy this whole weekend :(

Cheers,
-Nic

ps
Might have a new site soon, yay! :)

Koepi
9th March 2002, 13:04
Nic, can you PM me an email address of yours, I want to send you some nice 140kb which definatly need some work of yours ;) ...

Regards,
Koepi

Nic
9th March 2002, 13:19
my email is:
nic at vampirehunter . com

Cheers,
-Nic

ps
Cant work on anything until tuesday... :( Then im free :)

Koepi
9th March 2002, 13:26
Hm, maybe it's useless then... until then some more changes will be in that stuuf... though I'd love a DSF for that...
I wonder why it isn't ported yet...

Regards,
Koepi

Nic
9th March 2002, 13:41
Erm....I dont know quite what your talking about ? :)

Mail me & ill pick it up,

Cheers,
-Nic

ps
My new site is:
nic.dnsalias.com

(Thanks Swede! :) )

Doom9
9th March 2002, 13:45
hey.. we're on the same server now.. maybe I should take this as an excuse to link to your binaries

Koepi
9th March 2002, 14:48
ARGS - no assembly optimized brightness?
back to vc6 again?

*sniff*

I have to rework the installer now, that takes at LEAST 90 seconds! *grr* ;)

(NSIS rocks somehow... :) )

I'll stick with the "old" DSF for now, until you update your filter to.... ah, just check your email-inbox . ;)

I want that assembly stuff back! *demand* ;) - btw., since we are handling MultieMedia data there, can't that be MMXified as well?

Regards,
Koepi

Ripe73
9th March 2002, 14:53
HI!

I also have this "problem" i have to play the movie before i change something in the DSfilter.Its not a big problem :)

Nic
10th March 2002, 11:49
Ok, :) ill put the assmebly back, ive learnt abit of MMX already (its interesting, not what I expected).

Just downloading the cab file :) , ....replied

@Doom9, if you resolve the IP of my address then http:// to it, you get your site :) lol

Cheers,
-Nic

ps
Ill work on the bugs, the one where the properties doesn't come up, should be ok to fix...Ill grab Ingo or Tobias if I get stuck (if you look at the way the properties page is displayed its very weird....no domodal, or create type stuff there...)

Nic
10th March 2002, 16:49
@Koepi:

Who made the changes to image.c ? It makes things more difficult.

The reason for this is, that image_init has been removed & neatly placed inside xvid_init, thats all well & good apart from I need to initialise them from inside the dshow filter, which I could do by loading in xvid_init, but that gets round the point of loading xvid_init from the vfw.dll

So basically I want, image_init to be back (which I think makes sense, because no color conversions will work in image.c unless they're initalised)...im going to add it back :)

Apart from that ive got it working ok, if I correct the way the brightness works (which means using C for now) & find away of the properties pages being loaded without crashing, then everything should be fine.

Cheers,
-Nic

EDIT:
ps
Properties page bug fixed.
Completely my fault, id left some debug code in there. (i'd /*'d the output but not the computation...some of the computation refered to DECODER which of course is NULL when the movie isn't running)
...Now onto the brightness problem

pps
Im not going to re-add image_init, at present im loading xvid_init from the .lib file, that requires the minimum change for me, & although not the neatest way, it is more than sufficient

Koepi
10th March 2002, 17:39
@nic:

I'm glad things work out now :)

I just got my hands on it and wanted to give you the chance to play with it as well... btw., thx -h ;)

Regards,
Koepi

Nic
10th March 2002, 17:46
The CVS sure looks a bit different now... :)

Cheers for the update Koepi, :)

What improvments have they done, or is it just a tidy up?
(I haven't had time for a full rummage around yet)

Cheers,
-Nic

trbarry
10th March 2002, 21:39
Hi Guys -

As you can probably see from my other ramblings around here recently, I'd like to make the DSF go faster on playback of HDTV type clips, say rez about 1280x720p.

I'm not at all a DirectShow or mpeg4 expert but primarily, by trade and temperment, I'm an assembler programmer. Is there any area of playback where I could be useful helping speed things up a bit?

I've only just started to check things out of CVS but it's not clear if that contains mostly up-to-date source for this. Should I be working with the stuff in the core module, or what?

Anyway, if there's an obvious (playback) area where I should focus a compulsive desire to write assembler code please point me there.

- Tom

Koepi
10th March 2002, 22:41
Sorry for this "unhelpful" reply, but you have to compile a profile build and look where it consumes much CPU time.

There are several XXX_timer() functions in the code, you have to #define _profile_build (I don't know exactly what you have to define there, you once more have to take a look around there).

Maybe over at videocoding.de, in the "decoder" forum you may find some further hints (and hopefully no movmasty[aka roccosi] ;) ).

Regards,
Koepi

trbarry
10th March 2002, 23:05
Koepi -

Ok, thanks. I'll cross post over there.

But still, is Nic's & your source pretty much up to date in CVS?

- Tom

Nic
11th March 2002, 11:47
Tom,
There is something I'd really like you to help me on & thats the deringing filter, the C code is very simple, but I dont know enough about MMX (nevermind other optimisations) to do it myself (well not without it taking a long time)

My source isn't in the CVS at present, but I could send it to you this week....I hope you're interested. :)

On the other decoding side, I know people have had trouble decoding resolutions (I know Tronic has) of about 1024x768 (Tronic quoted the WarCraft 3 trailer that was/is at Divx.com). It crashes out, although this is probably something simple like a memory issue, I haven't had time to look at it yet.....so perhaps you might try & spot it :)

The decoding code is pretty good, alot of its already ASM'd up, but any improvements I know would be more than appreciated.

Cheers,
-Nic

trbarry
11th March 2002, 17:48
Nic -

Yep. I don't know how a deringing filter works but it sounds like a good place to start. I'd like to do that. Not that I really have to know, but any good reference on how a deringing filter works?

Email or PM me.

- Tom (trbarry at trbarry . com)

Nic
11th March 2002, 18:06
Its basically an adaptive filter....

Its very simple code really (its just its got loops inside loops, that really slows it down)....

Ill send you it as soon as I can, unfortunatly ive got a really busy week (im at a clients for most of it, infact I am now :) )

Cheers,
-Nic

trbarry
11th March 2002, 23:38
Okay. Send it when you can. But don't worry about cleaning it up just for me. ;)

And it looks like you couldn't send it to me today anyway. I've got no Comcast email. It's the strangest thing, all the computers in the house connected through Sygate have no DNS all of a sudden. I'm browsing on my Gateway server, which still works.

I feel totally cut off.

I may have to go figure out how to use web email. :(

- Tom

Nic
12th March 2002, 10:05
My cable connection went down yesterday as well (this has happened to us at the same time before :) I think our luck with our connections is twinned :) )

Ill send it today,

Cheers,
-Nic