Hi Chris and Marco,
As far as I know, there is a MPEG2TS demuxer in Android's
MediaExtractor. So if we plan to port this MediaExtractor to B2G
(discuss recently for mp4 reader), then B2G can demux it.
Blake Wu
於 2014/4/1 下午1:49, Marco Chen 提到:
Hi Chris,
Yes, that is an option and the comment on the bug also mentioned it.
https://bugzilla.mozilla.org/show_bug.cgi?id=577084#c15
> I don't know much about MPEG-TS or HLS. Someone would need to
> investigate whether a solution using JS libraries like the above
would work.
Yes, Gary Chen on the cc list is a Gaia developer and he will
investigate how to apply HLS on content layer.
By the way, just to add a possible option.
If we have enough resource to support MPEG2-TS de-muxer in Gecko then
what else blocks this option?
Thanks.
------------------------------------------------------------------------
*寄 件者: *"Chris Pearce" <[email protected]>
*收件者: *"Marco Chen" <[email protected]>,
[email protected]
*副本: *"Blake Wu" <[email protected]>, "Evelyn Hung"
<[email protected]>, "Eric Chou" <[email protected]>, "Gary Chen"
<[email protected]>
*寄件備份: *2014 4 月 1 星期二 下午 12:22:37
*主旨: *Re: HLS support on B2G (Bug 577084 )
Can partners use JS libraries like https://github.com/RReverser/mpegts
to convert MPEG-TS into MP4, for playback via MSE?
If so, we would not need to implement anything we're not already
planning to implement.
I don't know much about MPEG-TS or HLS. Someone would need to
investigate whether a solution using JS libraries like the above would
work.
Chris P.
On 4/1/2014 4:07 PM, Marco Chen wrote:
> (move from small group to public channel)
>
> Hi all,
>
> Why:
> 1. The team belonged to stream 3 tried to bring more device
categories into Web Platform (FxOS) and candidates like TV/Set-Top
Box/chromecast need HLS to enrich their contents.
> 2. Mozilla is on going to support MPEG-Dash (public standard) but in
the current market, there are still many content providers used HLS.
>
> How:
> 1. Thanks for the MSE, the rough idea is to implement HLS protocol
on top of MSE. (Thanks for the consultant from Chris Double)
> 2. According to HLS using MPEG2-TS, we may consider to support
MPEG2-TS de-muxer in Gecko or transform to MP4 container on content layer.
> 3. The PlatformDecoderModule on FxOS can support H.264 & AAC.
>
> What:
> 1. FxOS can support HLS and the device categories which relied on
application of streaming video can jump in without this gap.
>
> ------------------------------------------------
>
> One question is on the "How - 2".
> Do FxOS support MPEG2-TS de-muxer in Gecko or transform to fragment
MP4 format?
>
> May I know any suggestion? And also welcome for any feedback.
>
> Sincerely yours.
>
> ----- 原始郵件 -----
>
> 寄件者: "Chris Double" <[email protected]>
> 收件者: "CJ Ku" <[email protected]>
> 副本: "Matthew Gregan" <[email protected]>, "Taiwan Engineer
Managers" <[email protected]>, "Vincent Chang"
<[email protected]>, "Robert O'Callahan" <[email protected]>,
"James Ho" <[email protected]>
> 寄件備份: 2014 3 月 17 星期一 下午 10:33:44
> 主旨: Re: HLS support on B2G
>
> DASH can be done at the application side using MSE. There are
> JavaScript libraries for this available already. They work, with some
> limitations, in Firefox nightly with MSE enabled. For example;
>
> <http://cd.pn/mse/webm/dash-player.html>
>
> Our implementation is still incomplete though so there is still work
to be done.
>
> I don't know much about HLS myself but the MSE spec implies that HLS
> could be implemented in JS. I don't see any available libraries around
> for doing this though so I cannot say for certain. I would recommend
> the DASH approach since there are libraries for it and support is in
> Chrome and Internet Explorer 11 with Gecko based browsers coming soon.
>
> Matthew may be able to comment more on the HLS case but he is
> currently on leave so will probably not be able to immediately
> respond.
>
> On Mon, Mar 17, 2014 at 10:47 PM, CJ Ku <[email protected]> wrote:
>> Hi Matthew/ Chris,
>> We got a request from vendor to have HLS support on B2G device. My
understanding is, With MSE(Media source extension) support, DASH or
HLS(HTTP live stream) can be done at application(js) side. Since you
are definitely more familiar with MSE than I, may I have your opinion
here? Thanks.
>>
>> ----- 原始郵件 -----
>>> 寄件者: "James Ho" <[email protected]>
>>> 收件者: "Taiwan Engineer Managers" <[email protected]>,
"Vincent Chang" <[email protected]>
>>> 寄件備份: 2014 3 月 17 星期一 下午 12:44:39
>>> 主旨: two questions re streaming protocol support
>>>
>>> 2 simple questions.. perhaps Vincent or CJ can answer?
>>>
>>> * What kind of streaming protocols does FxOS support today?
>>>
>>> * Does FxOS support HTTP Living Streaming (m3u8)?
>>>
>>> --
>>> James Ho
>>> Senior Director of Mobile Devices
>>> Mozilla Corporation
>>>
>>>
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media