
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (46)
-
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 -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (10321)
-
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 ?
-
Extract frames with ffmpeg - command [closed]
20 juin 2021, par lirani try to extract frames from video and i found this command :


$"-ss 00:00:01 -t 00:00:06 -i {videoPath} -r 5.0 {resultFolderPath}\\%4d.jpg"



who can explain my this command ?


If for example I want to extract frames from video length of 30 seconds with 60 fps so the expected result is 1800 frames. how can I use this command on this way ?


-
How to add compression to ffmpeg command
13 septembre 2019, par balfredI am trying to add a good level of compression to the following ffmpeg command or if it is already good can you help me understand ?
I have seen that people might have luck using this command but I dont know how to merge it into mine
ffmpeg -i sourceFilePath -vcodec h264 -acodec mp3 newFilePath
This is my current command that I am using that I need help understanding why the previous command might be a better solution but how to implement my additional arguments
ffmpeg -i sourceFilePath -vcodec libx264 -profile:v baseline -level 3 newFilePath
I want to see optimal compression and still have my existing functionality using my additional arguments. I dont know what will produce the best results, this is out of my area of expertise.