
Recherche avancée
Autres articles (51)
-
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 ) (...) -
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
Sur d’autres sites (7605)
-
Anomalie #2201 (Fermé) : balise li dans un message de forum
19 août 2011, par cedric -corrigé a minima par http://zone.spip.org/trac/spip-zone/changeset/50553 mais il faudra y revenir
-
How do I integrate the FFMPEG commands with Python Script ?
12 janvier 2021, par Sukhada DeshpandeI am trying to extract the frames when the scene changes in an .mp4 video.
The package that I am using is FFMPEG.
FFMPEG predominantly works on the CLI and I am trying to integrate it with Python3.x


The command I am using in the CLI is :


ffmpeg -i {0} -vf "select=gt(scene\,0.5), scale=640:360" -vsync vfr frame%d.png



The output comes out just fine with the CLI execution.


But I want to use same command in a Python script, how do I do that and what should be the code ?


Being an amateur in the field, currently grappling with this !


-
Batch converting multiple video formats in nested directories
1er octobre 2020, par Dave CoffinI'm running Arch/Gnome and am trying to convert a few hundred gigs of family videos from various formats (mov, wmv, mkv, avi mainly, but a few curveballs too) into trusty mp4s.


My scripting knowledge is strictly amateur, so far I have ;


for i in *.avi; do ffmpeg -i "$i" "${i%.*}.mp4"; done


That works fine for one directory. There are hundreds. I'd like to replace that one-liner with something more encompassing that I can just run and go to bed.


Wish list ;


- 

-
run recursively


-
convert from mov, wmv, mkv and avi without having to run separate scripts


-
delete old file upon successful completion


-
keep the same file name


-
if it finds an error, just skip the file and keep going - don't stop the process














Any help with any and/or all of these bits to cobble something together that'll work would be most appreciated.


-