Add MP3 support to 20011q2 SDK

From RidgeRun Developer Connection

Jump to:navigation, search

Introduction

This wiki page contains instructions on adding MP3 recording support to the SDK.

The DVSDK package TI provides doesn't include the MP3 codecs. These can be obtained after an approval procedure on TI's site.

SDK setup

Once you have the software packages with the codecs install them on:

$DEVDIR/proprietary/dm365_mp3enc_3_5_00_production
and
$DEVDIR/proprietary/dm365_mp3dec_4_8_01_production

then enable the branch DMAI plugins (enabled by default):

 CONFIG_PROPRIETARY_TI_GST_CODECS_BRANCH:                                                                                    
                                                                                                                             
 Say Y if you want to checkout the plugins from Dompe's branch                                                               
 Symbol: PROPRIETARY_TI_GST_CODECS_BRANCH [=y]                                                                               
 Prompt: Branch                                                                                                              
   Defined at proprietary/gst-dmai-plugins/Config:21                                                                         
   Depends on: <choice>                                                                                                      
   Location:                                                                                                                 
     -> Proprietary software                                                                                                 
       -> Gstreamer DMAI Plugins (PROPRIETARY_TI_GST_CODECS [=y])                                                            
         -> SVN Plugins Source (<choice> [=y]) 

finally enable the patch that adds the MP3 DMAI plugin:

cd $DEVDIR/proprietary/gst-dmai-plugins/patches/arch
echo add_mp3_support_dmai_plugins.patch >> series

Using the plugins

The installed plugins will be named dmaienc_mp3 and dmaidec_mp3. You can explore their capabilities using:

gst-inspect dmaienc_mp3
gst-inspect dmaidec_mp3

Some example pipelines using MP3 codec can be found on
https://www.ridgerun.com/developer/wiki/index.php/LeopardBoard_365_GStreamer_Pipelines_-_SDK_2011Q2

Navigation
Toolbox