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: FFmpeg decode H264 bitstream which encoded by TDA4, there are some duplicate frames

Part Number: TDA4VM

Hi,experts:

1. When use FFmpeg to decode H264 bitstream which encoded by TDA4, then I get every frame and store in .jpeg files.

Below is my commands:
`ffmpeg -i encode_output.h264 image-%05d.jpeg`

After that I check the .jpeg files, there are some duplicate frames. For example, frame 99 and frame 100 are the same, frame 101 are changed.

/resized-image/__size/1280x960/__key/communityserver-discussions-components-files/791/0407.image_2D00_00099.jpeg

/resized-image/__size/1280x960/__key/communityserver-discussions-components-files/791/7840.image_2D00_00100.jpeg

/resized-image/__size/1280x960/__key/communityserver-discussions-components-files/791/1385.image_2D00_00101.jpeg

There are no duplicate frames when I save the MSC Mosaic output .yuv files, so I think the duplicate frames was generated when TDA4 encodeing.

2. How can I solve this problem?

3. Environment:
  a. RTOS SDK: 07_02_00_06
  b. vision_apps/apps/basic_demos/app_encode/
  c. encode parameter is default

Thanks.

  • Hi Huang,

    Can you please confirm the following?

    1. Do you see this problem all the time or this issue was reproduced in one of the trials?
    2. Can you give us an indication of the probability of occurrence - such as occurs 1 out of 5 times etc?
    3. Does this occur always on the same frame numbers - please share your observation.
    4. What are the other system conditions when you are running this app_encode? Is this the only application running?
    5. If you are trying this on the EVM, can you please see if this problem occurs on the SDK 7.03 which is now available?

    Regards

    Karthik