-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Description
I have been trying for days to get Node-Webkit to build, so that I can create a custom version of libffmpegsumo.so to enable support for h.264 video.
I followed the instructions here in the wiki page several times. I had to modify the build_install_deps.sh, to allow me to run it on 13.10 since the version is not included in the supported list. This was fine, I just had to install some packages manually.
Syncing using gclient and ./build/gyp_chromium content/content.gyp both complete successfully.
I modify the the lines in build_ffmpeg.sh as you state in the wiki ...
add_flag_common --enable-decoder=aac,h264,mp3
add_flag_common --enable-demuxer=mp3,mov
add_flag_common --enable-parser=aac,h264,mpegaudio
Then I run the build using ninja:
ninja -C out/Release nw -j4
It does it's thing and get almost completely finished before it dies at:
cc1plus: all warnings being treated as errors
[9268/9901] CXX obj/content/browser/accessibil...ontent_browser.browser_accessibility_manager.o
ninja: build stopped: subcommand failed.
Now, even though I don't get the nw executable from this, it does in fact give me libffmpegsumo.so, so I figured I should be able to use this with the latest pre-built binary.
Nope. It behaves exactly as before. I tried numerous times with numerous different versions of Chrome and Chromium, just taking their copy of libffmpegsumo.so, but when I use theirs, my app simply crashes after about 2 seconds with no output.
This is a showstopper for me and it's extremely frustrating, because I have read the Node-Webkit documentation and the referenced Chromium documentation up and down to try and get this to work and I am at a complete loss. 😓
What am I missing? Or where can I acquire a proper working copy of libffmpegsumo.so for the lastest version of node-webkit that includes the GPL licensed h.264 and mp3 support?
Your help is very much appreciated!