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

30 seconds limit? #13

Closed
ergunkocak opened this issue Jul 26, 2014 · 2 comments
Closed

30 seconds limit? #13

ergunkocak opened this issue Jul 26, 2014 · 2 comments

Comments

@ergunkocak
Copy link

Hi,

First of all thanks for open sourcing such useful library :)

If the recording is more than 30 seconds, video becomes problematic. The code to send video data to a preview player is :

videoBlob = new Whammy.fromImageArray(frames, localframerate);
videoBlobURL = window.URL.createObjectURL(videoBlob);
document.getElementById('previewVideo');
videoElement.src = videoBlobURL;

I also tried updating cluster max size as (10 times more) :

var CLUSTER_MAX_DURATION = 300000;

but this time video stuck on 32. second.

Test platform is Chrome v.36 on Mac OSX 10.9

Regards

@antimatter15
Copy link
Owner

1ac4118 should have fixed this. I think the root cause of this (in spite of e0ed875 which first added support for longer videos, was that certain frame rate/duration combinations could yield non-integer timecodes which couldn't be encoded by the ebml converter.

@Jannchie
Copy link

The current version still has this problem.

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

3 participants