
Recherche avancée
Autres articles (95)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
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 -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (10994)
-
Find the right path to my folder on server to execute cmd php
12 avril 2021, par Medsexec("ffmpeg -i $temp_name -r $FPS -vf scale='$resolutionWidth:$resolutionHeight' -b:v $bitrateVideo -bufsize $bitrateAudio videos/$videoURLnameTemp.mp4", $res);


This command works well locally, but once in production, the files are not stored in the video folder which is at the same level as the file in the server. Is there any way to get the output on the exec function to catch an error or something ? I tried the output by reference in the method but when I do a var_dump of the result, I get an array(0) {}.


I also tried to put the realpath in the path but it doesn't seem to work. ffmpeg is located at the same level as all files and the videos folder.


-
ffserver : Fix off by 1 error in path
22 octobre 2017, par Michael Niedermayer -
Add mkvmerge and ffmpeg to the binaries folder or to path
31 janvier 2019, par SimonI searched the forum for a similar post but couldnt find anything similar.
I run Win 10 in a VM with Python 3.70.
I’m a beginner with PATHs and terminals etc so basically what Im looking for is how to fix this error/You must add ['mkvmerge', 'ffmpeg'] to the binaries folder or to path
Like I said, Im running Python 3.70 and not really sure where to put my ffmpeg/mkvmerge files. could anyone please give me a hint.
further down in the .py document I can adjust this part and this IS where I get stuck.
#~ NEVER MODIFY THESE LINES! (Unless you are absolutely sure about what you are doing then: mod away (LOL))
SCRIPT_PATH = dirname(realpath(__file__))
THE_BINARIES_FOLDER = join(SCRIPT_PATH, BINARIES_FOLDER)any help ?