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

Create ts-ebml-min.js #15

Closed

Conversation

guest271314
Copy link

No description provided.

@matthiasfostel
Copy link

Hey, would you mind explaining how you compiled this prior to mini-fying?

I have compiled the "official" ts-ebml using the npm script but the file produced in dist/ does not export ts-ebml like yours does and trying to figure out why.

@guest271314
Copy link
Author

@matthiasfostel The code was compiled an unknown number of OS's ago. Do not have the exact procedure right now. Will browse notes to try and find the procedure. Observing the text it appears that used the require() function from https://gist.github.com/mathisonian/c325dbe02ea4d6880c4e and if recollect correctly ts-ebml from https://unpkg.com/browse/[email protected]/.

See also guest271314/MediaFragmentRecorder#8 (comment), et al.

@matthiasfostel
Copy link

Thank you for the quick response! I will go through your notes all to try to make a non-minified version usable for a Chrome extension and post the process here if you do not mind.

@guest271314
Copy link
Author

Yes. Do so. Note also that mkvmerge -o output.webm --enable-durations input.webm` is also capable of setting duration on WebM and Matroska files, see https://github.com/guest271314/native-messaging-mkvmerge.

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

Successfully merging this pull request may close these issues.

2 participants