
Recherche avancée
Autres articles (75)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (3906)
-
ffmpeg is not working in web hosting server
27 avril 2020, par arindom ghoshThis is my code running in my local system, which works fine.



<?php 
 $ffmpeg = "C:\\ffmpeg\\bin\\ffmpeg";
 //$ffmpeg = "/home1/doitteco/public_html/bishal/ffmpeg/bin/ffmpeg";
 echo $ffmpeg."<br />";
 $videoFile = "C:\\xampp\\htdocs\\Wildlife.wmv";
 $audioFile = "convert2Mp3.mp3";
 $cmd = "$ffmpeg -i $videoFile $audioFile";
 echo $cmd."<br />";
 if (!shell_exec($cmd)) {
 echo "success";
 } else {
 echo "fail";
 }

?>




And the following code is for the server :



<?php 
 //$ffmpeg = "C:\\ffmpeg\\bin\\ffmpeg";
 $ffmpeg = "/home1/doitteco/public_html/bishal/ffmpeg/bin/ffmpeg";
 echo $ffmpeg."<br />";
 $videoFile = "/home1/doitteco/public_html/bishal/small.mp4";
 $audioFile = "convertMp3.mp3";
 $cmd = "$ffmpeg -i $videoFile $audioFile";
 echo $cmd;
 if (!shell_exec($cmd)) {
 echo "<br />"."success";
 } else {
 echo "fail";
 }

?>




I am not getting any error but the code is not working.It is not extracting the audio from the video file.


-
ffmpeg is not working in web hosting server
15 septembre 2016, par arindom ghoshThis is my code running in my local system, which works fine.
<?php
$ffmpeg = "C:\\ffmpeg\\bin\\ffmpeg";
//$ffmpeg = "/home1/doitteco/public_html/bishal/ffmpeg/bin/ffmpeg";
echo $ffmpeg."<br />";
$videoFile = "C:\\xampp\\htdocs\\Wildlife.wmv";
$audioFile = "convert2Mp3.mp3";
$cmd = "$ffmpeg -i $videoFile $audioFile";
echo $cmd."<br />";
if (!shell_exec($cmd)) {
echo "success";
} else {
echo "fail";
}
?>And the following code is for the server :
<?php
//$ffmpeg = "C:\\ffmpeg\\bin\\ffmpeg";
$ffmpeg = "/home1/doitteco/public_html/bishal/ffmpeg/bin/ffmpeg";
echo $ffmpeg."<br />";
$videoFile = "/home1/doitteco/public_html/bishal/small.mp4";
$audioFile = "convertMp3.mp3";
$cmd = "$ffmpeg -i $videoFile $audioFile";
echo $cmd;
if (!shell_exec($cmd)) {
echo "<br />"."success";
} else {
echo "fail";
}
?>I am not getting any error but the code is not working.It is not extracting the audio from the video file.
-
OpenCV no longer working after Homebrew install
28 mars 2014, par Tom smithI have have been running OpenCV from QT creator on Mac OSX.
I was having trouble getting VideoWriter to work so it was suggested I try installing ffmpeg with opencv.
Using brew I executed this commandbrew install homebrew/science/opencv --with-ffmpeg
However, during this process I received the following error
Warning: Could not link opencv. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link opencv'The "possible conflicting files were mostly from "/usr/local/include/opencv2/"
I tried the command brew suggested but this gave me a permission denied warning so I found a fix to execute before the command, both of which are below.
sudo chown -R `whoami` /usr/local
brew link --overwrite opencvThis appeared to execute correctly giving me the following response
Linking /usr/local/Cellar/opencv/2.4.8.2... 251 symlinks created
The problem is this now seems to have broken my working project. When I try to run the project now I get the following errors
Unfortunately after trying to rebuild the project I cannot get the error below to show up in the terminal again but it said the following error, was expected in /usr/local/include but not found in the build directory (afraid I cannot be sure of the exact wording)dyld: lazy symbol binding failed:
In QT creator however, when trying to build the project it says
error: symbol(s) not found for architecture x86_64
error: linker command failed with exit code 1 (use -v to see invocation)Any suggestions for a fix, and also how I can get VideoWriter to work with opencv on Mac OSX after I have my project working again ?