Log in

View Full Version : ReClock DirectShow filter : try it !


Pages : 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14

BlackSun
10th December 2002, 08:37
I was wondering if you can add a switch to prevent the filter from loading (that's easier than registering/unregistering).

Welcome back OGO :) (remember mpeg4-fr ? :) )

Chibi Jasmin
10th December 2002, 11:31
Man, this thing works great now! You made me very happy...finally I can do frame rate conversion on dvds with multichannel without any hassle! This manual frame rate thing works fine...intervideo audio is fixed for me to (5.1) and hardware as well as software resampling also works...THANX A LOT!

Can you make the setting for hardware resampling on/off stick?

ogo
10th December 2002, 12:46
Quick update: 0.96b is available and fix two problems :
- 2 channels not working with AC3Filter (i'm so stupid sometimes)
- volume/pan not restored correctly when switching from hardware/software resampling

Next version is due only this week-end. I need time to find and fix other problems (deadlocks, win98, etc ...)

Hi BlackSun, it's a long time ago ... Nice to talk to you again :)

Chibi Jasmin, the setting for hardware resampling should stick. It's always saved in registry :)

FredThompson, i'll do a little support site on geocities later in the week :)

Chibi Jasmin
10th December 2002, 13:11
Will try, if it sticks, I was under the impression it doesn't, well, I'll see...thanx for everything...

UPDATE: Seems to stick indeed... :D

ogo
10th December 2002, 19:21
The little web site is online. All future versions will be on this site.

Here is the url : http://www.geocities.com/reclockfilter

cca
10th December 2002, 19:23
Well, I found another bug. I have a DVD movie which starts without first going to the menu, it plays the movie immediately. If I go to the menu, normaly I hear nohing because there is no sound in that DVD's menu. With ReClock instead of silence I hear the last few seconds of sound repeating over and over until I resume normal playback. Just something to look over for the next release!

Chibi Jasmin
10th December 2002, 21:33
ogo, can you include a button to enable/disable the clock correction (leaving frame rate conversion working)? I am not sure and I am not blaming your filter, but I still have some jerkiness occasionally here and would like to do a few tests without clock correction, although I doubt it will help, because I have the same problems with DSound Renderer, might just as well be the VBR MP3 in the AVI I used for testing :D. The frame rate conversion still is very useful, anyway...

Did I understand it correctly, that your filter tries to deliver a steady frame rate correcting the audio speed/clock to match the video? And video is precisely played with the chosen frame rate?

BTW: I am using G400 DH with DVDMax option for playback on TV.

UPDATE: I just read this explanation on your page:

'It provides a new reference clock that is locked to the video card hardware clock, in order to ensure that frames are played at the exact speed of what is expected by the video card vertical sync.'

So, let's say I have 100 Hz refresh rate for the monitor...program choses to use pal mode and plays my 23.976 movie at 25 fps. But maybe 100 Hz is not exactly 100 Hz on my card but a little off...would that mean, that my movie is also not exactly 25 fps? This might be the reason for jerkiness on TV (expecting 25 fps, although I understood it doesn't have to be precise for the TV), what do you think? Just an idea...does the behaviour of reclock change, if I set it to auto,25 fps or refresh rate/4?

gabest
10th December 2002, 23:47
Hey ogo, can I ask you a favor, could you check if mpc and its audio switcher are transferring the data for spdif correctly? I can't try it because I don't have any external equipment, but those who have are saying that only silence is coming out.

ogo
11th December 2002, 11:00
cca> yes, i'm looking into it

gabest> my audio card has sp/dif but i don't have equipment to connect to it :( Moreover reclock does not accept digital media type. But i'll make quick test (make reclock accept digital) and see if data i receive contains all zeros or not, maybe it could help you.
I also have a question for you :) What do you do in MPC in DVD mode when the user click on "root menu" ? Do you pause/stop and restart the graph ? I have a looping sound problem, because my filter does not get notified at all ? Maybe it's another critical section problem ...

BTW is there something i don't know about 16 bits, mono, PCM sound format ? I have a bug that drives me crazy : playing a sound file in 16bits, mono, 11025hz PCM format just produce noise with reclock, where :
- 8bits, mono or stereo, 11025 hz plays fine
- 16bits, *stereo*, 11025 hz plays fine (!!!)
- 8 or 16bits, mono or stereo, all other sample rate plays fine (grrr)

