nw.js icon indicating copy to clipboard operation
nw.js copied to clipboard

A error message on Play Audio

Open finscn opened this issue 10 years ago • 9 comments

I've add a SFX on button click . when I click the button , the audio could be played normally. But there is an error message on Terminal :

[58559:39183:0920/024521:ERROR:ffmpeg_demuxer.cc(1510)] OnReadFrameDone result=-541478725 IsMaxMemoryUsageReached=0

The audio file is a small OGG ( 4KB ).

finscn avatar Sep 19 '16 18:09 finscn

Could you please upload the example? And does it appear in Chromium browser as well?

rogerwang avatar Sep 20 '16 00:09 rogerwang

test.zip

In my case use dataURL. the ogg file also in test.zip

finscn avatar Sep 20 '16 04:09 finscn

I've same problems. Any solution ?

abdelaz3r avatar Oct 14 '16 09:10 abdelaz3r

Is there any news about this issue ?

finscn avatar Jan 25 '17 20:01 finscn

@finscn , I tried your case, but failed to play audio, and another errors occurred.

~/nwjs/bugs/5315/1$ ../../../build/nwjs-sdk-v0.21.3-linux-x64/nw .
[26918:26918:0322/133019.005114:ERROR:child_thread_impl.cc(762)] Request for unknown Channel-associated interface: ui::mojom::GpuMain
[26920:26942:0322/133022.713097:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: demuxer error: 13"}
[26920:26920:0322/133022.713313:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR demuxer: could not parse
[26920:26942:0322/133026.625196:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: demuxer error: 13"}
[26920:26920:0322/133026.625403:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR demuxer: could not parse

So I tried another audio/ogg test case, it worked well for me on Linux/Windows with nwjs-sdk-v0.21.3. No error happened. 5315_test.zip

Christywl avatar Mar 22 '17 05:03 Christywl

I have what seems to be the same issue in nwjs 0.21.6 where video playback fails (tested on osx and Windows) [86684:37891:0414/161213.746401:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: failed creating video stream"} [86684:37891:0414/161213.746477:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: no supported streams"} [86684:775:0414/161213.746554:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR demuxer: no supported streams The exact same project works fin on nw 0.19.5

bschmitlin avatar Apr 14 '17 14:04 bschmitlin

close until more information is available

rogerwang avatar Sep 27 '17 00:09 rogerwang

@bschmitlin old submit another issue

rogerwang avatar Sep 27 '17 00:09 rogerwang

s/old/please

rogerwang avatar Sep 27 '17 00:09 rogerwang