[wpe-webkit] WPE support for mp3

Harish Kulkarni harishvk27 at gmail.com
Wed Mar 9 21:13:40 PST 2022


Thanks, we are on WPE 2.22.

We tried mp3 content, it looks like MSE draft 10 version doesn't support
plain mp3.

-thanks
harish


On Fri, Mar 4, 2022 at 4:05 PM Enrique Ocaña González <eocanha at igalia.com>
wrote:

> El jueves, 3 de marzo de 2022 23:10:29 (CET) Patrick Griffis escribió:
>
> > > Does WPE WebKit support playing mp3 content?. Or mp3 has to be encoded
> > > inside mp4 for playing mp3 on WPE WebKit?.
> > I believe it supported you will just need the GStreamer elements for it
> > installed.
> >
> > This could be gst-libav (which uses ffmpeg) or the mpg123 element which
> > is in gst-plugins-good.
>
> MP3 audio files work on WebKitGTK (I've just checked it by myself here),
> so
> they should also work fine on WPE because both share the same multimedia
> stack
> implementation. You can do it like this (also works by using <video>):
>
> <audio controls autoplay src="http://hestia2.cdnstream.com/1277_192"
> type="audio/mpeg" />
>
> On top of that, since https://bugs.webkit.org/show_bug.cgi?id=210341,
> feeding
> MP3 content to a SourceBuffer (in sequence mode) using Media Source
> Extensions
> also works.
>
> Of course, as Patrick commented, you need to have the appropriate
> GStreamer
> plugins installed in order to decode MP3.
>
> Cheers.
>
> --
> Enrique Ocaña
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> webkit-wpe mailing list      (webkit-wpe at lists.webkit.org)
> Help/Unsubscribe/Update your Subscription:
> https://lists.webkit.org/mailman//listinfo/webkit-wpe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-wpe/attachments/20220310/78e0a850/attachment.htm>


More information about the webkit-wpe mailing list