Log in

View Full Version : OT: A coding question about GKnot


DoC hEx
16th February 2003, 12:59
@TheWEF

Hi TheWEF, great program! I have a quick question if you’re not to busy; about how do you get the Video sources Frame rate, resolution and frame count. Do you read this directly from the VOB/IFO? Also when you display the Video for cropping do you decode it yourself or are you using something like Avisynth?

Cheers!
dOc hEx

killingspree
16th February 2003, 14:33
well i'n not theWEF as you see, but i'll try to answer your question anyway.

the information about the source comes from the dvd2avi project file (.d2v). basically this too is a frameserver. gknot does not read the VOBs directly, otherwise there would no need (except) demuxing to use DVD2AVI.

for preview i think the directshow filters are used.
probably it is just using the default decoding filter. so if you've installed ffdshow, it might use it too... don't know that for sure though

regards
steVe

PS: @TheWEF: pls correct me if i'm wrong... (:

jonny
16th February 2003, 16:31
Taking a look at avscompare source code could be useful i think:

http://forum.doom9.org/showthread.php?s=&threadid=40675

DoC hEx
16th February 2003, 19:19
Groovy! Thanks for the info all, it's got me going in a direction!

TheWEF
16th February 2003, 23:29
check out my brothers little site http://aquaplaning.20m.com/

DoC hEx
17th February 2003, 04:12
Thanks!