mpp icon indicating copy to clipboard operation
mpp copied to clipboard

rk3588 - broken hevc hardware decoding with android MediaCodec API

Open zerorating opened this issue 2 years ago • 8 comments

Not sure if this is duplicated case, we are seeing green artifacts when decoding hevc source (encoded with x265 encoder - main10 profile) with Android MediaCodec API (media player: kodi/vlc). codec: c2.rk.hevc.decoder called process: [email protected]

some discussion: https://forum.radxa.com/t/x265-decoding-broken-on-android-green-screen/14000

The issue doesnt seems to be persisting on rockchip API(rockchip media player, mx-player), though the number of video player utilizing it is limited

hardware used: radxa rock5, may persist on orange pi 5 PCaf8ie

kodi log:

2023-02-20 04:52:34.750 T:8508 info : Loading player core factory settings from special://masterprofile/playercorefactory.xml. 2023-02-20 04:52:34.750 T:8508 info : special://masterprofile/playercorefactory.xml does not exist. Skipping. 2023-02-20 04:52:34.750 T:8508 info : removing tempfiles 2023-02-20 04:52:34.757 T:8508 info : initialize done 2023-02-20 04:52:34.757 T:8508 info : Running the application... 2023-02-20 04:52:34.759 T:8508 info : starting zeroconf publishing 2023-02-20 04:52:34.760 T:8538 info : ES: Starting UDP Event server on port 9777 2023-02-20 04:52:34.760 T:8538 info : UDP: Listening on port 9777 (ipv6 : false) 2023-02-20 04:52:34.761 T:8508 info : JSONRPC Server: Successfully initialized 2023-02-20 04:52:35.443 T:8537 info : ZeroconfAndroid: Kodi ([unknown]). now registered and active 2023-02-20 04:52:39.005 T:8532 info : Skipped 1 duplicate messages.. 2023-02-20 04:52:39.005 T:8532 error : DoWork - Direct texture file loading failed for androidapp://sources/apps/de.prosiebensat1digital.seventv.png 2023-02-20 04:52:40.199 T:8508 info : Loading skin file: MyVideoNav.xml, load type: KEEP_IN_MEMORY 2023-02-20 04:52:47.393 T:8508 info : VideoPlayer::OpenFile: /storage/7607-10CF/test.mp4 2023-02-20 04:52:47.394 T:8556 info : Creating InputStream 2023-02-20 04:52:47.420 T:8556 info : Creating Demuxer 2023-02-20 04:52:47.514 T:8556 info : Opening stream: 0 source: 256 2023-02-20 04:52:47.514 T:8556 info : Creating video codec with codec id: 173 2023-02-20 04:52:47.514 T:8556 info : CBitstreamConverter::Open bitstream to annexb init 2023-02-20 04:52:47.515 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.android.aac.decoder 2023-02-20 04:52:47.515 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.android.amrnb.decoder 2023-02-20 04:52:47.515 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.android.amrwb.decoder 2023-02-20 04:52:47.515 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.android.flac.decoder 2023-02-20 04:52:47.515 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.android.g711.alaw.decoder 2023-02-20 04:52:47.515 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.android.g711.mlaw.decoder 2023-02-20 04:52:47.515 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.android.mp3.decoder 2023-02-20 04:52:47.515 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.android.opus.decoder 2023-02-20 04:52:47.515 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.android.raw.decoder 2023-02-20 04:52:47.515 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.android.vorbis.decoder 2023-02-20 04:52:47.515 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.rk.av1.decoder 2023-02-20 04:52:47.515 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.rk.avc.decoder 2023-02-20 04:52:47.515 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.rk.h263.decoder 2023-02-20 04:52:47.516 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Testing codec: c2.rk.hevc.decoder 2023-02-20 04:52:47.544 T:8556 info : CDVDVideoCodecAndroidMediaCodec::Open Using codec: c2.rk.hevc.decoder 2023-02-20 04:52:47.544 T:8556 info : Creating video thread 2023-02-20 04:52:47.545 T:8556 info : Opening stream: 1 source: 256 2023-02-20 04:52:47.545 T:8556 info : Finding audio codec for: 86018 2023-02-20 04:52:47.545 T:8556 info : CDVDAudioCodecAndroidMediaCodec::Open() Use default handling for non encrypted stream 2023-02-20 04:52:47.546 T:8556 info : CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac 2023-02-20 04:52:47.546 T:8556 info : OpenStream: Allowing max Out-Of-Sync Value of 10 ms 2023-02-20 04:52:47.546 T:8556 info : Creating audio thread 2023-02-20 04:52:47.546 T:8565 info : running thread: video_thread 2023-02-20 04:52:47.549 T:8568 info : running thread: CVideoPlayerAudio::Process() 2023-02-20 04:52:47.550 T:8568 info : Creating audio stream (codec id: 86018, channels: 6, sample rate: 48000, no pass-through) 2023-02-20 04:52:47.551 T:8519 info : CActiveAESink::OpenSink - initialize sink 2023-02-20 04:52:47.553 T:8519 info : Trying to open: samplerate: 48000, channelMask: 12, encoding: 4 2023-02-20 04:52:47.553 T:8519 info : Minimum size we need for stream: 30784 Bytes 2023-02-20 04:52:47.553 T:8519 info : Audiotrack buffer params are: period time = 40.083 ms, period size = 15392 bytes, num periods = 4 2023-02-20 04:52:47.553 T:8519 info : Created Audiotrackbuffer with playing time of 160.333333 ms min buffer size: 61568 bytes 2023-02-20 04:52:47.558 T:8519 info : CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 48000 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 61568 m_frames: 1924 m_frameSize: 8 channels: 2 2023-02-20 04:52:47.621 T:8508 info : Instancing CRendererMediaCodecSurface 2023-02-20 04:52:47.621 T:8508 info : CRendererMediaCodecSurface::Configure 2023-02-20 04:52:47.646 T:8508 info : Loading skin file: VideoFullScreen.xml, load type: KEEP_IN_MEMORY 2023-02-20 04:52:53.568 T:8508 error : CMediaCodecVideoBuffer::ReleaseOutputBuffer error in render(false) 2023-02-20 04:52:55.576 T:8565 info : Skipped 2 duplicate messages.. 2023-02-20 04:52:55.576 T:8565 warning : OutputPicture - timeout waiting for buffer 2023-02-20 04:52:55.579 T:8565 error : CMediaCodecVideoBuffer::ReleaseOutputBuffer error in render(false) 2023-02-20 04:52:57.173 T:8565 info : Skipped 2 duplicate messages.. 2023-02-20 04:52:57.173 T:8565 warning : OutputPicture - timeout waiting for buffer 2023-02-20 04:52:57.178 T:8565 error : CMediaCodecVideoBuffer::ReleaseOutputBuffer error in render(false) 2023-02-20 04:53:17.631 T:8568 info : Skipped 2 duplicate messages.. 2023-02-20 04:53:17.631 T:8568 info : ProcessDecoderOutput: Changed max allowed Out-Of-Sync value to 100 ms due self-learning 2023-02-20 04:53:25.137 T:8508 info : Loading skin file: DialogButtonMenu.xml, load type: KEEP_IN_MEMORY 2023-02-20 04:53:27.482 T:8532 error : DoWork - Direct texture file loading failed for androidapp://sources/apps/de.prosiebensat1digital.seventv.png 2023-02-20 04:53:31.652 T:8508 info : Loading skin file: VideoOSD.xml, load type: KEEP_IN_MEMORY 2023-02-20 04:53:33.037 T:8508 info : CVideoPlayer::CloseFile() 2023-02-20 04:53:33.038 T:8508 info : VideoPlayer: waiting for threads to exit 2023-02-20 04:53:33.041 T:8556 info : CVideoPlayer::OnExit() 2023-02-20 04:53:33.042 T:8556 info : Closing stream player 1 2023-02-20 04:53:33.042 T:8556 info : Waiting for audio thread to exit 2023-02-20 04:53:33.050 T:8568 info : thread end: CVideoPlayerAudio::OnExit() 2023-02-20 04:53:33.050 T:8556 info : Closing audio device 2023-02-20 04:53:33.072 T:8556 info : Deleting audio codec 2023-02-20 04:53:33.073 T:8556 info : Closing stream player 2 2023-02-20 04:53:33.073 T:8556 info : waiting for video thread to exit 2023-02-20 04:53:33.073 T:8519 info : CActiveAESink::OpenSink - initialize sink 2023-02-20 04:53:33.076 T:8519 info : Trying to open: samplerate: 44100, channelMask: 12, encoding: 4 2023-02-20 04:53:33.076 T:8519 info : Minimum size we need for stream: 28352 Bytes 2023-02-20 04:53:33.076 T:8519 info : Audiotrack buffer params are: period time = 40.181 ms, period size = 14176 bytes, num periods = 4 2023-02-20 04:53:33.076 T:8519 info : Created Audiotrackbuffer with playing time of 160.725624 ms min buffer size: 56704 bytes 2023-02-20 04:53:33.077 T:8565 warning : OutputPicture - timeout waiting for buffer 2023-02-20 04:53:33.077 T:8565 info : thread end: video_thread 2023-02-20 04:53:33.078 T:8556 info : deleting video codec 2023-02-20 04:53:33.080 T:8519 info : CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 56704 m_frames: 1772 m_frameSize: 8 channels: 2 2023-02-20 04:53:33.091 T:8508 info : VideoPlayer: finished waiting 2023-02-20 04:53:33.092 T:8508 info : CVideoPlayer::CloseFile() 2023-02-20 04:53:33.092 T:8508 info : VideoPlayer: waiting for threads to exit 2023-02-20 04:53:33.092 T:8508 info : VideoPlayer: finished waiting 2023-02-20 04:53:33.096 T:8529 info : Deleting settings information for files /storage/7607-10CF/test.mp4 2023-02-20 04:53:33.135 T:8508 error : Control 803 in window 10000 has been asked to focus, but it can't

