
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (63)
-
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. -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
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) (...)
Sur d’autres sites (5940)
-
Streaming a programatically created video to youtube using node and ffmpeg
23 septembre 2020, par CaltropI've been trying to Livestream a programmatically created image to youtube using node. I've had very limited success using FFmpeg. While I have managed to create and save an image thanks to this insightful thread, I have yet to make the code work for streaming to an RTMP server.


const cp = require('child_process'),
 destination = 'rtmp://a.rtmp.youtube.com/live2/[redacted]', //stream token redacted
 proc = cp.spawn('./ffmpeg/bin/ffmpeg.exe', [
 '-f', 'rawvideo',
 '-pix_fmt', 'rgb24',
 '-s', '426x240',
 '-i', '-', //allow us to insert a buffer through stdin
 '-f', 'flv',
 destination
 ]);

proc.stderr.pipe(process.stdout);

(function loop() {
 setTimeout(loop, 1000 / 30); //run loop at 30 fps
 const data = Array.from({length: 426 * 240 * 4}, () => ~~(Math.random() * 0xff)); //create array with random data
 proc.stdin.write(Buffer.from(data)); //convert array to buffer and send it to ffmpeg
})();



When running this code no errors appear and everything appears to be working, however, YouTube reports that no data is being received. Does anybody know what is going wrong here ?


Update : This is really counter-intuitive but adding a slash to the destination like this
'rtmp://a.rtmp.youtube.com/live2/[redacted]/'
causes ffmpeg to throw a genericI/O error
. This is really weird to me. Apologies if the answer to this is obvious, I'm really inexperienced with ffmpeg.

-
Evolution #3841 : Augmenter la taille du cache par défaut (image)
19 octobre 2016, par b bD’accord pour le premier point, je passe presque toujours le cache (pas celui des images) à 100Mo sur mes sites en prod. Reste à discuter pour valider que cela n’aurait pas d’effet de bord contre productif.
Pour le deuxième point je ne comprends pas, c’est déjà le cas non ?
-
How can I split a series of clips from a video and then stitch them together without audio or video gaps ?
16 avril 2020, par Dr. Cyber SecI'm developing an application where I take a video and (1) split it up into a bunch of 1 second chunks. Then, I need to (2) stitch a subset of those chunks back together, resulting in a slice of the original video.



For example, let's say I have an original, 10s clip. I split it up into 1s chunks for each second (a clip from 0s to 1s, a clip from 1s to 2s, etc.). I now need to stitch, say, seconds 2-4 together into one video.



I'm currently attempting both steps using
ffmpeg
.


For clip-cutting :



ffmpeg -ss 33 -i video.ts -t 1 33to34.ts




This should seek to second 33 and output a 1s clip duration, yielding a video clip containing seconds 33-34 of the original video. I noticed that
ffmpeg
doesn't always seek accurately, so after following the instructions in this post, which says to manually add keyframes to the parts of the video you want to cut, I tried this :


First, setting the keyframes :



ffmpeg -i video.ts -force_key_frames 00:00:01.000,00:00:02.000,00:00:03.000,00:00:04.000 out.ts




And then cutting the clips as I did before with the new output clip.



While this did get the videos to be exactly 1s long each, (which I wanted) there is a small gap (just a slight jitter) in audio when I combine the clips back together. I cannot have this, and am looking for a solution.



Can anyone help me understand why this is happening and help me find a solution ? Thank you so much in advance.