
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (85)
-
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 -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
MediaSPIP Init et Diogène : types de publications de MediaSPIP
11 novembre 2010, parÀ l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)
Sur d’autres sites (8914)
-
Concatenate multiple videos with a black screen interval into one video
21 mars 2016, par AHCI am using ffmpeg to join a bunch of videos together.
I am using the classic join ffmpeg code :ffmpeg -f concat -i joinlist.txt -c copy joinedfile.mp4
but the problem is that the videos are of different formats, encodings, but the same size : all 640x480. I want to join them all and put a black screen video with no sound every other video :
video1 + black_screen_video + video2 + black_screen_video + video3 ...
I generated a black screen video of 2 seconds duration using :
ffmpeg -f lavfi -i color=c=black:s=640x480:d=2 black_screen_video.mp4
so all of the videos are of the same size : 640x480, and 25 fps but different codecs. The videos have sound, except for the black screen video.
I can’t do anything manual, because the number of videos are around several hundred. So it has got to be an automatic way to do all this.When I joined them together using the above code, the resulting video does not play correctly at all.
I know that I have to re-encode them, but how to do this to all these videos at once, with one line of code ?
Update :
I am already using with success this code to join them together, but only three, if I have more than one hundred, it is time consuming to write down one by one :ffmpeg -i vid1.avi -i vid2.avi -i vid3.avi -filter_complex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] [2:v:0] [2:a:0] concat=n=3:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" output.mp4
but this is joining only the videos, not looping the black screen video. When I do with black screen, ffmpeg gives me stream matching errors.
-
How to concatenate multiple M4P videos with FFMPEG without audio sync issues ?
16 mars 2016, par sb3kI have been trying to concatenate a number of MP4 clips (h264,aac) using the FFMPEG concat protocol documented here. The clips concatenate successfully, however there are multiple errors in the logs including :
- Non-monotonous DTS in output stream
- Past duration too large
Additionally, it seems that the audio and video go slightly out of sync as more clips are added - though it is more noticeable on certain players (Quicktime & Chrome HTML5).
Here is the code I am using, any tips would be appreciated !
Convert each video to temp file
ffmpeg -y -i <input file="file" /> -vcodec libx264 -acodec aac -f mpegts -bsf:v h264_mp4toannexb -mpegts_copyts 1 <temp file="file"></temp>
Concat temp files
ffmpeg -i concat -map 0 -vcodec copy -aprofile aac_low -acodec aac -strict experimental -cutoff 15000 -vbsf aac_adtstoasc -b:a 32k <output file="file"></output>
-
avformat/mxfdec : do not log warning of multiple ANC packets if count is 0
4 août 2022, par Gavin Smith