
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (41)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
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 (...)
Sur d’autres sites (6934)
-
PHP/ffmpeg (Windows 7) : - Permission Denied. Tried everything, but still doesn't work
27 octobre 2014, par user365465I have a command-line PHP script that, when given the folder name as an argument when executing the script, will find all images in said folder and resize them using FFmpeg. Problem is, I always get a Permission Denied error in FFmpeg when it attempts to get at the files within the folder. This is while being on Windows 7.
The big problem is that I’ve tried every solution that keeps popping up on the interwebs when I search for how to fix it. I’ve changed the settings in Avast !, did the attrib command (both as normal and "Run as Administrator") to unmark as read-only, took ownership of the folder both via command line and using that GUI takeown context menu thing everyone keeps throwing around (obviously before my efforts to mark everything as not-read-only), messed with permissions, everything. I keep searching and searching for a solution, but all of the sites keep throwing out the same things over and over again - things that I’ve already tried multiple times. I’m at the end of my rope here. All I want to do is resize images quickly and automatically so I can put them up on my website, yet this has been a massive headache...
Please help me ! :(
Update (Additional Points) :
-
The error is through FFmpeg, not PHP. FFmpeg spits out the permission denied error, the script just continues doing what it does normally (or, at least, it would if it weren’t for my die statement that kicks in in the event of FFmpeg failing).
-
FFmpeg will execute just fine if it’s run normally through the command line instead of through the script. However, this does not help the problem of me having to resize hundreds of photos by hand !
-
I’m just running this script in the normal terminal using the CLI engine. Weird use for PHP, I know, but since I already knew how to work with FFmpeg in PHP (but in Linux !) so I figured I might as well use the code as a normal, stand-alone program...
-
FFmpeg spits out the same error regardless of which PHP function is used to execute it. It happens for shell_exec, exec, passthru, and system.
-
-
ffmpeg commands work locally but not on server using ffmpeg heroku buildpack
26 août 2020, par Sarmad S.I am running the latest ffmpeg version. Commands work well locally and I am able to generate a video from images and to write text on the video and save in the desired format. However, not all commands work on server.


I am using heroku as a hosting provider, and I have installed ffmpeg buidpack to be able to run ffmpeg commands.


The problem is that not all commands work on server. For example when I wirte text on video, it does not allow space between
-filter_complex drawtext
commands and even the text. I get an error that complains about those spaces.
Even when I fix it (by removing spaces), it only generates an empty video (0 kb).

Command :


-filter_complex [1]drawtext=fontfile=exljbris-MuseoSansRounded-300.otf: text='here is some text': fontcolor=white: fontsize=38: box=1: boxcolor=black@0.5: boxborderw=5: x=(w-text_w)/2: y=(h-text_h)/2[v1]; [0][v1]vstack



Generating a video from one image works fine on server for some reason. Not really sure what the problem is.


locally i am running windows and using ffmpeg.exe to execute commands.


-
Call to Process works fine with Debug, but it doesn't work in the installed application
6 février 2019, par SantiI am developing a Windows Form program that has callings to ffmpeg library through the class
Process
.It works fine when I run it with the Debug in Visual Studio 2013. But when I install the program and I invoke the operation that call to the ffmpeg
Process
, it doesn’t work. The cmd screen appears an disappears and nothing happens.I have tried to know what can be happening getting a log file with the output of ffmpeg, in case it was a problem in the ffmpeg libraries. However, after executing it the log is empty, what means that the ffmpeg command has not been executed.
Can someone help me, please ?
The code is this :
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = "cmd.exe";
startInfo.Arguments = "/c " + ffmpegPath + " " + commandArguments;
using (Process processTemp = new Process())
{
processTemp.StartInfo = startInfo;
processTemp.EnableRaisingEvents = true;
processTemp.Start();
processTemp.WaitForExit();
}I am invoking to
cmd.exe
(not directlyffmpeg.exe
) because in the arguments sometimes there can be a pipe (that is why the command starts with "/c
").