CCodec log: 02-20 04:30:03.107 5249 5326 D CCodec : allocate(c2.rk.hevc.decoder) 02-20 04:30:03.108 5249 5326 I CCodec : setting up 'default' as default (vendor) store 02-20 04:30:03.110 5249 5326 I CCodec : Created component [c2.rk.hevc.decoder] 02-20 04:30:03.111 5249 5326 D CCodecConfig: read media type: video/hevc 02-20 04:30:03.112 5249 5326 D CCodecConfig: ignoring local param raw.size (0xd2001800) as it is already supported 02-20 04:30:03.112 5249 5326 D CCodecConfig: ignoring local param default.color (0x5200180b) as it is already supported 02-20 04:30:03.112 5249 5326 I CCodecConfig: query failed after returning 12 values (BAD_INDEX) 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2 config diff is Dict { 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 algo.low-latency.value = 0 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 coded.pl.level = 24584 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 coded.pl.profile = 24576 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 coded.vui.color.matrix = 0 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 coded.vui.color.primaries = 0 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 coded.vui.color.range = 2 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 coded.vui.color.transfer = 0 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 default.color.matrix = 0 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 default.color.primaries = 0 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 default.color.range = 0 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 default.color.transfer = 0 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 input.buffers.max-size.value = 2097152 02-20 04:30:03.112 5249 5326 D CCodecConfig: string input.media-type.value = "video/hevc" 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 output.delay.value = 16 02-20 04:30:03.112 5249 5326 D CCodecConfig: string output.media-type.value = "video/raw" 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 raw.color.matrix = 0 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 raw.color.primaries = 0 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 raw.color.range = 2 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 raw.color.transfer = 0 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 raw.max-size.height = 240 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 raw.max-size.width = 320 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 raw.pixel-format.value = 35 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::i32 raw.rotation.flip = 0 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::i32 raw.rotation.value = 0 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 raw.sar.height = 1 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 raw.sar.width = 1 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 raw.size.height = 240 02-20 04:30:03.112 5249 5326 D CCodecConfig: c2::u32 raw.size.width = 32 02-20 04:30:03.126 5249 5326 D CCodec : [c2.rk.hevc.decoder] buffers are bound to CCodec for this session 02-20 04:30:03.126 5249 5326 D CCodecConfig: no c2 equivalents for feature-tunneled-playback 02-20 04:30:03.126 5249 5326 D CCodecConfig: no c2 equivalents for native-window 02-20 04:30:03.126 5249 5326 D CCodecConfig: no c2 equivalents for flags 02-20 04:30:03.126 5249 5326 D CCodecConfig: config failed => CORRUPTED 02-20 04:30:03.126 5249 5326 D CCodecConfig: c2 config diff is c2::u32 default.color.range = 1 02-20 04:30:03.126 5249 5326 D CCodecConfig: c2::u32 raw.size.height = 800 02-20 04:30:03.126 5249 5326 D CCodecConfig: c2::u32 raw.size.width = 1920 02-20 04:30:03.127 5249 5326 D CCodec : setup formats input: AMessage(what = 0x00000000) = { 02-20 04:30:03.127 5249 5326 D CCodec : int32_t height = 800 02-20 04:30:03.127 5249 5326 D CCodec : int32_t level = 65536 02-20 04:30:03.127 5249 5326 D CCodec : int32_t max-input-size = 2097152 02-20 04:30:03.127 5249 5326 D CCodec : string mime = "video/hevc" 02-20 04:30:03.127 5249 5326 D CCodec : int32_t profile = 1 02-20 04:30:03.127 5249 5326 D CCodec : int32_t width = 1920 02-20 04:30:03.127 5249 5326 D CCodec : Rect crop(0, 0, 1919, 799) 02-20 04:30:03.127 5249 5326 D CCodec : } 02-20 04:30:03.127 5249 5326 D CCodec : setup formats output: AMessage(what = 0x00000000) = { 02-20 04:30:03.127 5249 5326 D CCodec : int32_t android._color-format = 2135033992 02-20 04:30:03.127 5249 5326 D CCodec : int32_t android._video-scaling = 1 02-20 04:30:03.127 5249 5326 D CCodec : int32_t rotation-degrees = 0 02-20 04:30:03.127 5249 5326 D CCodec : int32_t color-standard = 1 02-20 04:30:03.127 5249 5326 D CCodec : int32_t color-range = 2 02-20 04:30:03.127 5249 5326 D CCodec : int32_t color-transfer = 3 02-20 04:30:03.127 5249 5326 D CCodec : int32_t sar-height = 1 02-20 04:30:03.127 5249 5326 D CCodec : int32_t sar-width = 1 02-20 04:30:03.127 5249 5326 D CCodec : Rect crop(0, 0, 1919, 799) 02-20 04:30:03.127 5249 5326 D CCodec : int32_t width = 1920 02-20 04:30:03.127 5249 5326 D CCodec : int32_t height = 800 02-20 04:30:03.127 5249 5326 D CCodec : int32_t max-height = 240 02-20 04:30:03.127 5249 5326 D CCodec : int32_t max-width = 320 02-20 04:30:03.127 5249 5326 D CCodec : string mime = "video/raw" 02-20 04:30:03.127 5249 5326 D CCodec : int32_t android._dataspace = 260 02-20 04:30:03.127 5249 5326 D CCodec : int32_t color-format = 2130708361 02-20 04:30:03.127 5249 5326 D CCodec : } 02-20 04:30:03.127 5249 5326 I CCodecConfig: query failed after returning 12 values (BAD_INDEX) 02-20 04:30:03.127 5249 5326 D CCodecConfig: c2 config diff is c2::u32 raw.max-size.height = 800 02-20 04:30:03.127 5249 5326 D CCodecConfig: c2::u32 raw.max-size.width = 1920 02-20 04:30:03.131 5249 5326 D CCodecBufferChannel: [c2.rk.hevc.decoder#476] Created input block pool with allocatorID 16 => poolID 17 - OK (0) 02-20 04:30:03.131 5249 5326 D CCodecBufferChannel: [c2.rk.hevc.decoder#476] Query output surface allocator returned 0 params => BAD_INDEX (6) 02-20 04:30:03.131 5249 5326 I CCodecBufferChannel: [c2.rk.hevc.decoder#476] Created output block pool with allocatorID 18 => poolID 29 - OK 02-20 04:30:03.132 5249 5326 D CCodecBufferChannel: [c2.rk.hevc.decoder#476] Configured output block pool ids 29 => OK 02-20 04:30:03.182 5249 5326 D CCodecConfig: c2 config diff is c2::u32 raw.crop.height = 800 02-20 04:30:03.182 5249 5326 D CCodecConfig: c2::u32 raw.crop.left = 0 02-20 04:30:03.182 5249 5326 D CCodecConfig: c2::u32 raw.crop.top = 0 02-20 04:30:03.182 5249 5326 D CCodecConfig: c2::u32 raw.crop.width = 1920

H265_PARSER_REF: 02-20 04:41:43.938 539 6088 E H265_PARSER_REF: Could not find ref with POC 440 02-20 04:41:43.939 539 6088 E H265_PARSER_REF: Could not find ref with POC 438 02-20 04:41:43.939 539 6088 E H265_PARSER_REF: Could not find ref with POC 436 02-20 04:41:43.939 539 6088 E H265_PARSER_REF: Could not find ref with POC 432 02-20 04:41:49.082 539 6088 E H265_PARSER_REF: Could not find ref with POC 509 02-20 04:41:49.082 539 6088 E H265_PARSER_REF: Could not find ref with POC 508 02-20 04:41:49.082 539 6088 E H265_PARSER_REF: Could not find ref with POC 506 02-20 04:41:49.082 539 6088 E H265_PARSER_REF: Could not find ref with POC 504 02-20 04:41:52.082 539 6088 E H265_PARSER_REF: Could not find ref with POC 632 02-20 04:41:52.082 539 6088 E H265_PARSER_REF: Could not find ref with POC 631 02-20 04:41:52.082 539 6088 E H265_PARSER_REF: Could not find ref with POC 629 02-20 04:41:52.082 539 6088 E H265_PARSER_REF: Could not find ref with POC 627 02-20 04:41:57.841 539 6088 E H265_PARSER_REF: Could not find ref with POC 888 02-20 04:41:57.841 539 6088 E H265_PARSER_REF: Could not find ref with POC 887 02-20 04:41:57.841 539 6088 E H265_PARSER_REF: Could not find ref with POC 885 02-20 04:41:57.841 539 6088 E H265_PARSER_REF: Could not find ref with POC 880 02-20 04:43:23.882 539 6088 E H265_PARSER_REF: Could not find ref with POC 2917 02-20 04:43:23.882 539 6088 E H265_PARSER_REF: Could not find ref with POC 2916 02-20 04:43:23.882 539 6088 E H265_PARSER_REF: Could not find ref with POC 2914 02-20 04:43:23.882 539 6088 E H265_PARSER_REF: Could not find ref with POC 2910 02-20 04:43:25.960 539 6088 E H265_PARSER_REF: Could not find ref with POC 3026 02-20 04:43:25.960 539 6088 E H265_PARSER_REF: Could not find ref with POC 3024 02-20 04:43:25.960 539 6088 E H265_PARSER_REF: Could not find ref with POC 3022 02-20 04:43:25.960 539 6088 E H265_PARSER_REF: Could not find ref with POC 3018

mali: 02-20 04:44:55.773 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.773 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.773 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.806 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.806 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.806 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.806 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.856 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.856 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.856 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.856 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.889 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.889 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.889 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.889 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.939 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.939 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.939 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.940 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.972 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.972 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.972 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:55.973 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.022 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.022 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.023 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.023 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.056 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.056 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.056 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.056 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.106 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.106 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.106 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.106 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.274 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.274 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.274 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.274 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.306 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.306 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.306 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.306 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.356 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.356 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.356 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.356 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.389 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.389 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.389 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.390 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.439 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.439 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.439 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.439 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.472 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.473 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.473 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.473 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.522 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.523 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.523 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.523 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.556 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.556 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.556 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.556 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.606 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.606 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.606 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.606 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.639 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.639 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.639 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.640 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.689 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.689 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.690 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.690 409 496 W mali_gralloc: Could not find component description for FourCC value 3531564e 02-20 04:44:56.694 5966 6085 D BufferPoolAccessor2.0: bufferpool2 0xb40000748745e7c8 : 4(8388608 size) total buffers -

system.err: 02-20 04:38:30.039 5742 5830 W System.err: java.lang.IllegalArgumentException: codec does not support type 02-20 04:38:30.039 5742 5830 W System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:4025) 02-20 04:38:30.039 5742 5830 W System.err: java.lang.IllegalArgumentException: codec does not support type 02-20 04:38:30.039 5742 5830 W System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:4025) 02-20 04:38:30.039 5742 5830 W System.err: java.lang.IllegalArgumentException: codec does not support type 02-20 04:38:30.039 5742 5830 W System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:4025) 02-20 04:38:30.039 5742 5830 W System.err: java.lang.IllegalArgumentException: codec does not support type 02-20 04:38:30.039 5742 5830 W System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:4025) 02-20 04:38:30.039 5742 5830 W System.err: java.lang.IllegalArgumentException: codec does not support type 02-20 04:38:30.040 5742 5830 W System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:4025) 02-20 04:38:30.040 5742 5830 W System.err: java.lang.IllegalArgumentException: codec does not support type 02-20 04:38:30.040 5742 5830 W System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:4025) 02-20 04:38:30.040 5742 5830 W System.err: java.lang.IllegalArgumentException: codec does not support type 02-20 04:38:30.040 5742 5830 W System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:4025) 02-20 04:38:30.040 5742 5830 W System.err: java.lang.IllegalArgumentException: codec does not support type 02-20 04:38:30.040 5742 5830 W System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:4025) 02-20 04:38:30.040 5742 5830 W System.err: java.lang.IllegalArgumentException: codec does not support type 02-20 04:38:30.040 5742 5830 W System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:4025) 02-20 04:38:30.040 5742 5830 W System.err: java.lang.IllegalArgumentException: codec does not support type 02-20 04:38:30.040 5742 5830 W System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:4025) 02-20 04:38:30.040 5742 5830 W System.err: java.lang.IllegalArgumentException: codec does not support type 02-20 04:38:30.040 5742 5830 W System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:4025) 02-20 04:38:30.040 5742 5830 W System.err: java.lang.IllegalArgumentException: codec does not support type 02-20 04:38:30.040 5742 5830 W System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:4025) 02-20 04:38:30.040 5742 5830 W System.err: java.lang.IllegalArgumentException: codec does not support type 02-20 04:38:30.040 5742 5830 W System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(MediaCodecInfo.java:4025)

