
Recherche avancée
Autres articles (55)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (9163)
-
How to change the colour of pixels in videos with OpenGL in C++ [closed]
8 juin 2020, par DennioI would like to overlay a specifically coloured pattern or matrix over every frame of a video, so that every pixel changes it's color slightly corresponding to a data-matrix which I generate from a bitstream. It would begin with the upper left pixel and would go on till the end of the "line" and so on. I would like to change the red and blue values which means if the bitstream begins with a "1" the amount of red should be raised by 5 and if it begins with a "0" the amount of blue should be raised by 5. That would be done for every pixel of the frame.



I can already open a video using FFmpeg in a selfmade videoplayer, I can also generate the data-matrix but I just don't know which way is suitable to manipulate the videoframes in c++. I already successfully compiled some OpenGL and OpenGL ES triangles on my RaspberryPi 4. Is it possible to convert the frames and pixels into textures and go from there to display everything ? Or is there maybe a better way to do this ? I would like to use the GPU of the RaspberryPi for the tasks to get a good performance out of this.


-
checkasm : disable unaligned access emulation
1er juin 2024, par Rémi Denis-Courmontcheckasm : disable unaligned access emulation
The OS may silently fix (emulate) unaligned hardware access exceptions.
This is extremely slow and code should be fixed not to rely on unaligned
access on affected hardware. Accordingly this requests that the OS
disable emulation and instead throw Bus error, which will be caught by
checkasm's signal handler.This has no effects if the hardware supports unaligned access in
hardware, since no exceptions are generated. prctl() will fail safe in
that case. -
Nginx allow only my domain to access a video url
4 septembre 2019, par Bruno Fi’m setting up a web server that contains live video streaming embed into the html5 video tag. My workflow is to grab the rtsp video from an ip camera, decode it to a HLS format using ffmpeg and send the video to my server.
Nginx allows access to the video through a url, which I put in my video tag as a source.Everything works perfectly, the only problem is that anyone can access the URL of the video and put that URL on their website without my permission.
Is there any way to only allow my domain to access, and block for example www.domain2.com to put it into their video tag or other framework thath they use ? i’m think Nginx can do the job maybe.
Here are the codes of Nginx and my html in case is needed.
HTML :
<video class="video-js vjs-default-skin vjs-big-play-centered vjs-fluid" controls="controls" preload="none">
<source src="//mydomain.com/live/stream.m3u8" type="application/x-mpegURL"></source>
</video>Nginx :
location /live {
types {
application/vnd.apple.mpegurl m3u8;
}
limit_conn addr 5;
alias /home/stream;
add_header Cache-Control no-cache;
add_header 'Access-Control-Allow-Origin' '*';
}Many thanks guys !