alderlopez / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

libffmpegsumo.so can not be loaded #617

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copy libffmpegsumo.so from out/Release to another directory
2. Set LD_LIBRARY_PATH to the directory where libffmpegsumo.so is located.
3. Run cefclient and navigate to html5test.com

What is the expected output? What do you see instead?

You will see that there is no video/audio support.

What version of the product are you using? On what operating system?

I'm using Ubuntu 12.04 x64 (Also tested under Ubuntu 11.10 x64 and Ubuntu 10.10 
ia32).

Please provide any additional information below.

As far as I know, setting ld_library_path on linux, should allow one to load 
libraries from another location other than current working directory and 
standard search path. But Why I can not use the same with libffmpegsumo.so?

I used -rpath during compile. No lock. What's wrong with that?

Original issue reported on code.google.com by Fireboy.mrtz on 1 Jun 2012 at 2:28

GoogleCodeExporter commented 9 years ago
Typo:
I used -rpath during compile. No *luck*. 

Original comment by Fireboy.mrtz on 1 Jun 2012 at 2:30

GoogleCodeExporter commented 9 years ago
It seems ffmpegsumo is a loadable module not a library. And in 
media/base/media_posix.cc:74 There is chance to set module directory somehow. 
Does cef provide a way to set that module path?

Original comment by Fireboy.mrtz on 1 Jun 2012 at 2:59

GoogleCodeExporter commented 9 years ago
In `cef/libcef/browser_webkit_init.cc` line 51, Changing DIR_MODULE to 
DIR_CURRENT is better. 

For those bindings like python or nodejs using DIR_MODULE which is the same as 
DIR_EXE does not make sense. One should copy modules beside node or python 
executable files instead of script file he is running, now. Changing to 
DIR_CURRENT will solve this issue: Users can put modules next to their scripts.

Original comment by Fireboy.mrtz on 1 Jun 2012 at 4:03

GoogleCodeExporter commented 9 years ago
The DIR_MODULE value means that libffmpegsumo.so should be in the same 
directory as libcef.so. This is not necessarily the same as the executable 
directory (DIR_EXE). Did you try placing libffmpegsumo.so in the same directory 
as libcef.so?

Original comment by magreenb...@gmail.com on 1 Jun 2012 at 6:57

GoogleCodeExporter commented 9 years ago
Yes. I tried that even. Does not work.

Even cefclient application places libffmpegsumo.so where cefclient executable 
is placed.

I'm working on nodejs binding of CEF. When I place libffmpegsumo.so where node 
is located, everything works well. But if I place it where libcef.so is or at 
current working directory, html5test.com reports no video/audio support.

Original comment by Fireboy.mrtz on 1 Jun 2012 at 9:19

GoogleCodeExporter commented 9 years ago
I'm using cef1 if it helps.

Original comment by Fireboy.mrtz on 1 Jun 2012 at 9:20

GoogleCodeExporter commented 9 years ago
Any news on this?

Original comment by Fireboy.mrtz on 14 Jun 2012 at 6:24

GoogleCodeExporter commented 9 years ago
See issue #530.

Original comment by magreenb...@gmail.com on 28 Sep 2012 at 1:48