
Recherche avancée
Autres articles (58)
-
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 -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (11937)
-
ffprobe json output not working in exec, but works in CMD
26 novembre 2015, par Nicholas WalkerI’ve installed ffmpeg on my windows 2008 server.
I use this string in CMD and i get what i want to get in my
PHP file :
ffprobe -v quiet -print_format json -show_format -show_streams "C:\wamp\www\uploads\fc30e528b500b26a391ed4f5ed484310.mp4"
This is my PHP function i found on another stackoverflow question, it had great feedback so i tested it.
$file_name = 'fc30e528b500b26a391ed4f5ed484310';
$file_ext = 'mp4';
$ffprobe = 'C:\\ffmpeg\\bin\\ffprobe.exe';
$videoFile = 'C:\\wamp\\www\\uploads\\'.$file_name.'.'.$file_ext;
$cmd = shell_exec($ffprobe .' ffprobe -v quiet -print_format json -show_format -show_streams "'.$videoFile.'"');
$parsed = json_decode($cmd, true);
print_r($parsed);What is get back is nothing. I also tried using the same function i used with ffmpeg(which i got working for ffmpeg).
$cmd = $ffprobe.' ffprobe -v quiet -print_format json -show_format -show_streams "'.$videoFile.'" 2>&1';
echo shell_exec($cmd);This also brings back nothing.
Any ideas ?
-
Building FFmpeg.NET .dll
9 juin 2014, par user2656632I need to use some FFmpeg functions in C# (to be precise, in GTK#). So I downloaded wrapper FFmpeg.NET. After that I try to build FFmpeg.NET.2008.sln(reference : I will build dll in Visual Studio 2008, but will use in GTK#), then get the following errors :
Error 1 error PRJ0019 : A tool returned an error code from "Performing
Makefile project actions" FFMpeg.NET
Error 2 The referenced assembly
"C :\Users\Zhenya\Documents\ffmpegdotnet-94877\bin
(debug shared)\ffmpeg.net.dll" was not found. If this assembly is
produced by another one of your projects, please make sure to build
that project before building this one.How to fix these issues ?
Or how to correctly build this wrapper to get .dll ? -
How to build FFmpeg.NET .dll ?
1er mars 2014, par user2656632I need to use some FFmpeg functions in C# (to be precise, in GTK#). So I downloaded wrapper FFmpeg.NET. After that I try to build FFMpeg.NET.2008.sln(reference : I will build dll in Visual Studio 2008, but will use in GTK#), then get the following errors :
Error 1 error PRJ0019 : A tool returned an error code from "Performing
Makefile project actions" FFMpeg.NET
Error 2 The referenced assembly
"C :\Users\Zhenya\Documents\ffmpegdotnet-94877(CLEAR)\bin
(debug shared)\ffmpeg.net.dll" was not found. If this assembly is
produced by another one of your projects, please make sure to build
that project before building this one.How to fix these issues ?
Or how to correctly build this wrapper to get .dll ?
Thanks !