Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to control the speed of decorder

Status
Not open for further replies.

jefflg

Programmer
Dec 12, 2002
6
CN
I use dshow to make a player. I find the speed of decorder is much faster than normal. I do like this:
There are two control in my dialog, one for active movie to play, the other for my usage. I use Samplegrab get the still image and than draw it to the picture control. I find the speed of my drawn control is much faster than the active movie. The active movie control use the normal speed to play, while my own draw picture control play fast forward. And at the same time the cpu usage is over 90%. I think it is because the graph do not control the decorder filter as the normal speed. I use elecard mpeg2 filter. The graph is like this:
source filter->elecard mpeg2 decorder->samplegrab->color convert filter->render filter.
How to control the speed of decorder?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top