
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (99)
-
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 (...) -
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 (8239)
-
FFmpeg Batch extracting frames from multiple videos on Windows
23 décembre 2022, par ujjallyI want to extract frames/images per video that will import from a directory and then save those frames into a new folder and the folder name as import video filename.


I tried the below code on Linux and it works perfectly but i can't convert the code to Windows


for i in *.mp4; do mkdir -p "${i%.*}" && ffmpeg -i "$i" -vf fps=1/1 "${i%.*}/%d.jpg"; done



I tried the Linux bash shell on windows and it's worked.

Does have any other options/formats to properly write or convert the code for Windows OS ?

-
How to make FFmpeg use output codec and pix_fmt same with input
23 août 2014, par TwilightSunI’m trying to write a batch process shell script resizing videos, that are of unpredictable codecs and containers.
I expected that the resized video should be mostly the same with the original one except image sizes. Which means that a video with png codec in a mov container should output with png codec not h264.But I realized that only keeping the extension names the same are not enough. FFmpeg tends to use default encoder associated with the extension name rather than trying to keep the same with the input.
Is there any magical parameter that will tell FFmpeg to try to use input codec instead of guessing by output file name ?
Running FFmpeg twice to get information in advance would be my last choice, because it will make my script a lot more complicated.
-
GIF file running only once in MP4 output file using FFMPEG
5 février 2023, par asdasd asdasdI have a gif file with accompanying mp3 music.


My goal is to run the gif file with the mp3 music file and out-put it as an MP4 file. This works, HOWEVER


Once the file is outputted, I have some issues


Firstly, the gif runs only once and freezes after that, the music runs until the file ends.


Here is the fmpegg command I am using


subprocess.run(
 ["ffmpeg", "-i", gif_file, "-i", chosen_mp3, "-pix_fmt", "yuv420p", "-t", "10", "-loop", "0", output_file],
 check=True,shell=True
 )



How can I make it so that the gif does not freeze up after running once, i.e loops until end of file or loops for an N amount of times ?


In the code above, I tried to make it loop for 10 seconds but still the same issue is happening.