
Recherche avancée
Médias (3)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (12038)
-
Anomalie #2137 (Fermé) : Dans plugin.xml de spip mettre procure spip-bonux
26 juin 2011, par cedric -Non. Spip-bonux fournit des choses que ne fournit pas le core 3.0 Les plugins qui n’utilisent que ce que fournit le core, doivent donc supprimer leur dépendance. Les autres doivent maintenir la dépendance à la version 3 allégée de spip-bonux. Pour résoudre ta question, il faut passer à paquet.xml, (...)
-
How to convert multiple files from mp4 to flv using a shell script
22 avril 2013, par jerdiggityAssuming I had a bunch of videos sitting inside the directory
/home/user/videos/awaiting_conversion
how would I go about using cron to run a script similar to this one to batch convert each video into a different format ?/bin/sh -c $'nice /usr/bin/ffmpeg -i \044'\'$'/home/user/videos/awaiting_conversion/video_file_1.mp4'\'$' -s \044'\'$'480x320'\'$' -vcodec libx264 -acodec libmp3lame -ab \044'\'$'64k'\'$' -vpre fast -crf \044'\'$'30'\'$' -ar \044'\'$'22050'\'$' -f flv -y \044'\'$'/home/user/videos/converted/video_file_1.flv'\'$''
The above script works fine for a single conversion, but :
- It assumes that the name of the video is static/known (which will not be the case when batch converting).
- It assumes that there is only one video to convert (which may or may not be the case), i.e. there's no "loop".
- It leaves the original file in place instead of deleting it (which is what I would want to happen to prevent duplicate conversions).
The ultimate question would be how do I run that script for each video that exists inside
/home/user/videos/awaiting_conversion
, passing the file name as a variable ? -
How to update SDL Texture with Frame Represented by ffmpeg in AVPicture Format
4 juin 2014, par WhoamiI receive a frame of format YUV from ffmpeg, and I convert into RGB format like below :
sws_scale(pSwsCtx, (const uint8_t * const *) sFrame->data,
sFrame->linesize, 0, pCodecCtx->height,
dFrameRGB24->data,
dFrameRGB24->linesize);Now i have a Texture in SDL2 with format of SDL_PIXELFORMAT_RGB24
Question :
How do i Update dFrameRGB24 [ ie AVPicture], into SDL Texture ?
Because
SDL_UpdateTexture Expects raw data, and the number of pixels per line
int SDL_UpdateTexture(SDL_Texture* texture,
const SDL_Rect* rect,
const void* pixels,
int pitch)where as
AVPicture has the below structure
uint8_t * data [AV_NUM_DATA_POINTERS]
pointers to the image data planes
int linesize [AV_NUM_DATA_POINTERS]
number of bytes per lineHow can i achieve the same ? Kindly help me.