The AC3Filter problem with "pure" AC3 files also is very strange. I'm beginning to think it's a problem in AC3Filter because :
- if i recompile AC3Filter in debug mode, all is fine
- if i recompile AC3Filter in release mode, the problem shows up
- if i recompile AC3Filter in release mode but disable optimizations, all is fine
Anyway, it does not confirm at all it is a problem inside AC3Filter.

Chibi Jasmin>Yes you understood right. I tried to explain with great length in the readme, but my english is not perfect (i'm french). Whatever mode you choose, the reference clock of reclock will ALWAYS be synced with your video card. So if for example your video card runs at 100hz, the reference clock will exactly thinks 1 second has exactly elapsed each time your monitor advance 100 vertical syncs. So if you play a DIVX with reclock at a framerate that is a multiple of your video refresh rate, it will play in sync with your hardware. It's very important ESPECIALLY for TV out (i explain that in the manual and it's the contrary of what you think about TV).
Without reclock, your video hardware, and directshow don't use the same time base, and there is some deviation. I've made a lot of test with my tv and my pc, and i can attest that reclock does work at least for me. But you will still get dropped frames if there are time consuming tasks in the backgrond (kazaa, edonkey for example) when you play a divx, or if your divx has some problems. As you know windows in not a real time OS, and media playback has very tight timings ... So a Win 2000/XP kernel is better for the task.
The whole problem is precision: the ppm indicator give you an indication of how precise the current correction is.
The frame rate detection and adaptation is just here to adapt DIVX where the framerate is not a multiple of the video refresh rate. When you play with the "media adaptation" combo, you just modify how the DIVX frames can match with the video card, you don't modify anything in the reference clock. Just choose an adaptation that will produce a final frame rate that is a multiple of your video card. Hope i'm clear :D
I don't see an interest in disabling the "corrected" reference clock. You can just uninstall reclock if you want to see the difference between reclock and the default audio renderer.

gabest
11th December 2002, 11:08
Originally posted by ogo
I also have a question for you :) What do you do in MPC in DVD mode when the user click on "root menu" ? Do you pause/stop and restart the graph ? I have a looping sound problem, because my filter does not get notified at all ? Maybe it's another critical section problem ...Nothing more is happenning than a call to IDvdControl2::ShowMenu, but the dvd nav filter is a crap as it is, it can't seek while being paused, and everything it does has a huge latency, 0.5-1 sec is the minimum.

ogo
11th December 2002, 11:15
Ok.

Just to add something for the 16bits, mono, 11025hz problem. It must be somethin with directsound. If i tell directsound to play it at 11026 instead of 11025 it works fine ! I see this behaviour with all sound cards. Directsound must do something special at 11025, or i have the mad cow disease :p

gabest
11th December 2002, 11:33
*.wav made with virtualdub, PCM 11025Hz 16bit mono, everything plays fine.

ogo
11th December 2002, 11:58
Even with this one ?

(copy in a new window to bypass geocities protection)
http://www.geocities.com/reclockfilter/pcm_11k_mono.zip

gabest
11th December 2002, 12:31
Well, this one makes a wiered noise only :)

Chibi Jasmin
11th December 2002, 13:47
Originally posted by ogo
Whatever mode you choose, the reference clock of reclock will ALWAYS be synced with your video card. So if for example your video card runs at 100hz, the reference clock will exactly thinks 1 second has exactly elapsed each time your monitor advance 100 vertical syncs. So if you play a DIVX with reclock at a framerate that is a multiple of your video refresh rate, it will play in sync with your hardware.

Okay, I got that part...and if card runs at 99,8 Hz in reality (indicating 100 Hz), video runs at 24,95 fps, but the tv automatically syncs with 24,95 fps and it's fine? Or does such deviation in the refresh rate not exist? I still don't understand that part too well...I got it so far:

DivX plays in sync with my video hardware (in sync with my refresh rate), audio clock is corrected to match this. So fine so good. But does that guarantuee it is in sync with my tv? Is the refresh rate exact enough to produce a frame rate of the video that does not confuse my tv? I didn't get that from the readme...you say the video frame rate is always EXACTLY a multiple/fraction of my refresh rate. Makes sense to avoid jerkiness, sure, but you don't say anything about how precise the refresh rate is or should be and how that affects TV-Output...can you explain that a bit more, please? Thanx in advance!