x265 sample.zip

zerorating avatar Feb 23 '23 11:02 zerorating

I am having the same issue on linux so it's seems to be MPP related. Although ffmpeg plays the stream fine in my case (and it uses mpp as well) so it must be a problem with how MPP is used.

gehee avatar Dec 21 '23 15:12 gehee

Is it fixed on latest mpp code?

HermanChen avatar Mar 13 '24 02:03 HermanChen

for android, mo123 (https://github.com/mo123) managed to find the workaround to get the stream decoded properly. He applied workaround on his android tv build and its rendered perfectly (for hevc, hi10p and av1 10bit)

zerorating avatar Mar 13 '24 04:03 zerorating

for android, mo123 (https://github.com/mo123) managed to find the workaround to get the stream decoded properly. He applied workaround on his android tv build and its rendered perfectly (for hevc, hi10p and av1 10bit)

What was the workaround ?

gehee avatar Apr 17 '24 03:04 gehee

This should be reopened, the issue is not resolved unless you use mo123's private build. This needs to be fixed in upstream.

CanadianBaconBoi avatar Sep 07 '24 09:09 CanadianBaconBoi

@HermanChen there is requests to had this case re-open.

zerorating avatar Sep 09 '24 06:09 zerorating

Which patch fix the issue?

HermanChen avatar Sep 11 '24 06:09 HermanChen

no idea, it havent been disclosed by mr mo123 i believe khadas managed to get this fixed too.

zerorating avatar Sep 11 '24 16:09 zerorating