
Recherche avancée
Autres articles (73)
-
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. -
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) (...)
-
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...)
Sur d’autres sites (7942)
-
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 !


-
How can we extract the RTP packet sequence number from AVPacket (ffmpeg)
9 décembre 2015, par NechWe are trying to extract the "Sequence Number" from the RTP header of a packet.
We use av_read_frame in order to read the packets into AVPacket structs.We tried using the AVPacket.data field, hoping it holds the original payload, but we didn’t manage to find the right location of the header. So we assume that the data field does not hold the full payload - please correct if we are wrong.
Is there a way to find the RTP header information ?
-
How can we extract the RTP packet sequence number from AVPacket (ffmpeg)
6 septembre 2019, par NechWe are trying to extract the "Sequence Number" from the RTP header of a packet.
We use av_read_frame in order to read the packets into AVPacket structs.We tried using the AVPacket.data field, hoping it holds the original payload, but we didn’t manage to find the right location of the header. So we assume that the data field does not hold the full payload - please correct if we are wrong.
Is there a way to find the RTP header information ?