Skip to content
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

html5 audio and video crashing in v0.8.1 #1423

Closed
devnill opened this issue Dec 27, 2013 · 37 comments
Closed

html5 audio and video crashing in v0.8.1 #1423

devnill opened this issue Dec 27, 2013 · 37 comments

Comments

@devnill
Copy link

devnill commented Dec 27, 2013

When I try to embed content using the

The output is as follows:

[30550:1227/003410:INFO:gpu_info_collector_x11.cc(80)] NVCtrl extension does not exist.
[30573:1227/003410:ERROR:platform_thread_linux.cc(99)] Failed to set nice value of thread to -10
[30550:1227/003410:ERROR:breakpad_linux.cc(1249)] crash dump file written to /tmp/chromium-renderer-minidump-a4de0456f4697a09.dmp

I've done a little more experimentation and have replicated the same issue in v0.8.3. I've also observed that the crash happens only when a valid file src is set-- setting the source src attribute to a nonexistent file will not kill nw. It's also worth noting that the app only crashes when I'm using chromes copy of libffmpegsumo.so, the copy that ships acts as expected.

I'm not sure it matters but I run nw via this script:

LD_LIBRARY_PATH=/home/devnill/apps/node-webkit-v0.8.3-linux-x64/:$LD_LIBRARY_PATH /home/devnill/apps/node-webkit-v0.8.3-linux-x64/nw $*

Does libffmpegsumo.so need to be added to an environment variable? Would posting the crash dump be helpful?

@eberfreitas
Copy link

I'm having the same issue. Would like to know more about this issue.

@ghost
Copy link

ghost commented Jan 11, 2014

I'm having crashing issues too. I copied the .dll from chrome

this is my package.json
"chromium-args" : "--disable-accelerated-video --disable-accelerated-video-decode"

this is my html
`

`

It's not working in 8.4.

it works when I switch back to 7.4

@Mithgol
Copy link
Contributor

Mithgol commented Jan 11, 2014

The crash is probably caused by a difference in underlying Chromium versions.

Node-webkit v0.8.3 uses Chromium 30.0.1599.66, what about your Chrome's version?

@eberfreitas
Copy link

That is right @Mithgol. Just got the file from the right version and everything went fine on my case. If anyone needs any help getting it, let me know.

@xdenser
Copy link

xdenser commented Jan 12, 2014

I need

2014/1/12 Éber Freitas Dias notifications@github.com

That is right @Mithgol https://github.com/Mithgol. Just got the file
from the right version and everything went fine on my case. If anyone needs
any help getting it, let me know.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1423#issuecomment-32113671
.

@eberfreitas
Copy link

@xdenser
Copy link

xdenser commented Jan 12, 2014

Thanks. I actually need windows version. But anyway thank you.

2014/1/12 Éber Freitas Dias notifications@github.com

@xdenser https://github.com/xdenser grab it here:

https://dl.dropboxusercontent.com/u/2760930/libffmpegsumo.so


Reply to this email directly or view it on GitHubhttps://github.com//issues/1423#issuecomment-32121244
.

@devnill
Copy link
Author

devnill commented Jan 12, 2014

That works, thanks!

@devnill devnill closed this as completed Jan 12, 2014
@ghost
Copy link

ghost commented Jan 15, 2014

does anyone have the ffmpegsumo.dll for Chromium 30.0.1599.66?

@umavenkitachalam
Copy link

I need it too. I tried with the libffmpegsumo.dll given in the post above with node-webkit 0.8.3 & 0.8.4 on Linux 32 bit system. But still it crashes

@devnill devnill reopened this Jan 16, 2014
@devnill
Copy link
Author

devnill commented Jan 16, 2014

@umavenkitachalam: .dll's are windows files. You'll probably want the copy of libffmpegsumo.so that @eberfreitas put on dropbox.

I'll reopen this for now since it seems like other people are having the same issue on other platforms.

@umavenkitachalam
Copy link

