
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (69)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (10553)
-
Get access to SDL texture pixels
29 mai 2024, par chugadieIs there anyway (besides the documented slow method) to get access to the texture pixels from an SDL2 texture ?
SDL_RenderReadPixels
says Warning : this is a very slow method and should not be used frequently.

I want to point an ffmpeg AVFrame->data over to the texture pixels and have it encode what's in the texture. Basically, screen grab a texture after rendering and blending several textures together.


SDL_LockTexture() gives write-only access to the pixels. The docs also say not to expect pixel data to be present in the pointer returned to you.


Is it possible with
av_hwframe_map
in ffmpeg ?

I see lots of examples of decoding video to a texture, but I want to screen grab and encode an SDL2 texture without copying GPU data back to CPU memory.


If this is not possible in SDL2, I'm open to switching to SDL3, raylib, opengl or nearly anything else. After researching this for a few days, I'm getting the sense that OpenGL and/or Metal are the interop frameworks I should be looking at. Am I looking in the completely wrong direction trying to get SDL2/3 to allow me to interop with texture pixel data ?


-
Access shared files with shell commands in Ubuntu
24 mars 2018, par likudouIn Ubuntu,is there any way to access shared file with commands ?
I want to use ffmpeg command to mux mp4 that files are shared by smb on the other server(windows or linux).
I can use \ip\path to access files in Windows,but the ffmpeg command in Ubuntu can not recognize the path "\ip\path" or "smb ://ip/path" -
avcodec/h264dec : fix possible out-of-bounds array access
25 août 2021, par Niklas Haasavcodec/h264dec : fix possible out-of-bounds array access
If slice_type is > 9, the access to ff_h264_golomb_to_pict_type is
out-of-bounds. Fix this by simply setting the slice_type to 0 in this
case.This is completely inconsequential because the value is only being used
to being used as an offset in the calculation of the film grain seed
value, a corruption of which is practically invisible.Fixes coverity ticket #1490802
Signed-off-by : James Almer <jamrial@gmail.com>