
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (47)
-
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 -
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 -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (9770)
-
log : Do not assume the TERM variable is always set
3 avril 2014, par Luca Barbato -
i need execute root command in PHP
21 novembre 2013, par Olaf ErlandsenFirst, my php own user is : wwwhaber
Second, i need execute a root command with php.
My root command is :
/root/bin/ffmpeg
i tried append this code in sudorders :
wwwhaber ALL=NOPASSWD: /root/bin/ffmpeg
And, comment this :
# Defaults requiretty
But still does not work.
My PHP Script :
exec( "/root/bin/ffmpeg" );
And result :
sh : ffmpeg : command not found
But if I run the command from SSH, it works.
I tried with the nexts commands :
/root/bin/ffmpeg
return sh : /root/bin/ffmpeg : command not found
/usr/bin/sudo /root/bin/ffmpeg
return sh : /usr/bin/sudo : command not found
sudo /root/bin/ffmpeg
return sh : sudo : command not found
sudo ffmpeg
return sh : sudo : command not found
ffmpeg
return sh : ffmpeg : command not found
It does not work...
My OS :
Linux 2.6.32-458.18.1.lve1.2.39.el6.x86_64 #1 SMP
Mon Sep 16 12:10:28 EEST 2013 x86_64 x86_64 x86_64 GNU/LinuxMy PHP version :
5.4.21
And, Please take note that only want to use command line PHP.
I do not want to use SSH, FFmpeg-PHP, etc.. I just want to use the commands from PHP as user root.Any idea that I have to do ?
-
How to create silent .ogg audio file
19 septembre 2019, par James NewtonIn answer to the question "How-to make a silent mp3 or wav-file" on ubuntuforums.org FakeOutdoorsman provided the following recipe :
Another method by using FFmpeg. 60 seconds of silent audio in WAV :
ffmpeg -ar 48000 -t 60 -f s16le -acodec pcm_s16le -ac 2 -i /dev/zero -acodec copy output.wav
60 seconds of silent audio in MP3 :
ffmpeg -ar 48000 -t 60 -f s16le -acodec pcm_s16le -ac 2 -i /dev/zero -acodec libmp3lame -aq 4 output.mp3
How could I do something similar to create a silent .ogg audio file ?
For a web app, I want to create a very short file for testing whether the browser will preload an audio file, or whether it will wait until the file is actually played before starting to stream it.