
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (80)
-
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 -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)
Sur d’autres sites (10110)
-
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>