View Full Version : AVISTREAMINFO wrong FrameRate!
TheUnforgiven
24th May 2004, 11:10
I dont know why i get 2976 while the source is 2397 the other info in the structure is correct though.
i'll post some code when i get to my pc.
any suggestion?
Dark-Cracker
24th May 2004, 13:41
are u sure u have divide the rcFrame param with the dwScale value.
it seems to me this have solve my same problem.
hope this help u.
++
TheUnforgiven
24th May 2004, 14:52
could u elaborate more plz
1 case is:
dwScale=125
rcFrame.left=0
rcFrame.top=0
rcFrame.right=720
rcFrame.bottom=304
how i am supposed to get the correct frame rate which is 23.976 fps from those numbers?
Rainy
24th May 2004, 16:11
from MSDN:
dwScale
Time scale applicable for the stream. Dividing dwRate by dwScale gives the playback rate in number of samples per second. For video streams, this rate should be the frame rate.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.