question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

D/MediaCodecInfo: NoSupport [sizeAndRate.support, 1920x1080x-1.0]

See original GitHub issue

Currently trying to play HLS media that is not DRM protected is showing a lot of stutter and the playback is extremely choppy, I cannot give a test link because authentication headers need to be passed in order to get working playlist links. The debug log shows the following

W/AudioCapabilities: Unsupported mime audio/dtshd
W/AudioCapabilities: Unsupported mime audio/ffmpeg
W/VideoCapabilities: Unsupported mime video/x-vnd.on2.vp6a
W/VideoCapabilities: Unsupported mime video/x-vnd.on2.vp6f
W/VideoCapabilities: Unsupported mime video/avs
W/VideoCapabilities: Unrecognized profile 4 for video/hevc
W/VideoCapabilities: Unsupported mime video/mjpeg
W/VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
I/VideoCapabilities: Unsupported profile 2 for video/mpeg2
I/VideoCapabilities: Unsupported profile 3 for video/mpeg2
    Unsupported profile 4 for video/mpeg2
    Unsupported profile 5 for video/mpeg2
I/VideoCapabilities: Unsupported profile 2 for video/mp4v-es
    Unsupported profile 4 for video/mp4v-es
    Unsupported profile 8 for video/mp4v-es
I/VideoCapabilities: Unsupported profile 16 for video/mp4v-es
    Unsupported profile 32 for video/mp4v-es
    Unsupported profile 64 for video/mp4v-es
I/VideoCapabilities: Unsupported profile 128 for video/mp4v-es
    Unsupported profile 256 for video/mp4v-es
    Unsupported profile 512 for video/mp4v-es
I/VideoCapabilities: Unsupported profile 1024 for video/mp4v-es
    Unsupported profile 2048 for video/mp4v-es
    Unsupported profile 4096 for video/mp4v-es
I/VideoCapabilities: Unsupported profile 8192 for video/mp4v-es
    Unsupported profile 16384 for video/mp4v-es
W/VideoCapabilities: Unsupported mime video/rm10
W/VideoCapabilities: Unsupported mime video/rm20
W/VideoCapabilities: Unsupported mime video/rm30
W/VideoCapabilities: Unsupported mime video/rm40
W/VideoCapabilities: Unsupported mime video/vc1
W/Utils: could not parse long range '1-'
W/VideoCapabilities: Unrecognized level 16 for video/x-vnd.on2.vp8
W/VideoCapabilities: Unrecognized level 32 for video/x-vnd.on2.vp8
    Unrecognized level 64 for video/x-vnd.on2.vp8
    Unrecognized level 128 for video/x-vnd.on2.vp8
W/VideoCapabilities: Unrecognized level 256 for video/x-vnd.on2.vp8
    Unrecognized level 512 for video/x-vnd.on2.vp8
    Unrecognized level 1024 for video/x-vnd.on2.vp8
    Unrecognized level 2048 for video/x-vnd.on2.vp8
    Unrecognized level 4096 for video/x-vnd.on2.vp8
W/VideoCapabilities: Unrecognized level 8192 for video/x-vnd.on2.vp8
    Unrecognized level 16384 for video/x-vnd.on2.vp8
    Unrecognized level 32768 for video/x-vnd.on2.vp8
W/VideoCapabilities: Unsupported mime video/wmv3
W/VideoCapabilities: Unsupported mime video/wmv1
W/VideoCapabilities: Unsupported mime video/wmv2
W/VideoCapabilities: Unsupported mime video/x-ms-wmv
W/VideoCapabilities: Unsupported mime video/wvc1
W/Utils: could not parse long range '1-'
I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es
D/MediaCodecInfo: NoSupport [sizeAndRate.support, 1920x1080x-1.0] [OMX.google.h264.decoder, video/avc] [aquaman, MiTV-AESP0, Xiaomi, 28]
D/MediaCodecInfo: NoSupport [sizeAndRate.support, 1920x1080x-1.0] [OMX.google.h264.decoder, video/avc] [aquaman, MiTV-AESP0, Xiaomi, 28]
I/OMXClient: IOmx service obtained
I/AmAVUtils: AmAVUtils::getComponentRole isEncoder :0 mime:audio/mp4a-latm 
V/AVUtils: AVUtils::getComponentRole
I/AmAVUtils: AmAVUtils::isAudioExtendFormat input = audio/mp4a-latm
I/ACodec: codec does not support config priority (err -2147483648)
I/ACodec: codec does not support config operating rate (err -2147483648)
I/OMXClient: IOmx service obtained
D/SurfaceUtils: connecting to surface 0xd3b8d808, reason connectToSurface
I/MediaCodec: [OMX.amlogic.avc.decoder.awesome] setting surface generation to 15429633
D/SurfaceUtils: disconnecting from surface 0xd3b8d808, reason connectToSurface(reconnect)
D/SurfaceUtils: connecting to surface 0xd3b8d808, reason connectToSurface(reconnect)
I/AmAVUtils: AmAVUtils::getComponentRole isEncoder :0 mime:video/avc 
V/AVUtils: AVUtils::getComponentRole

I’m guessing these are the 2 most important lines from the searches I have made

D/MediaCodecInfo: NoSupport [sizeAndRate.support, 1920x1080x-1.0] [OMX.google.h264.decoder, video/avc] [aquaman, MiTV-AESP0, Xiaomi, 28]
D/MediaCodecInfo: NoSupport [sizeAndRate.support, 1920x1080x-1.0] [OMX.google.h264.decoder, video/avc] [aquaman, MiTV-AESP0, Xiaomi, 28]

Is there no workaround for the media codec not being supported? Does this have to be encoded to another format? The device is a xiaomi android TV stick running android TV 9.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
christostscommented, Mar 5, 2021

Hi @Eliasdevlb. Thank you for sharing the content. I played it directly on a few devices (local playback) to see how each device’s decoder would perform. I did not see any issue. From the data we’ve collected so far, it looks like this is an issue with the specific device and content and not something related to ExoPlayer.

You could try some of the experimental optimizations I mentioned in this comment above, but if it’s the underlying decoder not being able to decode the stream fast enough, there’s not much ExoPlayer can do.

0reactions
Eliasdevlbcommented, Mar 2, 2021

I’ve sent an email about this subject.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to play MKV Matroska video with exoPlayer 2.11
Show how should i play MKV video using exoplayer. All files are local files from storage. I even tried following method: private MediaSource ......
Read more >
MediaCodecInfo - Android Developers
getCodecCount(); for (int i = 0; i < numCodecs; i++) { MediaCodecInfo codecInfo = MediaCodecList.getCodecInfoAt(i); if (!codecInfo.isEncoder()) { continue ...
Read more >
com.google.android.exoplayer2.mediacodec.MediaCodecInfo ...
Returns an upper bound on the maximum number of supported instances, or {@link * #MAX_SUPPORTED_INSTANCES_UNKNOWN} if unknown.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found