ffmpegsumo license

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

ffmpegsumo license

Postby meflynn » Thu Oct 02, 2014 2:57 pm

I'm looking for license and distribution information for ffmpegsumo.

We've been nervous to bundle ffmpegsumo with our cef application because we have had problems fully understanding what the licensing is for the library. Does anyone have that information or where to find it? Is the fact that it's distributed by cef make it fall under the general cef license? As I understand ffmpegsumo is a forked version of ffmpeg with no proprietary codecs? I haven't found any place that actually describes what is in there.


Thanks.


On a side note, our application crashes when rendering a page with an audio tag on mac and the ffmpegsumo.so is not found. Is this expected?
meflynn
Techie
 
Posts: 36
Joined: Sun Jan 27, 2013 4:23 pm

Re: ffmpegsumo license

Postby magreenblatt » Thu Oct 02, 2014 4:42 pm

meflynn wrote:I'm looking for license and distribution information for ffmpegsumo.

You can see the license for ffmpeg by visiting about:credits in Google Chrome or any CEF-based browser.

meflynn wrote:As I understand ffmpegsumo is a forked version of ffmpeg with no proprietary codecs?

That's basically correct (for the version that CEF builds and distributes).

meflynn wrote:On a side note, our application crashes when rendering a page with an audio tag on mac and the ffmpegsumo.so is not found. Is this expected?

Probably not. What's the call stack for the crash?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: ffmpegsumo license

Postby meflynn » Thu Oct 02, 2014 5:44 pm

Thanks marshall.

We are running cef3 v1650.

Dump is:

EXC_BAD_ACCESS (code=1, address=0xbbadbeef)

#0 0x084e853f in WebCore::V8HTMLElement::createWrapper(WTF::PassRefPtr<WebCore::HTMLElement>, v8::Handle<v8::Object>, v8::Isolate*) at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/gen/blink/bindings/V8HTMLElement.cpp:776
#1 0x08990cf4 in WebCore::createV8HTMLDirectWrapper(WebCore::HTMLElement*, v8::Handle<v8::Object>, v8::Isolate*) at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/gen/blink/V8HTMLElementWrapperFactory.h:46
#2 0x0898c489 in WebCore::createHTMLAudioElementWrapper(WebCore::HTMLElement*, v8::Handle<v8::Object>, v8::Isolate*) at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/gen/blink/V8HTMLElementWrapperFactory.cpp:226
#3 0x0898c126 in WebCore::createV8HTMLWrapper(WebCore::HTMLElement*, v8::Handle<v8::Object>, v8::Isolate*) at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/gen/blink/V8HTMLElementWrapperFactory.cpp:776
#4 0x0890a263 in WebCore::wrap(WebCore::HTMLElement*, v8::Handle<v8::Object>, v8::Isolate*) at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/../../third_party/WebKit/Source/bindings/v8/custom/V8HTMLElementCustom.cpp:41
#5 0x088e80c3 in WebCore::wrap(WebCore::Element*, v8::Handle<v8::Object>, v8::Isolate*) at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/../../third_party/WebKit/Source/bindings/v8/custom/V8ElementCustom.cpp:44
#6 0x08612b9c in void WebCore::v8SetReturnValueForMainWorld<v8::FunctionCallbackInfo<v8::Value> >(v8::FunctionCallbackInfo<v8::Value> const&, WebCore::Element*, v8::Handle<v8::Object>) at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/gen/blink/bindings/V8Element.h:105
#7 0x08613089 in void WebCore::v8SetReturnValueForMainWorld<v8::FunctionCallbackInfo<v8::Value> >(v8::FunctionCallbackInfo<v8::Value> const&, WTF::PassRefPtr<WebCore::Element>, v8::Handle<v8::Object>) at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/gen/blink/bindings/V8Element.h:136
#8 0x085b475e in WebCore::DocumentV8Internal::createElement1MethodForMainWorld(v8::FunctionCallbackInfo<v8::Value> const&) at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/gen/blink/bindings/V8Document.cpp:3436
#9 0x085b4397 in WebCore::DocumentV8Internal::createElementMethodForMainWorld(v8::FunctionCallbackInfo<v8::Value> const&) at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/gen/blink/bindings/V8Document.cpp:4367
#10 0x085a7c1a in WebCore::DocumentV8Internal::createElementMethodCallbackForMainWorld(v8::FunctionCallbackInfo<v8::Value> const&) at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/gen/blink/bindings/V8Document.cpp:4392
#11 0x058cb5fc in v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/../../v8/src/arguments.cc:56
#12 0x058edfe5 in v8::internal::MaybeObject* v8::internal::HandleApiCallHelper<false>(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>, v8::internal::Isolate*) [inlined] at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/../../v8/src/builtins.cc:1272
#13 0x058ede63 in v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) at /Users/miflynn/MorphoDeps/cef-1650/chromium/src/out/Debug/../../v8/src/builtins.cc:1288


I can't paste the page we are trying to load but 2 things of interest.
1. The same page does not crash on windows (ffmpegsumo.dll not provided with windows either).
2. I was banging my head against the wall as to what the problem was when I saw that the page does have an audio object that is created. So I dropped in the ffmpegsumo.so just to see what happened and that caused the application to stop crashing. I'm still not sure what to make of it.
meflynn
Techie
 
Posts: 36
Joined: Sun Jan 27, 2013 4:23 pm

Re: ffmpegsumo license

Postby meflynn » Fri Oct 03, 2014 6:36 pm

To circle back on this. This crash is in webkit/blink.

This patch: https://codereview.chromium.org/23684014


Will fix the crash I describe here. This patch is needed for 1650. I have not determined if newer versions of cef are pulling in this fix yet.
meflynn
Techie
 
Posts: 36
Joined: Sun Jan 27, 2013 4:23 pm

Re: ffmpegsumo license

Postby magreenblatt » Fri Oct 03, 2014 6:58 pm

Newer branches should include that fix. 1650 is no longer developed but you can of course apply the fix and build locally.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 58 guests