Giter Site home page Giter Site logo

While playing Widevine-DASH videos on certain devices with the MediaTek 'Dimensity' chipset, executing the 'seekTo' action often results in the player encountering "errorCode=ERROR_CODE_DECODING_FAILED". about media HOT 8 OPEN

myvideotom avatar myvideotom commented on July 20, 2024
While playing Widevine-DASH videos on certain devices with the MediaTek 'Dimensity' chipset, executing the 'seekTo' action often results in the player encountering "errorCode=ERROR_CODE_DECODING_FAILED".

from media.

Comments (8)

microkatz avatar microkatz commented on July 20, 2024 1

Hello @myvideotom,

Thank you for reporting your issue. We will need the bug report for this issue so if you can please send the full report to [email protected] then that would be great.

from media.

myvideotom avatar myvideotom commented on July 20, 2024

log.txt
7:59:28.079 I [sendFeedbackInfo:L303] send:MM_FB_EventID#21001#ClientPid#31072#ReportLevel#0#timeUsage#16#videoComponent#c2.mtk.avc.decoder.secure#videoHeight#1080#videoMime#video/avc#videoWidth#1920
17:59:28.079 D setEvent event:atlas_event_atlasserver_feedback
17:59:28.081 D ~OplusCCodec [137]: (0x7ea3f59700)
17:59:28.081 D setEvent event:atlas_event_video_monitor_network_switch
17:59:28.082 D initiateShutdown [393]: (0x7ea3f5b4c0) keepComponentAllocated=0
17:59:28.082 D [c2.android.aac.decoder#631] MediaCodec discarded an unknown buffer
17:59:28.082 D videoDecoderReleased [eventTime=17.98, mediaPos=1283.09, window=0, period=0, c2.mtk.avc.decoder.secure]
17:59:28.082 D [c2.android.aac.decoder#631] MediaCodec discarded an unknown buffer
17:59:28.082 D [c2.android.aac.decoder#631] MediaCodec discarded an unknown buffer
17:59:28.082 D [c2.android.aac.decoder#631] MediaCodec discarded an unknown buffer
17:59:28.084 I onLastStrongRef automatically unlinking death recipients
17:59:28.085 D bufferpool2 0x7e396a9e28 : 0(0 size) total buffers - 0(0 size) used buffers - 0/4 (recycle/alloc) - 4/510 (fetch/transfer)
17:59:28.086 D ~OplusCCodec [137]: (0x7ea3f5b4c0)
17:59:28.087 D audioDecoderReleased [eventTime=17.98, mediaPos=1283.09, window=0, period=0, c2.android.aac.decoder]
17:59:28.104 E playerFailed [eventTime=17.99, mediaPos=1283.09, window=0, period=0, errorCode=ERROR_CODE_DECODING_FAILED
androidx.media3.exoplayer.ExoPlaybackException: MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/avc, avc1.4D4029, 7481447, null, [1920, 1080, -1.0], [-1, -1]), format_supported=YES
at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:586)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:233)
at android.os.Looper.loop(Looper.java:344)
at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: androidx.media3.exoplayer.video.MediaCodecVideoDecoderException: Decoder failed: c2.mtk.avc.decoder.secure
at androidx.media3.exoplayer.video.MediaCodecVideoRenderer.createDecoderException(MediaCodecVideoRenderer.java:1642)
at androidx.media3.exoplayer.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:805)
at androidx.media3.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:1015)
at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:510)
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loopOnce(Looper.java:233) 
at android.os.Looper.loop(Looper.java:344) 
at android.os.HandlerThread.run(HandlerThread.java:67) 
Caused by: android.media.MediaCodec$CodecException: Error 0x80000000
]
17:59:28.106 D loading [eventTime=18.00, mediaPos=1283.09, window=0, period=0, false]

from media.

myvideotom avatar myvideotom commented on July 20, 2024

I have sent an email to [email protected].

from media.

myvideotom avatar myvideotom commented on July 20, 2024

hi microkatz,

  • Additional information: The original video format is converted from Smooth Streaming format to Dash format(on-the-fly)
  • May I ask why the flags do not include BundledChunkExtractor.java\createProgressiveMediaExtractor\FragmentedMp4Extractor.FLAG_WORKAROUND_EVERY_VIDEO_FRAME_IS_SYNC_FRAME?
    image

from media.

myvideotom avatar myvideotom commented on July 20, 2024

from media.

rrfrias avatar rrfrias commented on July 20, 2024

@myvideotom, we are trying to reproduce this. Do we have your permission to share the logs you sent to [email protected] with MediaTek? (Internal ref: 324096412)

from media.

myvideotom avatar myvideotom commented on July 20, 2024

@rrfrias ,
Absolutely, you have my permission to share the logs with MediaTek. Please keep me informed if the Widevine token expires, and I will promptly provide a new one.

from media.

rrfrias avatar rrfrias commented on July 20, 2024

Thanks I have shared it with MediaTek. Will work with them to reproduce.

from media.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.