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.

AACLC Audio decoding output file verification

I've done these steps:
# /etc/init.d/matrix-gui-e stop
# /etc/init.d/pvr-init stop
# firmware_loader 0 /usr/share/ti/ti-media-controller-utils/dm814x_c6xdsp.xe674 start

Raw AAC format:
# ./adec_snt_a8host_debug.xv5T -i /usr/share/ti/rpe/davinci.aac -o /media/sda1/out/davinci-raw-2.aac -c aaclc -s 44100 -r 1
---------- Screen output (BEGIN) ----------
input file: /media/sda1/Stereo-s44100-davinci.aac                               
output_file: /media/sda1/out/davinci-raw-2.aac                                  
codec: aaclc                                                                    
rawFormat: 1                                                                    
sampleRate: 44100                                                               
Audio Decoder example                                                           
===============================                                                 
Iteration 0 - Start                                                             
 opening file                                                                   
 opened file                                                                    
 calling getHandle                                                              
 got handle                                                                     
                                                                                
ADEC_SetParamPortDefinition done                                                
 state IDLE                                                                     
  state execute                                                                 
  etb / ftb done                                                                
                                                                                
Writing to File...                                                              
                                                                                
                                                                                
Sample Rate: 44100                                                              
EOF reached...                                                                  
Bytes Remaining - 3875                                                          
End Of Stream reached.. making last process call                                
                                                                                
Total Frames decoded-433                                                        
End of stream processed                                                         

Component transitioning from Executing to Idle state                            
Tearing down the decode example                                                 
 free handle                                                                    
  free handle done                                                              
 Decoder Test End  
---------- Screen output (END) ----------                                                                               

ATDS format:
# ./adec_snt_a8host_debug.xv5T -i /usr/share/ti/rpe/davinci.aac -o /media/sda1/out/davinci-2.adts -c aaclc -s 44100 -r 0

How do I verify the enclosed output files (VLC does not recognize the format)?

Regards,

g

 (EZSDK 5.05.02.00, Ubuntun 11.10, DM814x)

1376.out.zip

  • Hello,

    You could check for more information:

    /ti-ezsdk_dm814x-evm_5_05_02_00/component-sources/omx_05_02_00_48

    OMX_05_02_00_48_UserGuide.pdf

    chapter: 5.1.2Audio Decode example

    Le George said:

    ATDS format:
    # ./adec_snt_a8host_debug.xv5T -i /usr/share/ti/rpe/davinci.aac -o /media/sda1/out/davinci-2.adts -c aaclc -s 44100 -r 0

    Le George said:
    How do I verify the enclosed output files (VLC does not recognize the format)?

    Are you want to verify it on the PC? If the answer is yes, the VLC is not able to playback the adts streams, it seems that  is not able to find a correct demuxer for it.

    You could try to search.

    Best Regards,

    Margarita


  • Margarita,

    I've used the mentioned document for this audio test. I'm looking for a simple method to validate the output file (i.e. binary check) against the the expecting output file.

    How do you verify these output files? Feeding them back to the encoder?

    While running the command line, we've monitored the signals (AIC_BCLCK, AIC_WCLK, and AIC_DIN) and got no clock nor data.

    Regards,

    g