
Recherche avancée
Autres articles (102)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (8016)
-
OpenCV error : [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls
2 mai 2015, par Relax WuI installed OpenCV in Ubuntu according to the official guide, then I’m trying to decode a file, then error occurs :
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
[mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!the video is about 150 frames, the error log may exceed 1000, can someone help me here ? thanks.
-
FFmpeg scaling error
9 juillet 2015, par oleg.semenI’m trying to convert video on Android using FFmpeg Android Java library
My method takes input and output file pathes and dimentions of output file (for instance 640x480). Video should fit crop these bounds. As video might be in landscape or portrait orientation I’m next params :String.format("-i %s \"scale='if(gt(a,1),-1,%d)':'if(gt(1,a),%d,-1)'\" %s", in, h, w, out);
see this article
according to official doc
a
is aspect ration (w/h) of input file.So a > 1
gt(a,1)
means w > h so video is landscape, and 1 > agt(1,a)
means h > w so video is portrait.But I’m getting next error :
Unable to find a suitable output format for "scale='if(gt(a,1),-1,480)':'if(gt(1,a),640,-1'"
'"scale='if(gt(a,1),-1,480)':'if(gt(1,a),640,-1'" : Invalid argumentWhat am I doing wrong ?
Thanks. -
Anything Wrong with (char[32]){0} in Visual Studio 2012 ?
5 juillet 2014, par loppp===== background ====
This problem originates from using fFmpeg lib sample muxing.c in visual studio 2012, I found the the error :
error C2143: Syntax error missing ) before {
at
printf("pts:%s pts_time:%s dts:%s dts_time:%s duration:%s duration_time:%s stream_index:%d\n",
av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, time_base),
av_ts2str(pkt->dts), av_ts2timestr(pkt->dts, time_base),
av_ts2str(pkt->duration), av_ts2timestr(pkt->duration, time_base),
pkt->stream_index);and I found
#define AV_TS_MAX_STRING_SIZE 32
#define av_ts2str(ts) av_ts_make_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts)for eliminate irrelevant statement, I just replace the big printf with
printf("pts:%s \n",
(char[32]){0}
);but the error still the same, looks the error is from
(char[32]){0}
===== question ====
As this sample source file muxing.c is official one (I think), might not possibly wrong, so is the statement wrong or not compatible with VS compiler ? or I am missing something here ?