
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
Autres articles (82)
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (2201)
-
why I can't compile x264 or ffmpeg downloaded from git [closed]
4 avril 2013, par Monjura RumiIt has been just a few days that I am using x264, ffmpeg and trying to take help from codes in git. I am always having some peculiar problem. It seems like no one or few people faced such problems. Here is one of those problems. If I download x264 or ffmpeg using git then I could not compile that source code. At first terminal will show
./configure: Permission denied
. Then If I change permission of configure file usingchmod 755
command then it will show./configure: /bin/bash^M: bad interpreter: No such file or directory
. To build x264 and ffmpeg I have followed this link https://github.com/lince/libffmpeg-c/wiki. My attempt to compile x264 has failed. Can you please tell me how can one use source code downloaded from git ? -
PHP ffmpeg not found
17 décembre 2020, par heisenbergso I already browse all the forum but I still get error "sh : 1 : /usr/bin/ffmpeg : not found".
If I run ffmpeg from terminal it works just fine and can do convert video without problem, but if I use PHP exec or shell_exec, the return always ffmpeg not found.


this is my code :


$cmd = "/usr/bin/ffmpeg";

$run = exec($cmd." -i 'linkvideo.m3u8' -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 /test_stream/newfile.mp4 2>&1");

var_dump($run);



if I run which ffmpeg or whereis ffmpeg from terminal it will return /usr/bin/ffmpeg, but if I exec('which ffmpeg') from my code it will return ffmpeg not found. I already chown and chmod the ffmpeg to grant rwx, i tried move ffmpeg to /usr/local/bin still same result. If i run whoami from terminal it will show root but if from my code using exec('whoami') it will show www-data so maybe I miss something about the user but I also already tried to chown ffmpeg from root to www-data still the result is ffmpeg not found, maybe anyone can help, I'm using codeigniter and already install ffmpeg in server using sudo apt-get ffmpeg, thanks before !


-
why I can't compile x264 or ffmpeg downloaded from git
4 avril 2013, par Monjura RumiIt has been just a few days that I am using x264, ffmpeg and trying to take help from codes in git. I am always having some peculiar problem. It seems like no one or few people faced such problems. Here is one of those problems. If I download x264 or ffmpeg using git then I could not compile that source code. At first terminal will show
./configure: Permission denied
. Then If I change permission of configure file usingchmod 755
command then it will show./configure: /bin/bash^M: bad interpreter: No such file or directory
. To build x264 and ffmpeg I have followed this link https://github.com/lince/libffmpeg-c/wiki. My attempt to compile x264 has failed. Can you please tell me how can one use source code downloaded from git ?