
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (62)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (7674)
-
Revision 26cec5c13f : Basic encryption feature for libvpx. New decoder control paramter VP8_SET_DECRY
16 mars 2013, par Dmitry KovalevChanged Paths : Modify /configure Modify /test/decode_test_driver.cc Modify /test/decode_test_driver.h Modify /test/encode_test_driver.cc Modify /test/test.mk Modify /test/vp8_boolcoder_test.cc Add /test/vp8_decrypt_test.cc Modify /vp8/decoder/dboolhuff.c (...)
-
Ffmpeg merge videos from images with videos and audio cut
30 mars 2021, par Trofingot a question about fluent ffmpeg, i'm quite new to it so need some help.


I'm trying to get images and videos from S3 so i can make a full video from them.
So i'm making videos with .loop with certain video length from images.
Then i'm adding a normal video with it's audio.
Then i'm cutting audio length so the audio that was added will play only on the videos made from images.
When the video which was merged with the videos from images will come to play it will have his own audio.
The thing is that if i merge all videos i get this error :

An error occurred while merging video files: ffmpeg exited with code 1: Cannot find a matching stream for unlabeled input pad 7 on filter Parsed_concat_0.


So i need to add an audio to the video which was not made from images so that the stream could work. How can i avoid this and let that video have it's own audio ? what inputOptions should i add ? Also when i cut the audio it has a delay, what audioFilters can i add ?


``


const videosFromImages = [];
 VIDEO_CONFIG.fragments.forEach((fragment) => {
 videosFromImages.push(function (callback) {
 let ffmpegInstance = ffmpeg(
 `./images/images-with-same-size/${fragment.filename}`
 );

 if (fragment.duration && fragment.type === "image") {
 ffmpegInstance.loop(fragment?.duration);
 }

 if (fragment.type === "image") {
 ffmpegInstance
 .addInput("./audio/audio.mp3")
 .inputOptions(
 "-ss",
 time,
 "-to",
 time + fragment.duration,
 "-async",
 "1"
 );

 time = time + fragment.duration;
 console.log("time:", time);
 }

 ffmpegInstance
 .videoCodec("libx264") // Codec from api
 .videoBitrate("12000k") // Video Quality
 .videoFilters([
 {
 filter: "fade",
 options: "in:0:15",
 },
 ]) // Transitions
 .on("error", function (err) {
 console.error("An error occurred: " + err.message);
 })
 .on("end", function () {
 res.write(`<p>Processing finished for ${fragment.filename}</p>`);
 fragment.filePath = `./output/project-${VIDEO_CONFIG.projectId}/videos/video-${fragment.filename}.avi`;

 callback(null, fragment);
 })
 .save(
 `./output/project-${VIDEO_CONFIG.projectId}/videos/video-${fragment.filename}.avi`
 );
 });
 });

 async.series(videosFromImages, function (err, videosFromImages) {
 // result now equals 'done'
 async.waterfall(
 [
 (done) => {
 console.log("VIDEO_CONFIG", VIDEO_CONFIG.fragments);

 VIDEO_CONFIG.fragments
 .reduce((prev, curr) => prev.input(curr.filePath), ffmpeg())
 .outputFPS(60)
 .on("error", (err) => {
 res.end();
 console.log(
 `An error occurred while merging video files: ${err.message}`
 );
 })
 .on("end", () => {
 res.write("FINAL VIDEO END");
 res.end();
 console.log("end:");
 })
 .mergeToFile(
 `./output/project-${VIDEO_CONFIG.projectId}/final-video-${VIDEO_CONFIG.projectId}.mp4`
 );
 done(null);
 },
 ],
 (err) => {
 if (err) {
 console.log("err:", err);
 }
 }
 );
 });

 res.write("<p>Processing</p>");
} catch (error) {
 console.error("error:", error);
}



``


-
doc/faq : use texi's @tie instead of 0xA0 for non-breaking space
7 janvier 2024, par Marth64