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

WebM support #1

Open
Kagami opened this issue Dec 27, 2016 · 7 comments
Open

WebM support #1

Kagami opened this issue Dec 27, 2016 · 7 comments

Comments

@Kagami
Copy link

Kagami commented Dec 27, 2016

WebM is a powerful feature of modern web. It allows to easily attach interesting/funny video fragments and much more effecient (in both VP8 and VP9 variants) than good old GIF format. It's also broadly supported - in 3 major browsers of 4, so almost no issues with cross-browser shims.

What do you think?

@m-2k
Copy link
Owner

m-2k commented Dec 27, 2016

@Kagami, i think that make upload any files is not a problem.
For what purpose are interested in?
The erlach.co is no storage space for personal video schoolboys

U can write me on twitter or by email

@5HT
Copy link
Contributor

5HT commented Dec 27, 2016

https://github.com/Kagami/ffmpeg.js — means we can play DSD in browser :-)

@m-2k
Copy link
Owner

m-2k commented Dec 27, 2016

DSD in browser

@5HT Yay, cool!

@5HT
Copy link
Contributor

5HT commented Dec 27, 2016

@Kagami could you play these files: http://5ht.co/dxd/ with your emscripten ffmpeg port?

@m-2k
Copy link
Owner

m-2k commented Dec 27, 2016

DSD-thread: https://erlach.co/mu/508
@Kagami @5HT Welcome again…

(fucking mail notifications)

@Kagami
Copy link
Author

Kagami commented Dec 27, 2016

Yes, ffmpeg has DSD decoder. And I can play these files with mpv (which uses libavcodec underneath). So possible to add to ffmpeg.js.

It would be better to compile some lightweight decoder to asm.js/wasm though, like this one. And add it as plugin to e.g. Aurora.js framework for playing in browser because ffmpeg.js is not indeted for realtime decoding, but for video-on-deman encoding instead.

@Kagami
Copy link
Author

Kagami commented Dec 27, 2016

Hm, no, https://github.com/szechyjs/dsd is something different. But you get my point.
Compile the minimal decoder to JS and create Aurora.js plugin. Here is example: https://github.com/audiocogs/flac.js/tree/master/src
You need to implement demuxer and decoder classes with calls to asm.js code for the actual decoding logic.

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