
Recherche avancée
Autres articles (69)
-
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 (...) -
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 (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (6485)
-
h264_metadata : Always add the SEI user data to the first access unit
11 février 2018, par Mark Thompson -
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 ?


-
libavformat/tls_libtls : pass numeric hostnames to tls_connect_cbs()
21 février 2018, par Stefan _