
Recherche avancée
Autres articles (59)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 ) (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (6376)
-
Passing file name in youtube-dl post-process script without file extension suffix
2 avril 2021, par AreteThe documentation for youtube-dl says I can run a post-process command with the
--exec
option.

Using Windows, here is an example I have tried :


youtube-dl --exec "ffmpeg -i {} -ac 2 -c:a libfdk_aac -cutoff 20000 -afterburner 1 -vbr 0 {}.m4a" https://www.youtube.com/watch?v=sw9DlMNnpPM



Note that
{}
passes the file name to the post-process command. For examplefilename.webm
.

The problem is that
{}
includes the file extension.

How can I pass the file name to the post-process command without the file extension ?


For example, if I were to convert the video, I would rather avoid getting an output name like
filename.webm.m4a
. Needless to say, I would rather wantfilename.m4a
.

-
How to create a slideshow using ffmpeg with the length of output file based on the audio file
8 janvier 2018, par NPVI’m trying to create some videos from a certain photos and audio. I’ve been looking for something similar but haven’t figured out yet. My idea looks something like this.
I have some photos, let’s name them a b c d e (all in jpg) and an audio file A.mp3 and an overlay image P.npg
I want to create a slideshow with its length equal the audio file’s length. Photos in the slide can be place randomly. The overlay image is on top of the video.Can anyone help me with this ? Thank you guys so much.
-
Fetch an input file dynamically in a batch file to perform operations on it
25 mars 2019, par Piyush — batch-file, ffmpegI have created a batch-file which uses ffmpeg to extract frames of a video to
.jpg
.ffmpeg -i sample.mp4 -r 5 E:\frames\createdFrames%%d.jpg
It works completely fine and created the desired frames, however I want to give the sample video dynamically, i.e. pass it when the batch file is being executed.
How can I pass the input file dynamically ?
If possible, also discuss how to store the file dynamically, i.e pass the directory where I want to store the file when the batch is being executed.