Originally posted by ogo
But you will still get dropped frames if there are time consuming tasks in the backgrond (kazaa, edonkey for example) when you play a divx, or if your divx has some problems.

Yeah, sure, that's what I was thinking, too...

Originally posted by ogo
I don't see an interest in disabling the "corrected" reference clock. You can just uninstall reclock if you want to see the difference between reclock and the default audio renderer.

Well, I would have to do the framerate conversion with another filter then, making it a bit complicated...but I could as well do some tests with 25 fps material :D I understand, you don't wanna disable it, of course...

ogo
11th December 2002, 14:19
Okay, I got that part...and if card runs at 99,8 Hz in reality (indicating 100 Hz), video runs at 24,95 fps, but the tv automatically syncs with 24,95 fps and it's fine? Or does such deviation in the refresh rate not exist? I still don't understand that part too well...I got it so far:
Yes you got it. Your TV will always synchronize itself to its input signal (to a certain extent). It your PC delivers vertical syncs at 49,9 hz, your TV will display pictures at 49,9 hz. That's what happen with every equipment you connect to your TV. Even a DVD player connected to a TV doesnt play at exactly 50hz.
So now, if your PC is connected to a TV, and if your movie is played at a speed that is a exact multiple a the video card refresh rate (ie: also tv refresh rate), your movie will be fine on your TV. That's the whole purpose of reclock : good TV-OUT :)
I made all my tests with a Geforce3 and latest TVTool.
Without reclock, every 3-4 minutes, the video becomes jerky during 5-10 seconds (during a vsync "traversal"). With reclock i can play a whole movie without jerkyness (or too rare to be noticed), and i have a very picky tv-set that don't like non-smooth framerate (see me earlier post about natural motion processing).
What make me happy is that reclock also works with MPC, so i can also play my DVDs fine.
I also have a special video renderer to make my tests which can visually tell me how far the vsync point is from the current drawn frame ; it tells me if the clock is correctly tweaked ...

Chibi Jasmin
11th December 2002, 15:56
Okay, then I understood it...I suppose it doesn't make any difference that I am using a Matrox card in DVDMax mode, which works slightly different. In case you don't know, it does not simply clone the desktop to a tv, it outputs any video overlay window that is created fullscreen to a connected TV-set (you don't have to fullscreen on monitor or can even minimize the player).

I could THINK of (not saying there definitely is one) a possible problem. The Matrox card MIGHT produce some kind of own clock/rate whatever for it's tv-output that does not directly depend on the monitor's refresh-rate (you can set the card in PAL or NTSC mode and in both cases select whatever refresh rate you want for the monitor) and then some deviation might occur...let's say, we have 99,8 Hz refresh rate on monitor -> 24,95 fps video, and the 'dvdmax clock' (if it exists) is 24,97 :D Well, this is just speculation, don't forget! Do you know anything about Matrox' DVDMax implementation? Can I help doing any tests maybe?

My point is: you're saying 'video card refresh rate (ie: also tv refresh rate)' -> this might not be true for matrox dvdmax or in other words, I simply don't know how the tv refresh rate depends on monitor refresh rate...at first glance I'd say it does not depend at all, because I can set my monitor to whatever refresh rate I want, the dvdmax output is still around 50 Hz (pal), otherwise my tv wouldn't sync at all, if I got it right. I am a bit confused :)

I simply don't know, I am just a bit worried :D

BTW: I don't know how tv-output on geforce cards works, they basically clone the monitor picture to the tv, is that correct (such a mode also exists on matrox but is not the preferred one for video playback)? And you can set the refresh rate of monitor picture to whatever rate you want and tv stays at 50 Hz (you can do that with matrox' clone mode)?

Sorry for all this confusion, I understood it so far by now:

With Reclock you get a video that is synced with your monitor refresh rate so it won't be jerky on monitor. BUT: There are different TV-Out implementations on different cards, how can we be sure, that being synced with monitor refresh rate and therefore not being jerky on monitor guarantuess perfect playback on tv?

