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.

DRA744: Android Video Playback issue on DRA74xx

Part Number: DRA744

Hi,

I'm having a decoder problem on my platform which runs version of Android. Sometimes i get errors like these while video playback through an android app is ongoing. Does anyone have an idea on what might be going on?

                                                  
                                                  --------- beginning of main
12-20 19:43:28.244 3097-13831/? E/IMG_Gralloc: Frame count is : 1349500218
12-20 19:43:28.244 3097-13831/? E/IMG_Gralloc: Bytes consumed - 1349500218
12-20 19:43:28.246 3097-13831/? E/IMG_Gralloc:  Process function returned an Error...  
12-20 19:43:28.246 3097-13831/? E/IMG_Gralloc: Codec Extended - 0x506fbd3a
12-20 19:43:28.246 3097-13831/? E/IMG_Gralloc: Input Buffer Size provided to codec is : 1349500218
12-20 19:43:28.246 3097-13831/? E/IMG_Gralloc: Frame count is : 1349500218
12-20 19:43:28.246 3097-13831/? E/IMG_Gralloc: Bytes consumed - 1349500218
12-20 19:43:28.248 3097-13831/? E/IMG_Gralloc:  Process function returned an Error...  
12-20 19:43:28.248 3097-13831/? E/IMG_Gralloc: Codec Extended - 0x506fbd3a
12-20 19:43:28.248 3097-13831/? E/IMG_Gralloc: Input Buffer Size provided to codec is : 1349500218
12-20 19:43:28.248 3097-13831/? E/IMG_Gralloc: Frame count is : 1349500218
12-20 19:43:28.248 3097-13831/? E/IMG_Gralloc: Bytes consumed - 1349500218
12-20 19:43:28.250 3097-13831/? E/IMG_Gralloc:  Process function returned an Error...  
12-20 19:43:28.250 3097-13831/? E/IMG_Gralloc: Codec Extended - 0x506fbd3a
12-20 19:43:28.250 3097-13831/? E/IMG_Gralloc: Input Buffer Size provided to codec is : 1349500218
  • Hi Kelvin,

    I have forwarded your question to video experts.

    Regards,
    Yordan
  • Hi,

    The trace output looks like it may not be valid (input buffer size, frame count, bytes consumed, extended error... all are coming as the same value).

    If ALOGE isn't being used for these traces, try using ALOGE to print the information to make sure that the values are correct when printed.

    Once you get the correct values, the codec extended error code ("Codec Extended" in the traces above) can be used to determine the cause of the codec error. You can check the corresponding codec's User Guide in the IPUMM source tree to get more information about the extended error code that is returned.

    H.264 codec User Guide: http://git.ti.com/gitweb/?p=ivimm/ipumm.git;a=tree;f=extrel/ti/ivahd_codecs/packages/ti/sdo/codecs/h264vdec/docs;h=2b349871cce5ee0f1cd4d81fe293741171fb3e94;hb=refs/heads/master

    Thanks,

    Angela

  • Hi,

    There was a suggested answer and since there has been no activity on this thread for more than a week,
    the suggested answer was marked as verify. Please feel free to select the "Reject Answer" button and reply with more details.

    Regards,
    Yordan
  • Hi Angela,
    Thanks for your response, Sorry I wasn't able to respond earlier. The previous issue is no longer an issue. However, I see a new error with a different app. The error log is below:

    E/OMX_VIDDEC_COMMON( 4725):
    E/OMX_VIDDEC_COMMON( 4725): Process function returned an Error...
    E/OMX_VIDDEC_COMMON( 4725): Codec Extended - 0x408001
    E/OMX_VIDDEC_COMMON( 4725): Input Buffer Size provided to codec is : 25649
    E/OMX_VIDDEC_COMMON( 4725): Frame count is : 1
    E/OMX_VIDDEC_COMMON( 4725): Bytes consumed - 734
    E/IMG_Gralloc( 4725): spsMaxRefFrames = 2, nRefFrames set initially = 1
    E/IMG_Gralloc( 4725): Resetting level of the stream to Level 4.1
    E/IMG_Gralloc( 4725): nBufferCountMin_old = -1837558940, nBufferCountMin_new = 1
    E/OMX_VIDDEC_COMMON( 4725): Port disable/reconfiguration needed
    D/UL-HLSPlayer( 5166): Fetch AssetInfo for 8db4b0b454334b508c2f36a0888732c7

    The bits set for the error 0x408001 are as follows:
    BIT 1: IH264VDEC_ERR_NOSLICE : Not even a single error-free slice header found in this process call, did not start MB loop
    BIT 15: XDM_FATALERROR: Fatal error
    BIT 22: IH264VDEC_ERR_NUMREF_FRAMES : The num_ref_frames in active SPS is more than the supported max_num_ref_frames.

    Could you please explain what this error really means and if there's a way to fix it? I see it occur very frequently although it doesn't hinder the video from being decoded and displayed. Any thoughts on this issue would be very appreciated.

    Thanks!