Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play video in slow motion on android #69

Closed
viacheslavokolitiy opened this issue Aug 24, 2014 · 1 comment
Closed

Play video in slow motion on android #69

viacheslavokolitiy opened this issue Aug 24, 2014 · 1 comment

Comments

@viacheslavokolitiy
Copy link

Hi everyone. Is there any api for playing video on android in slow motion(it means playing video in 1/2 or 1/4 of normal video speed) ?

@bbcallen
Copy link
Contributor

There is a clock struct.

typedef struct Clock {
double pts; /* clock base /
double pts_drift; /
clock base minus time at which we updated the clock /
double last_updated;
double speed;
int serial; /
clock is based on a packet with this serial /
int paused;
int *queue_serial; /
pointer to the current packet queue serial, used for obsolete clock detection */
} Clock;

Try speed field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants