Log in

View Full Version : DirectShowSource problem :( UPDATE: more strangeness


Zep
1st December 2005, 12:51
avisynth 2.5.5 and 2.56a both tested in the following.

i use the elecard decoders. They work great every where except
in avisyth using DirectShowSource. I get the incorrect time length
and frame count when using DirectShowSource but when using
the elecard player for example or other players like WMP which
uses the elecard decoders everythig is fine.


neither of the following work

directShowSource("c:\Demux\house.m2v")

or with my own graph using graphedit
directShowSource("c:\Demux\house.GRF")


everything comes come up short. In the above example I
used projectx on the .ts of the show called house (demux it)
The stream is 720p and 59.94 FPS
the m2v is 42:54 long and 154295 frames but when using
the above directShowSource i can only get to 36:28 and 131195
frames in Vdub. The end of the file is never read in it appears.
Using the slider to scan and everything works fine up to 36:28
and frame 131195 but not beyond which i can't reach.
Encoding same problem. The encode will encode to same
spot and no farther.

I have tried all sorts of options. I also made sure the elecard decoders
were set to decode ALL frames in graphedit. Nothing changes.
I have tried many combos of options in the directShowSource
function also. Again nothing seems to fix the problem.

Changing the FPS doesn't help. It does change the time length
but not the frame count besides and avisynth using info()
does report the correct 59.94 FPS when leave the FPS= out
of the option for directShowSource.


UPDATE: more info. on 1920 x 1080i streams it appears to work.
I can read to almost the end. (only the very last GOP can't be reached)
the frame count is not the exact same as DGindex or projectX
(the last GOP plus a few more about 20 frames missed somewhere)
So it appears the 1280 x 720p 59.94 FPS causes directshowSource to barf
and 1920 x 1080i to just choke a little.

I still say it is directshowSource because the decoders works fine in other
apps.

Thoughts? Suggestions to try?