
Recherche avancée
Autres articles (14)
-
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 -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...)
Sur d’autres sites (2101)
-
ffmpeg how convert mp3 to acc ? [closed]
21 septembre 2012, par John SmithPossible Duplicate :
ffmpeg how convert audio files in other formats ?code :
$infile=$dir.'file1.mp3';
$outfile_aac=$dir.'file1.acc';
shell_exec("ffmpeg -i $infile -ab 256 $outfile_aac");code create file .acc with size = 0... Where my error ?
FFmpeg version SVN-r12216,
Copyright (c) 2000-2008 Fabrice Bellard,
et al. configuration: libavutil version: 49.6.0 libavcodec version: 51.50.1
libavformat version: 52.7.0
libavdevice version: 52.0.0 built on Feb 25 2008 12:40:30,
gcc: 4.1.2 20070626 (Red Hat 4.1.2-14)
invalid new backstep 1008 Input #0, mp3, from '/hsphere/local/home/c292729/testwork.ru/10001/ConcertMedia/1348165273ExPRoG.mp3':
Duration: 00:01:48.8,
start: 0.000000,
bitrate: 319 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, stereo, 320 kb/s Output #0, adts,
to '/hsphere/local/home/c292729/testwork.ru/10001/ConcertMedia/1348165273ExPRoG.aac':
Stream #0.0:
Audio: 0x0000, 44100 Hz,
stereo, 64 kb/s
Stream mapping: Stream #0.0 -> #0.0
Unsupported codec for output stream #0.0what codec me need use ?
-
New builds for PHP 5.4 and PHP 5.3
29 novembre 2012, par Mikko Koppanen — ImagickIt’s been a while since I last updated this blog (September 2009 to be exact). Time flies ! Anyway, here comes the actual content : updated imagick binaries for PHP 5.3 and PHP 5.4. The download package also includes ImageMagick 6.8.0 binaries compiled with VC9 (Visual Studio 2008). I noticed that the official ImageMagick builds are now Visual Studio 2010 and that wouldn’t work well with PHP compiled with 2008.
I am not sure if I am violating any license in distributing ImageMagick binaries but if I do, please let me know and I will remove them. The binaries are just stock ImageMagick 6.8.0, which you can download from http://imagemagick.org/.
In order to get things running you should add the ImageMagick DLL directory into PATH, add the imagick extension to php.ini and things should be running. At least hopefully.
The download link for the binaries is here : imagick-php54-php53.tgz.
-
ffmpeg latest visual studio builds or linking with (.a) libs
23 juin 2013, par user1657348there is a problem.
I need to link ffmpeg(particularly libavcodec) statically into visual studio 2008 project.I found some visual studio solutions in internet but they are very old (around 0.6 version) and i need latest version, so this way is not an option for me.
Next, I made static build (with —enable-satic —disable-shared flags) using MinGW/msys and obtained (*.a) libraries in output.
In Visual Studio I go to the linker properities and add to Additional Dependencies(Linker->Input) libvacodec.a and libgcc.a.
Then i wrote simple application :#include
#include
extern "C"
{
#ifdef __STDC_CONSTANT_MACROS
#define __STDC_CONSTANT_MACROS
#endif
#include "libavcodec/avcodec.h"
}
#include "libavformat/avformat.h"
int main()
{
av_register_all();
return 0;
}Compilation of this code was succeeded but linking failed. There is an error was obtained :
error LNK2019: unresolved external symbol "void __cdecl av_register(void)" (?av_register_all@@YAXXZ) referenced in function _main.
So, there are two questions :
-
How to link Visual Studio application with libavcodec.a ?
-
If it possible, where can i get visual studio solution which includes ffmpeg latest version ?
Thanks in advance !!
-