Reason: mp4 appears to be a patented AV format. Node-webkit do not support it ... It seems to be.
Workaround:
Install the Chrome browser locally, install the directory (example: c:\Google\Chrome\Application\37.0.2062.103), and locate the Ffmpegsumo.dll file.
Copy (Ffmpegsumo.dll) and replace the Ffmpegsumo.dll in the Node-webkit directory.
Note: Since the chromium version is numerous, the chromium version of the downloaded Chrome browser will be consistent with the chromium version of Node-webkit. Otherwise, Ffmpegsumo.dll file replication used to be useless. And it can cause software crashes.
Where does the version number look? As follows:
Copy Code code as follows:
Downloads
node-webkit-v0.10.5: (Sep, 2014, based off of Node v0.11.13, Chromium 35.0.1916.157): Release Notes
Linux:32bit/64bit
Windows:win32
Mac 10.7+: 32bit/64bit
(The chromium version of Node-webkit-v0.10.0-win-ia32 is also 35)
File: Ffmpegsumo.dl download address (WINDOWS32/64) Http://pan.baidu.com/s/1wBItK
Pro-Test WinXP ~ Win8, 32/64 available.
The above is the full content of this article, I hope to learn node.js can help.