-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
MediaEvent: PIPELINE_ERROR demuxer: could not open #4687
Comments
NW.js doesn't support mp3 out of the box. |
@iteufel Yes I have update the so libraries using the What happens is with $ lipo -info ./nwjs Framework.framework/Libraries/ffmpegsumo.so is architecture: x86_6 File format is $ ffpegm -i /assets/sounds/Glass.mp3
ffmpeg version 2.4.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Nov 18 2014 16:24:48 with Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.4.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass --enable-ffplay --enable-libspeex --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 ' --enable-vda
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
Input #0, mp3, from '/assets/sounds/Glass.mp3':
Metadata:
encoder : Lavf56.4.101
Duration: 00:00:00.89, start: 0.025057, bitrate: 198 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 192 kb/s
At least one output file must be specified and I can play the file with |
..uhm ok it's a bit complicated due to licensing issues, so it's better to cd /assets/sounds/
for f in ./*.mp3; do ffmpeg -i "$f" -c:a libvorbis -q:a 4 "${f/%mp3/ogg}"; done and then <audio id="audioAlertOK">
<source src="assets/sounds/Sosumi.mp3" type="audio/ogg">
</audio> problem (partially) solved! |
@loretoparisi so what's not solved? |
I have a mp3 audio in the html index page:
I try to preload the audio when the demux fails:
I have found a related issue in
Chromium
: https://bugs.chromium.org/p/chromium/issues/detail?id=572628NWJS version:
nwjs-sdk-v0.13.3-osx-x64
The text was updated successfully, but these errors were encountered: