This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: RTOS Decoder prints error messages

Part Number: TDA4VM


Dear experts,

Background: PSDKRA 6.2.

We ran into a issue that when we decode a long video, first a few frames are successfully decoded(althrough prints unclassified data warning). but frames later will fail to decode, and print out error messages.

How to identify the cause of this error messages? Here is a brief of the error log. I will send video download link through mail.

[MCU2_1] 174.820799 s: unclassified data detected!
[MCU2_1] 174.912278 s: unclassified data detected!
[MCU2_1] 174.996799 s: unclassified data detected!
[MCU2_1] 175.093123 s: unclassified data detected!
[MCU2_1] 175.203275 s: unclassified data detected!
[MCU2_1] 175.302082 s: unclassified data detected!
[MCU2_1] 175.423058 s: unclassified data detected!
[MCU2_1] 175.423389 s: bspp_h264_unit_parser: No SVC support
[MCU2_1] 175.423458 s: Failed to process unit, error = 65536
[MCU2_1] 175.424756 s: [USERSID=0x00000001] UNSUPPORTED[HW]: CODED PICTURE SIZE 0 x 0 [MIN: 64 x 16]
[MCU2_1] 175.424849 s: Invalid params to calculate display region:
[MCU2_1] 175.424884 s: Display Size: [0,0]
[MCU2_1] 175.424904 s: Coded Size : [0,0]
[MCU2_1] 175.424953 s: Assertion @ Line: 2279 in /home/XXX/psdk_rtos_auto_j7_06_02_00_21/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/decoder.c: !(0) : failed !!!
[MCU2_1] 175.425021 s: Assertion @ Line: 2279 in /home/XXX/psdk_rtos_auto_j7_06_02_00_21/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/decoder.c: !(0) : failed !!!
[MCU2_1] 175.425088 s: Assertion @ Line: 2802 in /home/XXX/psdk_rtos_auto_j7_06_02_00_21/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/decoder.c: !(ret == (0)) : failed !!!
[MCU2_1] 175.425188 s: Assertion @ Line: 2802 in /home/XXX/psdk_rtos_auto_j7_06_02_00_21/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/decoder.c: !(ret == (0)) : failed !!!
[MCU2_1] 175.425273 s: MM_DEC_Process:core_stream_submit_unit failed 11
[MCU2_1] 175.425332 s: [USERSID=0x00000001] Unable to get the current picture from Decoder context
[MCU2_1] 175.425374 s: Assertion @ Line: 2817 in /home/XXX/psdk_rtos_auto_j7_06_02_00_21/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/decoder.c: !(ret == (0)) : failed !!!
[MCU2_1] 175.425442 s: Assertion @ Line: 2817 in /home/XXX/psdk_rtos_auto_j7_06_02_00_21/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/decoder.c: !(ret == (0)) : failed !!!
[MCU2_1] 175.425507 s: MM_DEC_Process:core_stream_submit_unit failed 7
[MCU2_1] 175.425569 s: VX_ZONE_ERROR:[tivxVideoDecoderProcess:358] tivxVideoDecoderProcess: MM_DEC Process failed
[MCU2_1] 175.425623 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:372] tivxTargetKernelExecute: Kernel process function for [com.ti.hwa.video_decoder] returned error code: -1
[MCU2_1] 175.505707 s: [USERSID=0x00000001] UNSUPPORTED[HW]: CODED PICTURE SIZE 0 x 0 [MIN: 64 x 16]
[MCU2_1] 175.505802 s: Invalid params to calculate display region:
[MCU2_1] 175.505838 s: Display Size: [0,0]
[MCU2_1] 175.505857 s: Coded Size : [0,0]
[MCU2_1] 175.505902 s: Assertion @ Line: 2279 in /home/XXX/psdk_rtos_auto_j7_06_02_00_21/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/decoder.c: !(0) : failed !!!
[MCU2_1] 175.505970 s: Assertion @ Line: 2279 in /home/XXX/psdk_rtos_auto_j7_06_02_00_21/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/decoder.c: !(0) : failed !!!
[MCU2_1] 175.506037 s: Assertion @ Line: 2802 in /home/XXX/psdk_rtos_auto_j7_06_02_00_21/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/decoder.c: !(ret == (0)) : failed !!!
[MCU2_1] 175.506103 s: Assertion @ Line: 2802 in /home/XXX/psdk_rtos_auto_j7_06_02_00_21/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/decoder.c: !(ret == (0)) : failed !!!
[MCU2_1] 175.506168 s: MM_DEC_Process:core_stream_submit_unit failed 11
[MCU2_1] 175.506223 s: [USERSID=0x00000001] Unable to get the current picture from Decoder context
[MCU2_1] 175.506266 s: Assertion @ Line: 2817 in /home/XXX/psdk_rtos_auto_j7_06_02_00_21/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/decoder.c: !(ret == (0)) : failed !!!
[MCU2_1] 175.506333 s: Assertion @ Line: 2817 in /home/XXX/psdk_rtos_auto_j7_06_02_00_21/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/decoder.c: !(ret == (0)) : failed !!!
[MCU2_1] 175.506396 s: MM_DEC_Process:core_stream_submit_unit failed 7
[MCU2_1] 175.506429 s: VX_ZONE_ERROR:[tivxVideoDecoderProcess:358] tivxVideoDecoderProcess: MM_DEC Process failed
[MCU2_1] 175.506477 s: VX_ZONE_ERROR:[tivxTargetKernelExecute:372] tivxTargetKernelExecute: Kernel process function for [com.ti.hwa.video_decoder] returned error code: -1

Thanks & Best Regards!

ZM

  • Hi ZM,

    The error looks like it starts with unsupported NAL type, either 20 or 21. At that point it looks like our h264_secure_parser is failing to parse the the frame info, resulting in the invalid parameters.

    Can you tell me what setup you're using to get to this error?

    Thanks,

    David