question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nwjs + MP3 special build for Europe?

See original GitHub issue

Hello, I read about MP3 patent limits on new nwjs and as I read on wikipedia this codec is patent-free for Europe:

The basic MP3 decoding and encoding technology is patent-free in the European Union, all patents having expired there. https://en.wikipedia.org/wiki/MP3#Licensing.2C_ownership_and_legislation

Please, could you add to your builds another one special for Europe companies? (something like nwjs-eu) Thank you

<bountysource-plugin>

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
abhijeetkcommented, Feb 25, 2016

@rogerwang How about providing JS API to enable codec ?

  • Enable all codecs supported by ffmpeg(including proprietary codecs)
  • by default disable proprietary codecs in chromium layer.
  • Allow user to enable proprietary codec at chromium layer using JS API. (It is responsibility of developer to enable it)

JS -----> chromium(disabled) —> ffmpeg(enabled)

After enabling proprietary codec using JS API.(say, mp4)

windows.enableMimeType(‘video/mp4’) ----> chromium(enabled) —> ffmpeg(enabled)

Please let me know your opinion on this approach.

0reactions
rogerwangcommented, Nov 2, 2017

Mp3 decoder is in official NW binary since 0.22.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

NW.js v0.22.1 Released with Chromium 58 Update and MP3 ...
Chromium 58 contains under-the-hood performance and stability tweaks, and some cool new features to explore like IndexedDB 2.0 and an ...
Read more >
Enable Proprietary Codecs - NW.js Documentation
Build FFmpeg DLL without Building NW.js. If you are using pre-built NW.js, you can just only rebuild FFmpeg DLL and replace the bundled...
Read more >
Package and Distribute - NW.js Documentation
Or your can build your app manually with the instructions below. Prepare Your App. Before packaging, you should prepare all necessary files on...
Read more >
Building NW.js
So you can't play MP3/MP4 with <audio> and <video> tags with prebuilt NW.js. To enable those medias, you have to build NW.js from...
Read more >
How to Play Video using Node-Webkit? - Stack Overflow
Your HTML for playing videos looks ok but the problem is that out-of-the-box NW doesn't support MP3/MP4 and many other formats, so you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found