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.

Sv04 decode demo not working.

hi guys,

my sv04 mcsdk video demo is not working when i am decoding while it work when i encode a raw file.

my tftp.cfg file look like this ....

# Configuration file for SINGLE CORE operation
# New Input File Format is as follows
# <ParameterName> = <ParameterValue> # Comment
#
# See siuVctParse.h for a list of supported ParameterNames

##########################################################################################
# Configuration to TFTP Server
##########################################################################################
localIpAddress    = 10.218.109.175       # should be in the same subnet as TFTP server
localMacAddress   = 06-06-06-06-06-06
serverIpAddress   = 10.218.109.170         # should be in the same subnet as DSP
serverMacAddress  = 00-90-F5-AB-FC-92

codecName         = H264DEC   # Name of the codec (must be listed in siuVctsupportedCodecs.c)
encode_or_decode  = DECODE    # ENCODE or DECODE
xdmVersion        = 0.9       # XDM version: 0.9 or 1.0
codecType         = VIDEO     # IMAGE, VIDEO, AUDIO
#encResolution     = 720p       # HD H264ENC resolution: 1080p or 720p
nCores            = 1           # Number of Cores involved in the decode/encode operation
coreTeamMapping   = 0         # Core IDs (0-based) involved in the decode/encode operation

i am giving  *.264  file of 720p and i dont know its hp or bp.

  • Hi Anshul,

    Please try with the following changes in tftp.cfg:

    codedName = H264HPDEC

    xdmVersion=1.0

    sv04 has integrated H264HP decoder, and it can decode BP, MP, and HP clips.

    Thanks,

    Hongmei

  • hongmei u are genius

    but can you tell me that what make you said that xdm=1.0 will work if xdm=0.9 is not working in code context

  • Hi Anshul,

    For each encoder decoder you can check in the especific codec documentation which XDM version the codec is compliant with. Or easier you can see this info in the client wrapper .c file. For example from H264 HP decoder wrapper file (vctH264hpDecClient.c ) we have:

    /******************************************************************************

    * FILE PURPOSE: Client Wrapper to integrate XDM1.0 Compliant Decoder to TVCT

    ******************************************************************************

    * FILE NAME: vctH264hpDecClient.c