So if we want to use chromium to build a marketable product, I am wondering whether it is possible to replace chromium's background ffmpeg with the OS's codecs like Android MediaCodec, at least only do it for AAC format. I am curious how much work we need to do to achieve this or it is a huge work ?
Thanks,
Lingchao
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/33405d4c-988e-4cb5-a0b4-9197b4835824%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CABc02_J_C4Mfe4GwHdXoOKr8mktY5XGkyqqHgmRjPUY%3Dq5cFmA%40mail.gmail.com.
../../content/renderer/media/android/webmediaplayer_android.cc:1019: error: unde fined reference to 'media::MakeTextFrameForCast(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, gfx::Size , gfx::Size, base::Callback<gpu::gles2::GLES2Interface* (), (base::internal::Cop yMode)1, (base::internal::RepeatMode)1> const&)'
../../content/renderer/render_frame_impl.cc:2730: error: undefined reference to 'media::WebMediaPlayerImpl::WebMediaPlayerImpl(blink::WebLocalFrame*, blink::Web MediaPlayerClient*, blink::WebMediaPlayerEncryptedMediaClient*, base::WeakPtr<me dia::WebMediaPlayerDelegate>, std::__ndk1::unique_ptr<media::RendererFactory, st d::__ndk1::default_delete<media::RendererFactory> >, linked_ptr<media::UrlIndex> , media::WebMediaPlayerParams const&)'
../../content/renderer/render_frame_impl.cc:2733: error: undefined reference to 'media::WebMediaPlayerImpl::SetMediaPlayerManager(media::RendererMediaPlayerMana gerInterface*)'
../../content/renderer/render_frame_impl.cc:2734: error: undefined reference to 'media::WebMediaPlayerImpl::SetDeviceScaleFactor(float)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Dale, do you know what cause these failures?
Thanks,
Lingchao
If you flip proprietary_codecs=true and media_use_ffmpeg=false, you should get a mostly working build (maybe completely working, but untested recently) that attempts to only use OS provided codecs.- dale
On Thu, Jun 8, 2017 at 5:54 AM, PhistucK <phis...@gmail.com> wrote:
I think Chrome used that at some point and then switched to FFMPEG (I am not helpful :)).
☆PhistucK
On Thu, Jun 8, 2017 at 3:13 PM, Lingchao <lingch...@gmail.com> wrote:
Hi guys, chromium has a build flag proprietary_codecs which would tell chromium to build ffmpeg with support for things like H264, AAC, MP3 and MP4 codecs. According to ffpmeg's own website the usage of this flag is a grey area at best and against patent laws at worst.So if we want to use chromium to build a marketable product, I am wondering whether it is possible to replace chromium's background ffmpeg with the OS's codecs like Android MediaCodec, at least only do it for AAC format. I am curious how much work we need to do to achieve this or it is a huge work ?
Thanks,
Lingchao
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/33405d4c-988e-4cb5-a0b4-9197b4835824%40chromium.org.
If you flip proprietary_codecs=true and media_use_ffmpeg=false, you should get a mostly working build (maybe completely working, but untested recently) that attempts to only use OS provided codecs.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAPUDrwee%3DxcXmcTDeq282YPJ-4OSZGR7hWUtuf00cM2qtRuNRQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/2e09575b-42ac-43a5-a88f-dbb53bd6f504%40chromium.org.
Thanks Dale and Raymond, now I know the whole story. Raymond, yes, I mean WebAudio, what we concerned is aac format web audio decoding with ffmpeg may cause some potential issue for us. So if we decide to use Android MediaCodec to decode aac audio and use ffmpeg to decode other audios and videos, is it practical to do something like this in current chromium implmentation for a small team(1~2 devs with less media knowledge previously)?
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/790ad4b4-4e4e-4910-8d5f-bd0ee6de5806%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/790ad4b4-4e4e-4910-8d5f-bd0ee6de5806%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/e3558650-48ac-4e19-80c9-1417b3dd3818%40chromium.org.
Thanks Raymond, I have found the CL here, and could you please help double confirm it is really this commit? Seems Dale is the author~:)
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/2aaa984c-d415-4c65-accc-7634c727bda7%40chromium.org.