Hello, I searched for an answer, but found nothing. So I'm asking both support and the community. I have a DM644x ARM with DSP chip. I have been using the encoder with simply writting the output to an AAC for a while now and this works fine. What I now need to do is Mux this audio with the video. I'm using FFMPEG to do the MP4 file creation for me. I believe I have FFMPEG setup correctly. Now as for our encoding function that calls the AUDENC_process function, I am sending it 4096 bytes of raw data (1024 * 2 channels * 2 bytes per sample) and getting back about 400 bytes of data. FFMPEG wants more encoded bytes per packet than 400. Attempts to fix this... 1) Loop twice on the encode function to fill the input buffer to FFMPEG. This seems to work as for accepting the data and putting it into the file. But when I go to play it back, there is no sound. I'm thinking the encoded data is two packets and thus FFMPEG thinks it is one big one and when we go to play it back, it is a mess with hidden embedded packets. 2 ) Give more raw data to the encoder (from 4096 to 8192) . This doesn't change the output size. The size stays around 400 bytes (350 - 450). Is there a way that I can setup the cfg files so that the codec engine on the DSP will accept more than 4096 bytes of incoming data so that I can get a one buffer output from the DSP of over the ~400 bytes that I now get? Thanks for your help in advance. Cheers, Pete
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
