
Recherche avancée
Autres articles (26)
-
Déploiements possibles
31 janvier 2010, parDeux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
Version mono serveur
La version mono serveur consiste à n’utiliser qu’une (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (6538)
-
Macros in C++ / FFMPEG
26 mars 2020, par Derrick HeimerdingerI’m new to C++ and I’m trying to build a custom codec for FFMPEG. I’m trying to base it off of PCM but with only one type. I’ve run into a macro and I have no idea what the macro turns into after it compiles.
The macro looks like this :#define ENCODE_PLANAR(type, endian, dst, n, shift, offset) \
n /= avctx->channels; \
for (c = 0; c < avctx->channels; c++) { \
int i; \
samples_ ## type = (const type *) frame->extended_data[c]; \
for (i = n; i > 0; i--) { \
register type v = (*samples_ ## type++ >> shift) + offset; \
bytestream_put_ ## endian(&dst, v); \
} \
}Would the samples_ declaration line and bytestream_put line be equal to what I put below if endian = byte and type = uint8_t ?
uint8_t samples_ = (const uint8_t *) frame->extended_data[c];
bytestream_put_byte(&dst, v);I find it very confusing and I am unsure if this is correct.
-
FFMPEG command doesn't work in PHP. (Incompatibilty with MAMP)
15 mars 2016, par Charlie RyanI’m a bit of a beginner when it comes to PHP, and I’m trying to create a simple(ish) system where files are input, and then converted to html5 video in various resolutions.
I’ve sorted out how to handle multiple file uploads etc, but now I’m having a problem.
I can’t seem to get exec to execute FFMPEG in PHP.
For example, if I type this into my command line (Terminal on Mac OSX 10.8), It converts the video correctly :
ffmpeg -i /Users/charlieryan/Desktop/MOV01785.MPG websample.mov
This correctly outputs the converted video file into my home directory.
However if I run this in PHP as follows :
exec('ffmpeg -i /Users/charlieryan/Desktop/MOV01785.MPG websample.mov');
Absolutely nothing happens ... my stat monitor doesn’t register any change in processor use, and I can’t find the output file anywhere on my system.
Since I’m a bit of a noob at this, I’m assuming I’m doing something wrong, but what is it ?
Thanks,
Charlie
-
How to make Enqueue callback run on seperate thread on OpenSL ES ?
19 décembre 2020, par MichaelI am a newbie start learning openSL ES.


I understand I need to register a callback like :


result = (*m_BufferQueue)->RegisterCallback(m_BufferQueue, AudioPlayerCallback, this);



And inside my callback I simply need to call this :


SLresult result = (*m_BufferQueue)->Enqueue(m_BufferQueue, audioFrame->data, (SLuint32) audioFrame->dataSize);



Then, whenever the queue is empty, it will automatically call the callback function and consume stuff I feeding in the other data queue(stored decoded data).


My question is, how to make this callback run on other thread ? So it won't block my main thread(I am decoding in main thread and feeding PCM data in a self defined queue).