ogo
11th December 2002, 16:23
My point is: you're saying 'video card refresh rate (ie: also tv refresh rate)' -> this might not be true for matrox dvdmax or in other words, I simply don't know how the tv refresh rate depends on monitor refresh rate...at first glance I'd say it does not depend at all, because I can set my monitor to whatever refresh rate I want, the dvdmax output is still around 50 Hz (pal), otherwise my tv wouldn't sync at all, if I got it right. I am a bit confused
You're right. If your video card produce another internal clock for tv wich is not related to the clock of your monitor, yes we have a real problem. I have a notebook with a Radeon M6 Mobility which just work the same way, but i didn't test reclock with tv-out on it yet. Some testing on it may give some clues ...
Just to know, when you output PAL to your TV, what information does you see in the "video hardware" tab of reclock ? If you don't see 50hz, then there is a problem for sure. However, there may be some solution if DirectDraw support your second screen (the tv out) as a second video adapter. I'll search more informations on this. What exact model of card do you have ?

BTW: I don't know how tv-output on geforce cards works, they basically clone the monitor picture to the tv, is that correct (such a mode also exists on matrox but is not the preferred one for video playback)? And you can set the refresh rate of monitor picture to whatever rate you want and tv stays at 50 Hz (you can do that with matrox' clone mode)?
On GeForce2/3 the picture is shared between the monitor and the tv (ie: the monitor refresh rate is set at 50hz during if for example you choose PAL mode). So the clock is also shared, and i see "50hz" when i output PAL material to my TV. However some GeForce4 do work like your Matrox.

Chibi Jasmin
11th December 2002, 16:33
Originally posted by ogo
You're right. If your video card produce another internal clock for tv wich is not related to the clock of your monitor, yes we have a real problem. I have a notebook with a Radeon M6 Mobility which just work the same way, but i didn't test reclock with tv-out on it yet. Some testing on it may give some clues ...
Just to know, when you output PAL to your TV, what information does you see in the "video hardware" tab of reclock ? If you don't see 50hz, then there is a problem for sure. However, there may be some solution if DirectDraw support your second screen (the tv out) as a second video adapter. I'll search more informations on this. What exact model of card do you have ?

Video Hardware tab: Refresh rate 100 Hz (the one my monitor is set to), clock: varies between about 86500 and 87500 hz (seems to depend on video dimensions, unsure...). exact model of card Matrox G400 Dual Head AGP 32 MB (the AGP 4x capable version)

In DVDMax mode, the tv out is not a second screen, you can do this setting the card in multidisplay mode, but that's not what we wanna do for video playback on tv. You can even connect two monitors and configure them with two different resolutions and refresh rates in this mode, so chances are great, tv-clock in dvdmax mode is also independently generated...

That's why I have been asking for support of disabling clock correction. I didn't have too much problems with jerkiness on tv, but reclock is the only working solution for me to do framerate conversion on dvd playback and I am not sure, if the clock correction part does any good or even bad, but the frame rate correction thing is so cool...maybe you think it over, giving an option to disable clock correction?

I don't even care for jerkiness on monitor...in fact, I didn't even have jerkiness (or very little, don't know) with monitor at 85 Hz for a long time. Maybe Matrox' TV-Out doesn't need any adjustment?

Originally posted by ogo
On GeForce2/3 the picture is shared between the monitor and the tv (ie: the monitor refresh rate is set at 50hz during if for example you choose PAL mode). So the clock is also shared, and i see "50hz" when i output PAL material to my TV. However some GeForce4 do work like your Matrox.

So what to do with these cards? Some research needed, I suppose...

ogo
11th December 2002, 16:45
Video Hardware tab: Refresh rate 100 Hz (the one my monitor is set to), clock: varies between about 86500 and 87500 hz (seems to depend on video dimensions, unsure...). exact model of card Matrox G400 Dual Head AGP 32 MB (the AGP 4x capable version)
clock depends on screen size and refresh rate. It should never change if don't don't change resolution or refresh rate. In the current version of reclock, the clock estimation is not always well made (it's now corrected but not posted yet). If it's the case, clock is badly corrected, and it can make playback worse ... Just to check if you have the bug, can you do the following :
Look in the registry here : HKEY_CURRENT_USER/Software/ReClock/Config
You will see some keys with the form "a"x"b"x"c"x"d".
If you see more that 1 key that begin with the same "a" and "b" and "c" but have a different "d" then you have the bug.
Ex:
1024x768x75x1040 )
1024x768x75x1050 ) -> IS WRONG

I'll post the next version tonight with this fix, and another one for the sound.

For the clock disabling problem i don't think it is so important because when the default audio renderer is used, the reference clock is based on the sound card speed. Using this reference clock instead of the reclock one would not give you something more accurate. And disabling the clock is really hard to do for me ...

