Media Stream Extensions and MP4

531 views
Skip to first unread message

Stefano Sabatini

unread,
Dec 11, 2014, 6:20:34 AM12/11/14
to chromiu...@chromium.org
Hi all,

I'm digging hard trying to find if MP4 is supported in chromium/chrome.

Version used: Version 34.0.1847.116 Built on Ubuntu 13.10, running on LinuxMint 16 (260972)

I'm trying to write an application working with MP4/H.264 video and Media Stream Extensions (MSE).

MSE is not supported by Firefox, so I had to rely on Chromium.

I'm trying this demo:
http://maccyd10.hostoi.com/

based on:
http://html5-demos.appspot.com/static/media-source.html

The demo is working fine with the webm file, but not with MP4.

I get this error in the stream (chrome:media-internals):
chrome:media-internals => Skipping unrecognized top-level box: mdat

I tried several combinations with the used MP4, but cannot get anything to work correctly.

My questions.

Is MSE with MP4/H.264 supported in current chomium/chrome? Can anyone get this demo:
http://maccyd10.hostoi.com/
work with MP4?

Can you recommend any resource detailing the exact format the MP4 file must have, and what tools can be used to generate the file in the required format?

Unfortunately I couldn't find any relevant resources after hours of research.

Thank you in advance.

Walter Wang

unread,
Dec 13, 2014, 1:31:45 PM12/13/14
to chromiu...@chromium.org
The webm demo works on my Chrome, but MP4 doesn't.

Shachar Zohar

unread,
Dec 14, 2014, 2:59:54 AM12/14/14
to chromiu...@chromium.org
By Media stream you mean Media source, right?
Anyway, Chrome supports mp4/webm and firefox nightly also supports, but there are still some bugs you can follow here: https://bugzilla.mozilla.org/show_bug.cgi?id=778617
As for demos, looks like the maccyd10 demo is broken, there are these though:

Matthew Wolenetz

unread,
Mar 26, 2015, 4:38:01 PM3/26/15
to Shachar Zohar, chromiu...@chromium.org
Are you still having difficulty? Chrome supports mp4/webm. MSE-compliant mp4 byte streams are a constrained subset of mp4 streams. They must be fragmented, for instance, and cannot contain absolute frame references, etc.
If you believe you have found a chromium bug related to MSE, please file one labeled Cr-Internals-Media-Source at https://crbug.com

Matt

--
You received this message because you are subscribed to the Google Groups "Chromium HTML5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-html...@chromium.org.
To post to this group, send email to chromiu...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-html5/.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Reply all
Reply to author
Forward
0 new messages