Skip to main content

Topic: audio tag/format support (Read 42 times)

  • mihau
  • [*]
audio tag/format support
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
  • Last Edit: 2017-09-08, 16:43:23 by mihau

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: audio tag/format support
Reply #1
@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.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.

  • mihau
  • [*]
Re: audio tag/format support
Reply #2
@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

  • Emdek
  • [*][*][*][*][*]
  • Moderator
Re: audio tag/format support
Reply #3
@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.
Nadszedł już czas, najwyższy czas, nienawiść zniszczyć w sobie.
The time has come, the high time, to destroy hatred in oneself.