Video decoder or demuxer had an error with the content

In the web sdk both in PWA and web

{"code":3,"mediaError":"MEDIA_ERR_DECODE","message":"PIPELINE_ERROR_DECODE: Failed to send audio packet for decoding: {timestamp=2298775 duration=23219 size=7956 is_key_frame=1 encrypted=0}"}


widevine: {
          LA_URL: '',
          mediaKeySystemConfig: {
            persistentState: 'required',
          headers: widevineHeaders,
        playready: {
          LA_URL: '',
          headers: playreadyHeaders,
        fairplay: {
          LA_URL: '',
          // FairPlay certificate. Required for iOS.
          headers: fairplayHeaders,
          prepareContentId: function (cId) {
            return cId.substring(cId.indexOf('skd://') + 6);
          prepareCertificate: function (rawResponse) {
            var responseText = String.fromCharCode.apply(
              new Uint8Array(rawResponse) as any,
            var raw = window.atob(responseText);
            var rawLength = raw.length;
            var certificate = new Uint8Array(new ArrayBuffer(rawLength));

            for (var i = 0; i < rawLength; i++)
              certificate[i] = raw.charCodeAt(i);

            return certificate;
          useUint16InitData: true,

cURL of that socket error:

curl '' \
  -H 'authority:' \
  -H 'accept: */*' \
  -H 'accept-language: en-US,en;q=0.9' \
  -H 'origin:' \
  -H 'referer:' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-site: same-site' \
  -H 'user-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1' \

Dear @developer , thanks for sharing this issue. Details about MEDIA_ERR_DECODE/PLAYBACK_VIDEO_DECODING_ERROR can be found at PLAYBACK_VIDEO_DECODING_ERROR | Bitmovin Player API 8.129.0. This error could occur due to different reasons, most common being incompatible audio/video codec configuration with the platform.

Since DRM is involved, it could also be related to incorrect content key leading to incorrectly decrypted audio/video data. Can you please share following additional information to help us support you with this behaviour.

  • Which browser(Chrome/Edge/Safari) is the issue observed on?
  • Is it observed on all 3 browsers? Does playback work on any browser?
  • Which version of player SDK are you using?
  • Can you share a test player page where we can replicate the issue?
  • If not, then can you provide source configuration(including DRM configurations headers) for us to replicate this behaviour?

As the complete configuration could be confidential information, it would be better if you can create a support ticket and provide the required information in there. Thanks for your understanding.

Have found the issue. That was a problem with our older urls.

To fix this, we have deprecated such videos

Thanks for the update, glad that you found the issue.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.