The DnD Sanctuary

Pings => Otter Browser Forum => Topic started by: mihau on 2017-09-08, 16:27:09

Title: audio tag/format support
Post by: mihau on 2017-09-08, 16:27:09
is there a list of supported codecs by QtWebKit, depending on the OS?

I noticed that a simple audio tag with audio/mpeg (mp3) doesn't play on Win 7 x64, even with a fresh profile.

found this, but I'm not sure where Otter or Qt stands:
https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats#Browser_compatibility
Title: Re: audio tag/format support
Post by: Emdek on 2017-09-08, 17:02:57
@mihau, this should apply to standard (MSVC) builds, they use WMF:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd757927(v=vs.85).aspx
XP build uses GStreamer and bundles codecs, AFAIR it doesn't support MP3 at the moment.
Title: Re: audio tag/format support
Post by: mihau on 2017-09-08, 17:29:33
@mihau, this should apply to standard (MSVC) builds, they use WMF:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd757927(v=vs.85).aspx
XP build uses GStreamer and bundles codecs, AFAIR it doesn't support MP3 at the moment.
hm, does this mean that it should technically play mp3 on standard Win 7 x64 installations?

actually, I noticed even the ogg fallback doesn't work here, e.g. the one from (which even plays in Opera 12.x ;-) )
https://html5tutorial.info/html5-audio.php

http://www.jplayer.org/HTML5.Audio.Support/ is all red, too
Title: Re: audio tag/format support
Post by: Emdek on 2017-09-08, 17:53:15
@mihau, well, it's theory, but this is Windows. ;-)
But in fact only Windows 10 is fully usable, maybe 8 / 8.1 too.
OGG won't work, MS doesn't support formats that are competition to proprietary ones, perhaps it was part of the licensing deal. ;-)

Try build for XP, I would experiment with GStreamer support for MSVC but I don't have setup that allows to build QtWebKit with that compiler...
With proper combination of codecs we can have a fully legal setup that plays H264 too, using OpenH264, and patents for MP3 already expired.