Documentation:Modules/smem
< Documentation:Modules
Jump to navigation
Jump to search
Revision as of 22:25, 28 May 2019 by DoesItReallyMatter (talk | contribs) (Create page marked up/adapted from source code/changelog)
See also: Stream to memory (smem) tutorial
Module: smem | |
---|---|
Type | Stream output |
First VLC version | 1.1.0 |
Last VLC version | - |
Operating system(s) | all |
Description | Stream output to memory buffer |
Shortcut(s) | smem
|
There is a note in the source code:
/*****************************************************************************
* 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 information
* 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
*
******************************************************************************/
Options
- sout-smem-video-prerender-callback <string> : Address of the video prerender callback function. This function will set the buffer where render will be done. default value: "0"
- sout-smem-audio-prerender-callback <string> : Address of the audio prerender callback function. This function will set the buffer where render will be done. default value: "0"
- sout-smem-video-postrender-callback <string> : Address of the video postrender callback function. This function will be called when the render is into the buffer. default value: "0"
- sout-smem-audio-postrender-callback <string> : Address of the audio postrender callback function. This function will be called when the render is into the buffer. default value: "0"
- sout-smem-video-data <string> : Data for the video callback function. default value: "0"
- sout-smem-audio-data <string> : Data for the audio callback function. default value: "0"
- sout-smem-time-sync <boolean> : Time Synchronisation option for output. If true, stream will render as usual, else it will be rendered as fast as possible. default value: enabled
Source code
This page is part of official VLC media player Documentation (User Guide • Streaming HowTo • Hacker Guide • Modules)
Please read the Documentation Editing Guidelines before you edit the documentation
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.