Hi, It was a mistake in the post..I copied the .so file only given in an earlier post here
(@xdenser grab it here:

https://dl.dropboxusercontent.com/u/2760930/libffmpegsumo.so)

@kpaekn
Copy link

kpaekn commented Jan 20, 2014

Here's one for Windows, Chrome v30. Works for me with node-webkit v0.8.4.

https://dl.dropboxusercontent.com/u/31317920/chrome%20ffmpegsumo%20(win)/v30/ffmpegsumo.dll

@umavenkitachalam
Copy link

I downloaded the libffmpegsumo.so file for Chromium 30.0.1599.66 32-bit Linux , from below URL

http://rpm.pbone.net/index.php3/stat/4/idpl/25338992/dir/opensuse_12.x/com/chromium-ffmpegsumo-30.0.1599.66-1.46.1.i586.rpm.html

After that audio, video is working fine in node-webkit 0.8.4 on Linux

@Zinggi
Copy link

Zinggi commented Jan 24, 2014

@kpaekn Thanks, had the same problem.
Your file fixed it. What a shame we have to get our own versions of that file just because a certain company owns mp3...

@garryguzy
Copy link

When I use node-webkit to do some media interaction project , I have the same problem too , and the latest chrome ffmegsumo.so file and eberfreitas's libffmpegsumo.so file can't fixed , also cause crash when play media especially html5 audio . Ultimately , I download older version 30.0.1599.66 mac chrome , and extracted ffmegsumo.so file , everything works fine .

you can download 30.0.1599.66 from http://dw1.cn.uptodown.com/dw/1391003248/6bbf752e1dc26d29a65a25446cc3496dc0b107b3/0/google-chrome-30-0-1599-66-es-en-br-fr-de-it-cn-jp-ar-ru-mac.dmg

@rogerwang
Copy link
Member

close since all platforms are fine.

@KokoDoko
Copy link

I have tried several different .dll files for playing video in node-webkit, but none seem to work. (windows version). On a mac it does work to copy the .so file. Can it be that my windows chrome .dll version is too old? (instead of too new?)
The dropbox dll file offered above causes an instant crash when trying to play a video. I think I have NW version 0.9.2. My chrome version is 33.0.1750

@garryguzy
Copy link

@KokoDoko
Well , I can offer some links blew for download different .dll according to what platform you use
MAC OS :https://www.dropbox.com/s/zvdvrdpdbyifqht/ffmpegsumo.so ,
Window: https://www.dropbox.com/s/77luwiazwwnjg17/ffmpegsumo.dll,
Linux : I'am sorry ,i haven't test yet .

@jerjako
Copy link

jerjako commented Mar 20, 2014

Hi,
I have the same problem as @ KokoDoko no ffmpegsumo.dll work for me.
Windows only, Mac is Ok.

When I play an audio file HTML5, the App turns black and crash.

@KokoDoko
Copy link

@garryguzy Thanks, but sadly, no dice. I am now converting my video to WebM. This works on windows. MP4 with H.264 would be a lot better though - it's much faster to compress and looks sharper.

@jerjako
Copy link

jerjako commented Mar 21, 2014

Found it for Windows ! Work on Seven and XP.

https://www.dropbox.com/s/wbmoveaj0w5cxa7/ffmpegsumo.dll

@KokoDoko
Copy link

@jerjako Thanks a lot, this one works. You saved my day!! What version of Chrome did you get this .dll from?

@jerjako
Copy link

jerjako commented Mar 21, 2014

@KokoDoko I don't know, I used a dll from an old project.
It was a couple of week ago.

@yeco
Copy link

yeco commented Apr 11, 2014

@garryguzy Thanks a lot!. You just ended 4 hours trying to figure out why I was having video but not audio.

@devnill devnill changed the title html5 audio and video crashing in v0.8.1 html5 audio and video crashing in v0.8.1 Apr 25, 2014
@weblancaster
Copy link

@garryguzy thanks a lot! Two days trying to find the right solution and it works now.

@garryguzy
Copy link

Well , These days I use node-webkit on my project . So I got some new idea to share with :
I test on both node-webkit version 0.8.4 and version 0.9.2 , audio and video.
For version 0.8.4 ,
MAC OS : https://www.dropbox.com/s/zvdvrdpdbyifqht/ffmpegsumo.so ,
Windows : https://www.dropbox.com/s/77luwiazwwnjg17/ffmpegsumo.dll,

For version 0.9.2
MAC OS: I didn't find 'ffmpegsumo.so' for chrome 32.0.1700.107, but The file above for Chromium 30.0.1599.66 still works . I don't know why ,but it works.
Windows: https://www.dropbox.com/s/9p6mrj5c4wy19w3/ffmpegsumo.dll , This file is copy from @jerjako, Very good .
So Thanks @rogerwang , a good project for me for all of us .
These days , I'm working on establish windows app build environment . If i could find any new method , I can share with you .

@xdenser
Copy link

xdenser commented May 23, 2014

See alternative method of playing media:
https://github.com/xdenser/nw-f2cwa-play

@shivasurya
Copy link

@garryguzy thanks for the files!

@Rameshv
Copy link

Rameshv commented Sep 29, 2014

@Mithgol @garryguzy guys anybody got a latest ffmpeg (.dll & .so) for the current version of chromium (35.0.1916.157) node-webkit (0.10).

@Mithgol
Copy link
Contributor

Mithgol commented Oct 1, 2014

@Rameshv I don't.

@weblancaster
Copy link

@dasmikko
Copy link

@weblancaster Works for me too! Thanks!

@moust
Copy link

moust commented Nov 5, 2014

@weblancaster 's dll works well with node-webkit 0.10.5. Thanks!

@chrisrickard
Copy link

Anyone had any luck with a ffmpegsumo.so for version v0.11.5? can't seem to get it to work.

@ice6
Copy link

ice6 commented Mar 10, 2015

all these file above is code signed by Google, so is there any problem with this? anyone know?

@j2rojasr
Copy link

anyone had any luck with a ffmpegsumo.so for version 0.11.6? my app crashes when i use it. :'(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests