Hi everyone,
How can I palyback the avi file on DM365 IPNC?
Could anyone give me some suggestion ?
Thanks.
Yanbin Yue
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.
Hi everyone,
How can I palyback the avi file on DM365 IPNC?
Could anyone give me some suggestion ?
Thanks.
Yanbin Yue
Hi,
First you have to get encoded video frames out from the avi file.
For that purpose you can use ffmpeg open source code.
FFmpeg is already included in IPNC (\ipnc_app\multimedia\avi_save\armffmpeg),
but there it is only used for avi recording, not reading files,
so you have to write your code for reading frames, or modify sample code included in ffmeg.
After you get encoded frames from a file, you havet to decode and play them.
For decoding you should use DM365 video-Image CoProcessor, not ffmpeg codecs which use arm.
You can look at alg_vidDec.c file (\av_capture\framework\osa\src).
Regards,
Marko.
Hi, Marko
Thanks for your suggestion first.
We can use alg_vidDec.c to playback the video data in avi file, and we want to playback the audio data.
It seems that we can't use alg_vidDec.c only to palyback the audio data at the same time when playback video.
Thanks
Yanbin Yue
Hi Yanbin,
I think for decoding audio you should add audio codecs (MP3, AAC, WMA) to : \DVSDK dvsdk_2_10_01_18\dm365_codecs_01_00_06\packages\ti\sdo\codecs\
Here is the description how to add them to the DVSDK "decode" demo application:
http://processors.wiki.ti.com/index.php/DM365_Audio_Codecs_Integration_with_DVSDK_2.10.01.18_Demos
http://software-dl.ti.com/dsps/dsps_public_sw/codecs/DM365/index_FDS.html
If you want to integrate codecs in IPNC framework, add it to : \av_capture\framework\alg\src\alg_server.cfg .
Regards,
Marko.