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: TDA4VM: ffplay report error when play H264 bitstream encoded by TDA4

Part Number: TDA4VM

Hi,

    I use encoder node to encode the captured video, but it will report an error during playback:

[h264 @ 0x7f67a0009280] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, h264, from 'encode_test_output.h264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 1280x960, 30 fps, 30 tbr, 1200k tbn, 60 tbc
[h264 @ 0x7f67a00073c0] concealing 392 DC, 392 AC, 392 MV errors in P frame
[h264 @ 0x7f67a00073c0] error while decoding MB 36 59, bytestream -11
[h264 @ 0x7f67a00073c0] concealing 93 DC, 93 AC, 93 MV errors in P fram

    When I use decode node to decode and play, an error will also be reported :

[MCU2_1] 59.601826 s: [USERSID=0x00000001] [TID 0x001701C7] Some macroblocks were dropped when processing the current frame. May have corrn
[MCU2_1] 59.601942 s: [USERSID=0x00000001] [TID 0x001701C7] Picture error level: 55(
[MCU2_1] 59.602179 s: decoder_picture_decoded : 4291 err_flags: 0x400
[MCU2_1] 59.602238 s: _img_mem_free: found mapping for buffer 2 (size 249856)
[MCU2_1] 59.619409 s: Picture decoded using corrupted reference: 0x001701C7 0x00000400
[MCU2_1] 59.637005 s: Picture decoded using corrupted reference: 0x001801C8 0x00000100
[MCU2_1] 59.652782 s: Picture decoded using corrupted reference: 0x001901C9 0x00000100
[MCU2_1] 59.669378 s: Picture decoded using corrupted reference: 0x001A01CA 0x00000100
[MCU2_1] 59.686083 s: Picture decoded using corrupted reference: 0x001B01CB 0x00000100
[MCU2_1] 59.703152 s: Picture decoded using corrupted reference: 0x001C01CC 0x00000100
[MCU2_1] 59.719410 s: Picture decoded using corrupted reference: 0x001D01CD 0x00000100
[MCU2_1] 59.736015 s: Picture decoded using corrupted reference: 0x001E01CE 0x00000100
[MCU2_1] 59.752749 s: Picture decoded using corrupted reference: 0x001F01CF 0x00000100
[MCU2_1] 59.769796 s: Picture decoded using corrupted reference: 0x001001D0 0x00000100
[MCU2_1] 59.786063 s: Picture decoded using corrupted reference: 0x001101D1 0x00000100
[MCU2_1] 59.802700 s: Picture decoded using corrupted reference: 0x001201D2 0x00000100
[MCU2_1] 59.819402 s: Picture decoded using corrupted reference: 0x001301D3 0x00000100
[MCU2_1] 59.836410 s: Picture decoded using corrupted reference: 0x001401D4 0x00000100
[MCU2_1] 59.852768 s: Picture decoded using corrupted reference: 0x001501D5 0x00000100
[MCU2_1] 59.869462 s: Picture decoded using corrupted reference: 0x001601D6 0x00000100
[MCU2_1] 59.886118 s: Picture decoded using corrupted reference: 0x001701D7 0x00000100
[MCU2_1] 59.903823 s: Picture decoded using corrupted reference: 0x001801D8 0x00000100
[MCU2_1] 59.919437 s: Picture decoded using corrupted reference: 0x001901D9 0x00000100
[MCU2_1] 59.936107 s: Picture decoded using corrupted reference: 0x001A01DA 0x00000100
[MCU2_1] 59.952800 s: Picture decoded using corrupted reference: 0x001B01DB 0x00000100
[MCU2_1] 59.970903 s: Picture decoded using corrupted reference: 0x001C01DC 0x00000100
[MCU2_1] 59.986135 s: Picture decoded using corrupted reference: 0x001D01DD 0x00000100
[MCU2_1] 60.002729 s: Picture decoded using corrupted reference: 0x001E01DE 0x00000100
[MCU2_1] 60.019351 s: Picture decoded using corrupted reference: 0x001F01DF 0x00000100
[MCU2_1] 103.613721 s: fw decode time for msg_id x0 is not measured
[MCU2_1] 103.613856 s: TID=NULL [GENERAL FIRMWARE PANIC Reason(s): Watch Dog Timeo]
[MCU2_1] 103.613942 s: Assertion @ Line: 930 in /home/maye/PROJECT_7.3/psdk_rtos_j7/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/!
[MCU2_1] 103.614012 s: Assertion @ Line: 930 in /home/maye/PROJECT_7.3/psdk_rtos_j7/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/!
[MCU2_1] 103.614083 s: Assertion @ Line: 4349 in /home/maye/PROJECT_7.3/psdk_rtos_j7/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder!
[MCU2_1] 103.614150 s: Assertion @ Line: 4349 in /home/maye/PROJECT_7.3/psdk_rtos_j7/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder!
[MCU2_1] 103.614221 s: Assertion @ Line: 367 in /home/maye/PROJECT_7.3/psdk_rtos_j7/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/!
[MCU2_1] 103.614286 s: Assertion @ Line: 367 in /home/maye/PROJECT_7.3/psdk_rtos_j7/video_codec/ti-img-encode-decode/tirtos/decoder/../../driver/decoder/!
[MCU2_1] 103.614346 s: decoder_service_firmware_response failed
[MCU2_1] 103.614415 s: [TID=0x00140BB4] [DECODE_FAILED]

    Do you have any ideas or solutions for this problem?Looking forward to your reply, thank you。

PS:

    I try to run "./vx_app_conformance.out --filter=tivxHwaVideoEncoder.SingleStreamProcessing", no error.But I checked my encode code and found nothing wrong, so I am at a loss now, I hope I can get help