Chibi Jasmin
11th December 2002, 17:04
Originally posted by ogo
clock depends on screen size and refresh rate. It should never change if don't don't change resolution or refresh rate.

But it does...when opening a video, clock is different with different videos...

Originally posted by ogo

In the current version of reclock, the clock estimation is not always well made (it's now corrected but not posted yet). If it's the case, clock is badly corrected, and it can make playback worse ... Just to check if you have the bug, can you do the following :
Look in the registry here : HKEY_CURRENT_USER/Software/ReClock/Config
You will see some keys with the form "a"x"b"x"c"x"d".
If you see more that 1 key that begin with the same "a" and "b" and "c" but have a different "d" then you have the bug.
Ex:
1024x768x75x1040 )
1024x768x75x1050 ) -> IS WRONG

I'll post the next version tonight with this fix, and another one for the sound.

Seems I got the bug:

[HKEY_CURRENT_USER\Software\ReClock\Config]
@=""

[HKEY_CURRENT_USER\Software\ReClock\Config\1024x768x100x769]
"Version"=dword:00000001
"Wait"="78023.400000"
"WaitFactor"="1.300390"
"Freq"="1191065.738860"
"Ti"="-1364.310232"
"Duration"=dword:000000f0
"DRCActive"=dword:00000000
"HardwareResample"=dword:00000001

[HKEY_CURRENT_USER\Software\ReClock\Config\1024x768x100x770]
"Version"=dword:00000001
"Wait"="77922.060000"
"WaitFactor"="1.298701"
"Freq"="1191064.998550"
"Ti"="-1366.473598"
"Duration"=dword:0000004d
"DRCActive"=dword:00000000
"HardwareResample"=dword:00000001

[HKEY_CURRENT_USER\Software\ReClock\Config\1024x768x100x771]
"Version"=dword:00000001
"Wait"="1297.016861"
"WaitFactor"="1.297017"
"Freq"="1193182.000000"
"Ti"="0.000000"
"Duration"=dword:0000003c
"DRCActive"=dword:00000000

[HKEY_CURRENT_USER\Software\ReClock\Config\1024x768x100x773]
"Version"=dword:00000001
"Wait"="77619.660000"
"WaitFactor"="1.293661"
"Freq"="1191065.975042"
"Ti"="-1370.357832"
"Duration"=dword:000000f0
"DRCActive"=dword:00000000

[HKEY_CURRENT_USER\Software\ReClock\Config\1024x768x100x778]
"Version"=dword:00000001
"Wait"="26207.000859"
"WaitFactor"="1.285347"
"Freq"="1191066.758166"
"Ti"="-1379.022244"
"Duration"=dword:00000502
"DRCActive"=dword:00000000

[HKEY_CURRENT_USER\Software\ReClock\Config\1024x768x100x784]
"Version"=dword:00000001
"Wait"="0.000000"
"WaitFactor"="1.000000"
"Freq"="1193182.000000"
"Ti"="0.000000"

[HKEY_CURRENT_USER\Software\ReClock\Config\1024x768x100x792]
"Version"=dword:00000001
"Wait"="1262.626263"
"WaitFactor"="1.262626"
"Freq"="1193182.000000"
"Ti"="0.000000"
"Duration"=dword:0000003c
"DRCActive"=dword:00000000
"HardwareResample"=dword:00000000

[HKEY_CURRENT_USER\Software\ReClock\Config\1152x864x100x864]
"Version"=dword:00000001
"Wait"="1227.893086"
"WaitFactor"="1.157407"
"Freq"="1192262.154714"
"Ti"="-343.783374"
"Duration"=dword:0000003c
"DRCActive"=dword:00000000
"HardwareResample"=dword:00000000

[HKEY_CURRENT_USER\Software\ReClock\Config\1152x864x100x865]
"Version"=dword:00000001
"Wait"="17539.150929"
"WaitFactor"="1.156069"
"Freq"="1191016.728224"
"Ti"="-1570.747249"
"Duration"=dword:0000003c
"DRCActive"=dword:00000000
"HardwareResample"=dword:00000001

[HKEY_CURRENT_USER\Software\ReClock\Config\1152x864x100x866]
"Version"=dword:00000001
"Wait"="68236.873077"
"WaitFactor"="1.154734"
"Freq"="1191017.645117"
"Ti"="-1571.513361"
"Duration"=dword:00000043
"DRCActive"=dword:00000000
"HardwareResample"=dword:00000001

