Click here to Skip to main content
15,921,905 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,
how to create slow motion video player using QuartzTypeLib. or any other slow motion video player how to create.
Posted

private FilgraphManager ifilmanager = null;
private IMediaPosition iposition = null;
ifilmanager = new FilgraphManager();
iposition = (IMediaPosition)ifilmanager;
 
Normal speed is iposition.Rate = 1.0;
 
Half Speed is iposition.Rate = 0.5;
 
Twice Speed is iposition.Rate = 2.0;


Negative rates indicate reverse playback; however, most sources do not support reverse playback.
 
Share this answer
 
v2
Comments
RaviRanjanKr 10-Nov-11 7:26am    
Always wrap your code in "Pre" tag.
private FilgraphManager ifilmanager = null;
private IMediaPosition iposition = null;
ifilmanager = new FilgraphManager();
iposition = (IMediaPosition)ifilmanager;

Normal speed is iposition.Rate = 1.0;

Half Speed is iposition.Rate = 0.5;

Twice Speed is iposition.Rate = 2.0;

Here the half speed is working for smaller size viedos but its not working for larger size videos like one hour play time or two hour play time.

Can any one help for this issue. . ? ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900