
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (66)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (10603)
-
mac terminal ffmpeg batch recursive conversion preserving directory structure
13 avril 2020, par kidnimi'm using ffmpeg on mac to batch convert .flv to .mp4 files. i'm trying to find all files in subdirectories of the current directory and save new files in the same directory.



for instance starting with :



subdirectory1/video1.flv
subdirectory1/video2.flv
subdirectory2/video1.flv




and ending with



subdirectory1/video1.mp4
subdirectory1/video2.mp4
subdirectory2/video1.mp4




i've gotten this far but can't figure out how to save with preserved recursive directories



for i in `find -name . "*.flv"`; do ffmpeg -i "$i" "${i%.*}.mp4"; done



-
Execute multiple commands in background from terminal & redirecting output
9 octobre 2016, par GuernicaI’m running ffmpeg via an exec command from php. I need to wait for the command to finish executing and run another command to call a php script.
I need the output to be redirected to text files.
This i have accomplished with the following code but it wont execute in the background. PHP hangs until the script has finished executing.
exec("ffmpeg -i INPUTFILE -f mp4 -vcodec libx264 -preset fast -profile:v main -acodec aac -strict -2 OUTPUTFILE -hide_banner 1> /tmp/1.txt 2>/tmp/1.txt && php PATH_TO_PHP_SCRIPT/complete.php id=11 1> /tmp/11.txt 2> /tmp/11.txt &");
Any help would be greatly appreciated.
EDIT : I’ve got the required functionality by calling my original php containing the above code from another php containing
exec("php convert.php id=".$id." 1> /tmp/".$id."_error.txt 2>/tmp/".$id."_error.txt &");
I would rather leave this question open to find a more elegant solution or information as to why my original code at the top doesn’t function in the way i would expect.
-
FFmpeg command works in terminal but gives an error in php code
21 mai 2021, par RiderUse this command :


ffmpeg -i lecture.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8



It works.


$path = '1/';
 $inputFile = 'lecture.mp4';
 $filePath = 'filename.m3u8';
 $commandOutput = exec ('/opt/ffmpeg/ffmpeg -I '.$path .$inputFile. ' -Codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls'.$path .$filePath);



Using this PHP code I get the error :
At least one output file must be specified


What is causing this error ?