[HKEY_CURRENT_USER\Software\ReClock\Config\1152x864x100x868]
"Version"=dword:00000001
"Wait"="1152.073733"
"WaitFactor"="1.152074"
"Freq"="1193182.000000"
"Ti"="0.000000"
"Duration"=dword:0000003d
"DRCActive"=dword:00000000

[HKEY_CURRENT_USER\Software\ReClock\Config\1152x864x100x869]
"Version"=dword:00000001
"Wait"="1150.747986"
"WaitFactor"="1.150748"
"Freq"="1193182.000000"
"Ti"="0.000000"
"Duration"=dword:0000003d
"DRCActive"=dword:00000000

[HKEY_CURRENT_USER\Software\ReClock\Config\1152x864x100x875]
"Version"=dword:00000001
"Wait"="1142.857143"
"WaitFactor"="1.142857"
"Freq"="1193182.000000"
"Ti"="0.000000"
"Duration"=dword:00000041
"DRCActive"=dword:00000000
"HardwareResample"=dword:00000000

[HKEY_CURRENT_USER\Software\ReClock\Config\1152x864x100x887]
"Version"=dword:00000001
"Wait"="1127.395716"
"WaitFactor"="1.127396"
"Freq"="1193182.000000"
"Ti"="0.000000"
"Duration"=dword:0000003c
"DRCActive"=dword:00000000

[HKEY_CURRENT_USER\Software\ReClock\Config\1152x864x100x898]
"Version"=dword:00000001
"Wait"="3526.756105"
"WaitFactor"="1.113586"
"Freq"="1190912.814438"
"Ti"="-1669.858488"
"Duration"=dword:00000093
"DRCActive"=dword:00000000

[HKEY_CURRENT_USER\Software\ReClock\Config\1152x864x100x904]
"Version"=dword:00000001
"Wait"="1106.194690"
"WaitFactor"="1.106195"
"Freq"="1193182.000000"
"Ti"="0.000000"
"Duration"=dword:0000003f
"DRCActive"=dword:00000000

[HKEY_CURRENT_USER\Software\ReClock\Config\1152x864x100x906]
"Version"=dword:00000001
"Wait"="0.000000"
"WaitFactor"="1.000000"
"Freq"="1193182.000000"
"Ti"="0.000000"

[HKEY_CURRENT_USER\Software\ReClock\Config\800x600x85x602]
"Version"=dword:00000001
"Wait"="2403.505698"
"WaitFactor"="1.954270"
"Freq"="1192699.698376"
"Ti"="-189.003825"
"Duration"=dword:00000059
"DRCActive"=dword:00000000
[/B][/QUOTE]

Originally posted by ogo

For the clock disabling problem i don't think it is so important because when the default audio renderer is used, the reference clock is based on the sound card speed. Using this reference clock instead of the reclock one would not give you something more accurate. And disabling the clock is really hard to do for me ...

Well, the frame rate conversion part is what I wanted to keep, because it's the only fully working frame rate conversion I got. But I wanted to see what happens, if the clock correction is not made (using the same reference clock as the default renderer = sound card speed), because we're not sure, if the correction is even going into the right direction (if there's two independent clocks for monitor and tv as described above). Anyway, if it's hard to do...let's better find out, if there's a problem with independent clocks for monitor and tv or not...

On this site: http://grafi.ii.pw.edu.pl/gbm/matrox/ there's some technical information about the matrox g400 parts, maybe you could have a look at this (especially the point called 'InDepth' explains some hardware stuff)... some quick links:

http://grafi.ii.pw.edu.pl/gbm/matrox/g4intro.html
http://grafi.ii.pw.edu.pl/gbm/matrox/mgaclock.html

Maybe this is not all you need, but it might give some insight into the g400 architecture.

ogo
11th December 2002, 17:39
Wow :) yes you have the problem. That also explain why your "hardware resampling" setting is not always sticky, because each registry group store its own settings.
Hope next version will fix that properly. Before installing it, please delete all entries under the "config" folder.
I'll check your links for Matrox.

Chibi Jasmin
11th December 2002, 17:41
Hope you'll find something interesting there...it's basically about overclocking the card and stuff, but maybe you find some hint, if there might be an independent tv-clock or not...

