
Recherche avancée
Autres articles (112)
-
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...)
Sur d’autres sites (4214)
-
Be less verbose about dca channel number changes.
28 octobre 2011, par Carl Eugen HoyosBe less verbose about dca channel number changes.
-
Add reading of disc number to mov.c
25 mai 2011, par Reuben ThomasAdd reading of disc number to mov.c
-
FFMPEG - concatenation of a dynamic number of files with different codecs
15 septembre 2020, par timrodenbroekerI am trying to write a bash-script for FFMPEG that concatenates a dynamic number of video-files with different codecs.


This is what i have right now : The script basically does the job and concatenates 3 videos.


ffmpeg -i 1.mp4 -i 2.mp4 -i 3.mp4 \
 -filter_complex "[0:v] [0:a] [1:v] [1:a] [2:v] [2:a] concat=n=3:v=1:a=1 [v] [a]" \
 -map "[v]" -map "[a]" out.mp4



But as mentioned i would like to write a script which can process a dynamic number of video-files.


For this purpose i have created a text file that contains all the source-material.


file './lib/intro.mp4'
file './temp/1.mp4'
file './temp/2.mp4'
file './temp/3.mp4'
file './lib/outro.mp4'



I know that i can easily pass a text-file to the
-i
parameter. The problem is that it the-filter_complex
-parameter is not dynamic. The number of files is fixed here.

ffmpeg -i files.txt \
 -filter_complex "[0:v] [0:a] [1:v] [1:a] [2:v] [2:a] concat=n=3:v=1:a=1 [v] [a]" \ 
 -map "[v]" -map "[a]" out.mp4



Is it possible to modify the script to concatenate a dynamic amount of video-files ?


Thanks in advance !