Sign inSign up

silstechar/emscripten

By silstechar

•Updated over 6 years ago

Docker emscripten builder for libde265.js library with Websocket adaption

Image
0

85

silstechar/emscripten repository overview

⁠libde265.js

⁠https://github.com/frodriguezf/emscripten-docker-libde265⁠

Pure JavaScript HEVC/H.265 video decoding library using libde265.

Compiled from libde265 using Emscripten. Should run in all current browsers like Google Chrome 33+, Firefox 28+, IE 11+, Opera 20+ and Safari 7+ on OSX Mavericks. Older versions might work, but this is mostly untested.

NOTE: This is a very early preview which needs more testing and lots of optimizations!

⁠Building

(currently only tested on Linux)

  • Install Emscripten⁠ and put into your PATH
  • Execute the build.sh, this will download and compile libde265 using Emscripten and will generate the libde265.js file.
  • If the version of your default LLVM is below 3.2, you might need to install the package llvm-3.2 (or newer) and set the environment variable LLVM_ADD_VERSION to 3.2 (or whatever you installed).

⁠Examples

A small example can be found in the demo folder and on https://strukturag.github.io/libde265.js/⁠.

⁠Known issues

  • More code from libde265 should be made asm.js aware
  • Decoding should be made asynchronous through WebWorkers where available

⁠Docker

docker run -it --name emscripten --rm -v `pwd`:/src silstechar/emscripten:sdk-tag-1.34.1-32bit ./build.sh

Copyright (c) 2014 struktur AG

⁠Credits:

Tag summary

Content type

Image

Digest

Size

512 MB

Last updated

over 6 years ago

docker pull silstechar/emscripten:sdk-tag-1.34.1-32bit