Chromium does not support MSE & H.264 video codec

6,781 views
Skip to first unread message

Debin Zhang

unread,
Jul 10, 2018, 3:39:36 PM7/10/18
to Chromium-dev

Hi, 

I built chromium 69.0.3488.0,  tried to run this youtube video:


The video does not run, and I got this error message:

"Your browser does not currently recognize any of the Video formats available. Click here to visit our frequently asked questions about HTML5 video"

When I click that link, it shows MSE & H.264 video codec is not supported.

Does anyone know if it is a bug, or a known issue related to H.264 codec license?


Thank in advance


Debin


P.S.  Made build against earlier Chromium versions (66, 68, etc...), all got the same problem







Dale Curtis

unread,
Jul 10, 2018, 3:46:29 PM7/10/18
to debin...@gmail.com, Chromium-dev
Chromium doesn't provide non-free codecs by default. If you have a license for h264+aac you can enable those codecs with ffmpeg_branding="Chrome" and proprietary_codecs=true

- dale

--
--
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 view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/7f766074-58f6-4a14-9c01-34f025167ecd%40chromium.org.

Debin Zhang

unread,
Jul 11, 2018, 12:32:09 PM7/11/18
to Chromium-dev, debin...@gmail.com
Hi Dale,

Thank you for your quick reply. I tried the approach you suggested. That seems working for desktop Chromium (like on Mac and Windows). But does not work for Android. Anything extra I need to do to make h264 codecs work for Android Chromium?

Thanks

Debin

Dale Curtis

unread,
Jul 11, 2018, 1:09:28 PM7/11/18
to Debin Zhang, Chromium-dev
No, those settings are the same we use for Chrome for Android. However, we don't ship ffmpeg software video decode on Android, so you need to ensure hardware decoding (either through AndroidVideoDecodeAccelerator or MediaCodecVideoDecoder) is functioning correctly. chrome://gpu can reveal if that's been disabled for some reason.

- dale

Debin Zhang

unread,
Jul 16, 2018, 4:32:34 PM7/16/18
to Chromium-dev, debin...@gmail.com
Hi Dale,

In addition to the  ffmpeg_branding="Chrome" and proprietary_codecs=true flags, I also set "enable_ffmpeg_video_decoders=true". Does that mean this will enable ffmpeg software video decoder for Android?
Unfortunately, after that change, I still cannot watch this video,
on my Android phone.

According to this comment:
I need to update ffmpeg build files as well. Any idea what type of changes I need to make on the ffmpeg build files?

The following is the Video Acceleration Info on my Android tablet, which I got from chrome://gpu:

According to this, Video Acceleration is enabled.

This link, https://www.youtube.com/html5, tells me "MSE & H 264" is not supported:



Please shed some light on how to resolve this issue.

Thanks!!!

Debin
Reply all
Reply to author
Forward
0 new messages