I woul like to play a sound from the network (RTP) and be able to use some voice recognition algorithm. Are they any way to reach the audio buffer in libvlc just like with Vmem for the video ?
thanks
Code: Select all
/*****************************************************************************
* How to use it
*****************************************************************************
*
* You should use this module in combination with the transcode module, to get
* raw datas from it. This module does not make any conversion at all, so you
* need to use the transcode module for this purpose.
*
* For example, you can use smem as it :
* --sout="#transcode{vcodec=RV24,acodec=s16l}:smem{smem-options}"
*
* Into each lock function (audio and video), you will have all the informations
* you need to allocate a buffer, so that this module will copy data in it.
*
* the video-data and audio-data pointers will be passed to lock/unlock function
*
* For now, audio is NOT IMPLEMENTED.
*
******************************************************************************/
Return to “Development around libVLC”
Users browsing this forum: No registered users and 17 guests