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

Sluggish Recorded Video For higher resolution videos. #19

Open
invincible1388 opened this issue Nov 27, 2014 · 3 comments
Open

Sluggish Recorded Video For higher resolution videos. #19

invincible1388 opened this issue Nov 27, 2014 · 3 comments

Comments

@invincible1388
Copy link

I was trying to record a video of my screen using html5's getUserMedia api. The recorded video plays smoothely if the resolution of the video is set to 320 x 240. When we try to set higher resolutions, Then the video tend to get sluggish and slow.
How can I fix this issue? Any pointers on this will be helpful.

Tks

@antimatter15
Copy link
Owner

I don't really know, but if I'd venture a guess that it might have something to do with the general lack of support for interframe compression. I don't know if that's fixable.

@tschneid
Copy link
Contributor

tschneid commented Feb 9, 2015

This might have to do with the instant encoding to webp (toDataUrl('image/webp')) which is done each frame during recording and is pretty slow especially for large images. Have a look at the browser frame rate (e.g. in Chrome's DevTools) while recording; the resulting video won't have a higher frame rate than this. Waiting for the day when this can be done in WebWorkers...

@spite
Copy link

spite commented Oct 26, 2015

I've been using Whammy to export WebM video with ccapture.js, a library that tampers JavaScript timing methods to get the exact framerate you want, and it's woking quite well.

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

No branches or pull requests

4 participants