Chibi Jasmin
11th December 2002, 19:50
The link for 0.96c is screwed.

ogo
11th December 2002, 19:53
You're too fast for me :D

Just wanted to say that 0.96c is available :)

The link is ok now ...

Chibi Jasmin
11th December 2002, 19:55
Bad news, V0.96c freezes on file open (automatic graph building), player is frozen with 99% cpu usage!

Did you find something interesting about the Matrox cards?

ogo
11th December 2002, 20:18
It means it is not able to find your video clock frequency (this takes 100% cpu during .5 second normally but will take forever if it can't find the result).

What is the speed of your processor ? Could your try at lower resolution and with lower refresh rate ? Thanks

ogo
11th December 2002, 20:34
Can you test with this version (i relaxed some parameters) :

(copy this link in a new IE window)
http://www.geocities.com/reclockfilter/setup.zip

This version will produce a log in c:\reclock_log.txt. Can you give me the results by email (for more than 1 run if possible) ?

Thanks

cca
11th December 2002, 20:36
For what it worth, the new version works OK here. The bug with menus in DVDs remains, but you didn't say that you fixed it anyway:D Ofcourse I'm not using a Matrox card but a GeForce 4 TI 4200 and an AMD Duron 1.2GHz. Keep 'em coming Ogo!

I should also say that my refresh is 75Hz at 1024x768.

Chibi Jasmin
11th December 2002, 20:42
Originally posted by ogo
It means it is not able to find your video clock frequency (this takes 100% cpu during .5 second normally but will take forever if it can't find the result).

What is the speed of your processor ? Could your try at lower resolution and with lower refresh rate ? Thanks

Processor speed is 1365 MHz.

Will try with lower resolution/refresh rate...results in a minute...

UPDATE:
Still crashes with 1024x768 16bit and 32 bit.

800x600 at 16 bit works!

Chibi Jasmin
11th December 2002, 20:46
Originally posted by ogo
Can you test with this version (i relaxed some parameters) :

(copy this link in a new IE window)
http://www.geocities.com/reclockfilter/setup.zip

This version will produce a log in c:\reclock_log.txt. Can you give me the results by email (for more than 1 run if possible) ?

Thanks

I will...

UPDATE for some reason I can't get it to freeze anymore...it takes very long (few seconds) to actually load, but it does...will do more tests, before sending anything to you...or are you interested in success logs, too?

Chibi Jasmin
11th December 2002, 21:04
Well, it seems the debug version doesn't freeze (but takes very long to load), while the other regular verions freezes...let me know, if you still want the (success) logs...

BTW: I still have multiple 'd' (axbxcxd) entries in my registry (seems there's something special about Matrox cards :D):

[HKEY_CURRENT_USER\Software\ReClock\Config\1152x864x100x864]
"Version"=dword:00000001
"Wait"="1192.129210"
"WaitFactor"="1.157407"
"Freq"="1193254.826025"
"Ti"="49.454537"
"Duration"=dword:00000040

[HKEY_CURRENT_USER\Software\ReClock\Config\1152x864x100x865]
"Version"=dword:00000001
"Wait"="1226.473602"
"WaitFactor"="1.156069"
"Freq"="1192699.447524"
"Ti"="-217.712859"
"Duration"=dword:00000043

[HKEY_CURRENT_USER\Software\ReClock\Config\1152x864x100x866]
"Version"=dword:00000001
"Wait"="1189.376443"
"WaitFactor"="1.154734"
"Freq"="1193238.433484"
"Ti"="16.383552"
"Duration"=dword:00000046


also the Clock entry in video hardware is still varying from file to file without changing refresh rate or resolution!

ogo
11th December 2002, 21:24
The version is the same, i just modified a parameter to let it load ;)

Yes, please send me the logs by email.

At what speed does run your processor ?

Chibi Jasmin
11th December 2002, 21:40
I wrote further up, it runs at 1365 MHz.

Will send some logs...just a minute.

UPDATE: Sent.

Chibi Jasmin
14th December 2002, 16:18
Any progress with the filter? :)

ogo
14th December 2002, 17:29
Hi !

Just sent you the latest version by email before to publish it :)

Chibi Jasmin
14th December 2002, 17:45
Cool, I sent you a reply, need an answer, before I start my tests...

gabest
15th December 2002, 14:38
Chibi Jasmin: Forget what I said about dvds and the ac3filter decoder: http://download.vobsub.edensrising.com/ac3filter.rar :D

