
Recherche avancée
Autres articles (74)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (7915)
-
Batch Avisynth process using FFMPEG
26 juin 2018, par stonehengeI have the following windows command prompt code that works to process a single .avs script
ffmpeg -i clip01.avs -c:v libx264 -preset veryslow -crf 16 clip01.mp4
Now I want to change it so that it processes multiple .avs scripts that are all the same except that they process a different file. The .MP4 file name should be the same name as the .avs script file name.
I have tried many approaches such as the following that I know is wrong (especially the code for creating the file name)
(for %i in (*.avs) do ffmpeg -i %i -c:v libx264 -preset veryslow -crf 16) "%~dpnI.mp4"
Edit - this seems to have done the trick
for %I in (*.avs) do ffmpeg -i %I -c:v libx264 -preset veryslow -crf 16 "%~nxI.mp4"
-
Executing a batch file on a remote server
2 février 2018, par Mitchell DayI have an IIS server with Php and have been trying to execute scripts using exec() and system() with no luck. When i go to the machine and run it by double clicking it, or by opening command and running the batch file, 4 windows pop open with ffmpeg streams going and dump to folder.
With
exec("cmd.exe 'c:\inetpub\wwwroot\estf\batch\srRecord.bat'");
I am getting some of the batch file process working (creates new folder and dumps to file, but i can’t see the cmd gui anywhere. And my stop.bat won’t taskkill the ffmpeg process.Is there a way to bring up the cmd GUI on the external device, also a way to run the exec() command and pass on so that other devices or batch files can kill these tasks (i am thinking that because the php is still running it, nothing else has rights to stop it.
Regards,
Mitchell
-
Installed FFMPEG via pip in virtualenv, but can't find the ffmpeg.exe file
23 février 2023, par whatwhatwhatI created a virtualenv in my project folder, then activated it using the following :


pip install virtualenv
virtualenv venv
venv\Scripts\activate



I then ran
pip install ffmpeg
. It installed successfully. Now I want to run a python file that needs to know the path offfmpeg.exe
, but when I looked inC:\...\venv\Lib\site-packages\ffmpeg
there is noffmpeg.exe
file in there. Where is this EXE file when you work with a virtualenv ? Below is the line where I need to hard-code the path toffmpeg.exe
.

plt.rcParams['animation.ffmpeg_path']='???'