
Recherche avancée
Autres articles (97)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (11192)
-
How can I pipe the filename into an ffmpeg command ?
20 octobre 2019, par Lee ProbertI would like to run this command in the terminal :
ffmpeg -i -ac 2 -codec:a libmp3lame -b:a 48k -ar 16000
on everymp3
file in a folder.The input and output could be the same (an overwrite), but if this is not possible, if there was a way to take the filename and append
_converted
maybe ?I’m not a bash expert, but I know that I need to pipe the results of an
ls
command into the ffmpeg command using a variable perhaps ? -
ffmpeg : How do I create a 1 second video of 23 frames ?
8 septembre 2022, par Sprout CoderI have 23 frames :


frame-1.png
frame-2.png
....
..
frame-23.png



Each frame is 15840PX x 15840PX and around 240Mb in size.


I'm trying :


ffmpeg -r 23 -i "frame-%d.png" -c:v libx265 -r 23 out.mp4



and what I get in the end is a 12Mb video of 00:00 duration with no image


Also, right before the command completes execution (it takes quite some time obviously) I get :


[1] 12580 killed ffmpeg -r 23 -i "frame-%d.png" -c:v libx265 -r 23 out.mp4x



on the terminal.


I don't know if that means it failed or whether it's a normal log after completion.


Is my command wrong or is it impossible to execute due to the size of each frame ?


Thank you in advance for your help


-
How to convert video programmatically using ffmpeg
1er août 2018, par JasonStackMost applications of ffmpeg both in terminal and code seem to be passing ffmpeg commands to the ffmpeg library with specific parameters. For example, you might run the following command to get an overlayed gif out of a video input and a png input :
-i i.mp4 -i me.png -filter_complex 'overlay' -pix_fmt yuv420p -c:a copy output.gif
Is it possible to work with the library without using commands and only programmatically ? For example, by creating an FFmpeg object, passing it relevant parameters and then reading the output file from a specific directory, preferrably using C++ or Java.