ogo
15th December 2002, 16:39
Hello Gabest

I sent an email to Valex for the "pure" ac3 playback issue. He is looking into it :)

Next version of reclock should be available tonight if all goes well :)

Chibi Jasmin
15th December 2002, 18:09
Originally posted by gabest
Chibi Jasmin: Forget what I said about dvds and the ac3filter decoder: http://download.vobsub.edensrising.com/ac3filter.rar :D

Is this a modified version of V0.55b which works in DVDGraph? Also with encrypted DVDs? If yes, I'd highly recommend sending your changes to Valex for including in his versions...

Chibi Jasmin
15th December 2002, 18:10
Originally posted by ogo
Hello Gabest

Next version of reclock should be available tonight if all goes well :)

Great, I will start the test you wanted now.

ogo
15th December 2002, 21:24
Version 0.97 is available on my web site. It has some big changes in video clock estimation and correction.

I think this version is quite close to 1.0 :)

I'd like to receive some log files of runs of Reclock to check is all is ok (see changelog.txt for details) with a description of the video and audio hardware you use.

Thanks again
OGO

gabest
16th December 2002, 02:26
Originally posted by Chibi Jasmin
Is this a modified version of V0.55b which works in DVDGraph? Also with encrypted DVDs? If yes, I'd highly recommend sending your changes to Valex for including in his versions... Yea, but I was still using the xing keys in this. Now I'm finding out a few other player keys by running a brute force search. I don't understand decss fully so I just try all possible 40bit keys, but in 5 hours and 1/4th of the tries I already found one key :) Btw, I think xvalex has posted his first here at doom9 in that audio time shifter filter thread, he just has a different nick name :)

cca
16th December 2002, 12:44
I tested the latest version and attached the logs. It works ok except for the known bugs, mostly with DVDs. Test configuration: 1320MHz AMD Duron, GeForce 4 TI 4200 + TVTool 6.8.4, SoundBlaster Audigy. NView not used.

@ Gabest:
The modified version of AC3Filter works with DVDs but crashes the player when trying to play AC3 from AVI files. You added DVD capability and killed AVIs! At least that's what's happening here.

Looking forward for the next version Ogo!

gabest
16th December 2002, 12:52
cca: There was a small error in the source code, it can be corrected easily.

cca
16th December 2002, 14:12
Glad to hear that Gabest.

gabest
16th December 2002, 14:30
Corrected that prob, added more player keys, sent a patch to xvalex :)
http://vobsub.edensrising.com/ac3filter.rar

ogo: How do you define the looping sound in dvd menus? I can only hear the last 0.x sec sometimes repeating after a seek or a change from one title/menu to another. I don't know exactly but somehow it must be releated to the flushing. Are you blocking the input and emptying the buffers without sending them out to the soundcard between beginflush and endflush?

ogo
16th December 2002, 14:45
Thanks cca for your tests. I'll analyze the logs, and tell you if all is ok

Gabest:
Starting with 0.97 the problem with DVD only occurs with Intervideo decoder (Cyberlink is fine). It's simple to reproduce : start playing a movie, wait for some sound, and then click on "root menu" in MPC. Root menu will appear, but you will hear a looping sound of the last 1 or 2 seconds. The problem is that Intervideo does not call BeginFlush() or EndFlush() on my input pin when "root menu" is choosen from MPC menu. In fact nothing at all is called in my filter or input pin, so i can't stop sound. However BeginFlush() is called when the user click on something in the root menu : this is very strange. For comparison, Cyberlink just call BeginFlush() as soon as "root menu" is clicked, so it's fine with this filter. I don't know what to do to solve this problem.
Did you correct the problem of ac3filter with "pure" ac3 files ? I believe it's a problem in ac3filter, not in reclock

OGO

gabest
16th December 2002, 15:01
Ah, now it is looping nicely even with the ac3filter :) But I didn't succeed for the first attempt, only for the second when going to the subtitles menu. It must be some random thing, the response time of the dvd navigator is very bad, it may confuse something.

I didn't look into that prob with demuxed ac3 files. The coding style is not for my eyes :)

ogo
16th December 2002, 15:18
Speaking of the "pure" ac3 file problem with ac3filter, try to recompile ac3filter in debug mode, and you will see that the problem disappear ... Funny

2 strange bugs to correct until 1.0 :D It's challenging ...