
Recherche avancée
Médias (39)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (58)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
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 -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (6832)
-
Anomalie #3205 : [Plugin-dist Mots] Incompatibilité avec l’API d’édition d’objet ?
18 juillet 2014, par marcimat ☺☮☯♫Hum, en SPIP 3.1-dev, tout comme en 3.0, j’optiens une erreur SQL :
ERREUR : table spip_groupes_mots has no column named date - INSERT INTO spip_groupes_mots (maj,date,titre,tables_liees) VALUES (datetime(’now’),’2014-07-18 14:58:21’,’Mon super titre’,’articles’)Effectivement, les fonctions sont nommées groupemots_xxx(), ce qui ne me semble pas correct, car le texte d’objet déclaré pour la table groupes_mots est bien ’groupe_mots’, avec un espace.
Je suppose qu’il y a eu ici confusion avec les fonctions d’autorisations, qui elles « mangent » les soulignés, par exemple autoriser_groupemots_supprimer_dist()… Ici l’absence du souligné est du au fonctionnement des autorisations.
-
FFMpeg reading frames from avi files
6 août 2014, par konstiI’m trying to read frames of movies and it is working for all formats except avi.
When opening avi files I always get the message :
[mpeg4 @ 0x1030e4e00] Video uses a non-standard and wasteful way to store B-frames (’packed B-frames’). Consider using a tool like VirtualDub or avidemux to fix it.
[mpeg4 @ 0x1030e4e00] warning : first frame is no keyframeWhat do I have to do to get frames from avi files ?
Here is my code :
-(id)initWithVideo:(NSString *)moviePath {
if (!(self=[super init])) return nil;
AVCodec *pCodec;
// Register all formats and codecs
avcodec_register_all();
av_register_all();
// Open video file
pFormatCtx = avformat_alloc_context();
if(avformat_open_input(&pFormatCtx, [moviePath UTF8String], NULL, NULL)!=0)
goto initError; // Couldn't open file
// Retrieve stream information
if(avformat_find_stream_info(pFormatCtx, NULL)<0)
goto initError; // Couldn't find stream information
// Find the first video stream
videoStream=-1;
for(int i=0; inb_streams; i++)
if(pFormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_VIDEO)
{
videoStream=i;
break;
}
if(videoStream==-1)
goto initError; // Didn't find a video stream
// Get a pointer to the codec context for the video stream
pCodecCtx=pFormatCtx->streams[videoStream]->codec;
// Find the decoder for the video stream
pCodec=avcodec_find_decoder(pCodecCtx->codec_id);
if(pCodec==NULL)
goto initError; // Codec not found
AVDictionary *optionsDict = NULL;
// Open codec
if(avcodec_open2(pCodecCtx, pCodec, &optionsDict)<0)
goto initError; // Could not open codec
// Allocate video frame
pFrame=av_frame_alloc();
outputWidth = pCodecCtx->width;
self.outputHeight = pCodecCtx->height;
return self;initError :
NSLog(@"an error occurred") ;
return nil ;
} -
Evolution #3257 (Nouveau) : Permettre de surcharger facilement le nombre d’items affiché dans les ...
13 août 2014, par b bLe système de pagination permet déjà de personnaliser le contenu des liens précédent/suivant à l’aide de paramètres passés aux modèles. Par contre, il n’est pas possible de personnaliser le nombre d’items affichés dans la pagination de cette manière. On peut le faire à l’aide d’une surcharge de filtre_bornes_pagination_dist() comme le signale Cedric :
< cerdic > function filtre_bornes_pagination($courante, $nombre, $max) < b_b > ouep je suis remonté jusqu’à lui hier soir < cerdic > en y forçant $max = 5 ; < b_b > merci pour la confirmation :) < b_b > super < b_b > 10 c’est trop par défaut je trouve < cerdic > eventuellement tu definis le filtre que si tu es pas dans le prive < cerdic > pour impacter que le site public
Il serait intéressant de permettre cette personnalisation à l’aide d’un paramètre passé aux modèles.