
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (45)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
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 (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (5960)
-
How to batch auto-generate videos according to audio length
16 septembre 2020, par yocibaI have hundreds of folders of Spanish short stories, with each folder having dozens of individual .MP3 files for each dialogue spoken. Along with the .MP3 files, lies in the folder, a JSON file of the format
["folder1-dialogue-1", "folder1-dialogue-2",...]
.

I want to generate images, each containing the text values of the JSON file, like
folder1-dialogue-1
and generate videos combining that image with its corresponding audio(folder1-dialogue-1.mp3)
, and then merge all the videos in the folder into one -folder1.mp4


How do I go about doing this ?


P.S I'm not straight up asking for code, but just advice as to how I go about doing this.


-
vmd : decode videos with no LZ buffer size provided - they might not need it
1er juin 2013, par Kostya Shishkov -
Concatenating chunks of videos with different formats using FFmpeg
11 avril 2014, par SCCI was exploring the functionalities of FFmpeg recently. I have two different videos with different formats (e.g. mov and mp4). I will first split these videos up into smaller chunks, and concatenate them back with a mix of chunks from these two videos. However the concatenated video wasn't able to show properly. I did some research and found that mp4 cannot be concatenated using the normal concatenation method since it contains extra headers and information. Therefore I first converted all the videos into mpg, split them up, concatenate an convert back to mp4. However, still no luck on that.
Below are the commands I used :
// convert input (1st video) to mpg
ffmpeg -i input.mp4 input.mpg
// convert to keyframe video
ffmpeg -i input.mpg -strict -2 -g 20 keyframe_input.mpg
// split keyframe_input into smaller chunks
ffmpeg -i keyframe_input.mpg -acodec copy -f segment -segment_time 0.3 -segment_list s.m3u8 -vcodec copy -reset_timestamps 1 -map 0 split_input-%d.mpg
// convert input2 (2nd video) to mpg
ffmpeg -i input2.mov input2.mpg
// convert to keyframe video
ffmpeg -i input2.mpg -strict -2 -g 20 keyframe_input2.mpg
// split keyframe_input2 into smaller chunks
ffmpeg -i keyframe_input2.mpg -acodec copy -f segment -segment_time 0.3 -segment_list s.m3u8 -vcodec copy -reset_timestamps 1 -map 0 split_input2-%d.mpg
// concatenate video according to the video files written in mylist.txt
ffmpeg -f concat -i mylist.txt -c copy output.mpgWhen I tried to concatenate these chunks of videos, errors were thrown out saying buffer underflow, packet size too large.
Any FFmpeg experts out there to give some advices ?