
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (50)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (9040)
-
Repeating video frame sequences without iterating each frame
4 juillet 2015, par Raheel KhanI have an application that generates a video from a given number of files. A total frame count and sequence is provided and the generated video should loop the given sequence until the total number of frames have been written.
At the moment, I’m using
FFMPEG.VideoFileWriter
fromAForge
.var frameIndex = 0;
var frameCount = 300;
var writer = new AForge.Video.FFMPEG.VideoFileWriter();
writer.Open(filename: "Video.mp4", width: 10000, height: 10000, fps: 30, code: VideoCodec.MPEG4, bitrate: 1024 * 1024 * 2);
using (var imageCanvas = new Bitmap(width, height))
{
do
{
foreach (var file in this._Files)
{
frameIndex++;
if (frameIndex > frameCount) { break; }
using (var graphicsCanvas = Graphics.FromImage(imageCanvas))
{
graphicsCanvas.Clear(Color.Black);
using (var imageFile = Image.FromFile(file.FullName))
{
graphicsCanvas.DrawImage(imageFile, 0, 0, imageCanvas.Width, imageCanvas.Height);
}
}
writer.WriteVideoFrame(imageCanvas);
}
}
while (true);
}the bottlenecks are :
- The call to
writer.WriteVideoFrame(imageCanvas)
. - The source images in question are massive (more than 10Kx10K 32bpp) so keeping them all in memory is not an option.
The only thing I can think of is to create an uncompressed AVI file and somehow copy entire sequences in bulk. although transcoding back to MP4 would still take a while, it may same some overall.
Any general optimization suggestions or clues on how to write multiple frames at once would be appreciated.
- The call to
-
First Frame of SaveVideo playing longer, and last frame playing shortly
19 décembre 2018, par Ricardo Alonso Esparza GamezI’m using SaveVideo to create an animation based on different ggplots.
Here’s what I am doing :saveVideo({for(i in 1:12){p <- ggplot()+...etc,video.name = "months.mp4")
And these are my animation options :
ani.options(interval=1.5,ani.width=1280,ani.dev = function(...){png(res=75*2.5,...)},ani.height=720, other.opts = '-analyzeduration 2M -probesize 1M')
On the published video, the first frame lasts for like 5 seconds, then the other frames play normally, until the last frame which goes really quickly (less than 1 second). I have played around with different analyzeduration and probesize options with no results. Any idea how to solve this ?
Thanks ! -
How to get each frame of the video and do some modifications to the frame in android
4 décembre 2014, par Naresh SharmaI need to get the frames a video and do some modification on it like drawing something on it or write some text. Then on saving I need that video with that modifications.
Please suggest me the best way to do that. Any help is appreciated.
Please see the below app for to understand my problem
https://play.google.com/store/apps/details?id=com.techsmith.apps.coachseye.free