
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 (21)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation" -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (4580)
-
Revert "libavcodec/utils.c : simplify avcodec locking with atomics"
11 décembre 2017, par Hendrik LeppkesRevert "libavcodec/utils.c : simplify avcodec locking with atomics"
This reverts commit 590136e78da3d091ea99ab5432543d47a559a461.
Atomics are not required for this variable, because it is protected
through the lock manager, and the use of atomics here is not compatible
with the c11 emulation wrappersi.Fixes FATE on MSVC, among other setups which use the compat wrappers.
-
File Creation of Acceptable JPEGs for FFMPEG With Appropriate Names in Python Fails
26 janvier 2019, par acatalanoI am generating jpeg files periodically and saving them in sequential order to be processed into a video by FFMPEG using the command line. The still images are constructed using a Python 2.7 program running Raspian on an RPi and saved in an attached folder on a Windows PC. FFMPEG is run on that PC from within the folder containing the JPEGS.
The JPEGs are created with a line of code like this :
image_name= '%d.jpg'%(image_number)
where image number is incremented for each JPEG. Then in FFMPEG the command is :
ffmpeg -r 15 -i %d.jpg -c:v libx264 -preset slow -crf 22 -filter:v scale=640:480 timelapse_15fps_noca.mp4
Visually the files look correct they are simply 0.jpg, 1.jpg, etc., However FFMEG fails to process the files giving an error something like "Could find no file with path ’%d.jpg’ and index in the range 0-4"
HOWEVER (!) if I rename the files in my file manager (Directory Opus) in sequence (it defaults to leading zeros so I have to change the %d.jpg to %4d.jpg, FFMPEG processes the video perfectly !
I believe that FFMPEG does not interpret the filename correctly. I have also produced the filename by concatenating the string value of the number with the jpg extension, produced the filename with leading zeros etc., Nothing has worked. Renaming them in DOPUS works like a charm. I just do not understand the problem. Any help appreciated
-
Cancelling ffpeg launched as a C# process
22 avril 2016, par DarwinIcesurferI’m launching ffmpeg in a c# process to encode a video. In a command window, ffmpeg can be interrupted by pressing CTRL-C. I have tried to achieve the same effect by closing the process, however ffmpeg does not appear to close (it is still visible in task manager and it does not release the handle on the file it was encoding)
How can ffmpeg be interrupted programatically ?
static Process proc;
static BackgroundWorker bw;
public void EncodeVideoWithProgress(string filename, string arguments, BackgroundWorker worker, DoWorkEventArgs e)
{
proc = new Process();
// assign the backgroud worker to a class member variable so all function within the class will have access
bw = worker;
proc.StartInfo.FileName = "ffmpeg";
proc.StartInfo.Arguments = "-i " + " \"" + filename + "\" " + arguments;
proc.StartInfo.UseShellExecute = false;
proc.EnableRaisingEvents = true;
proc.StartInfo.RedirectStandardError = true;
proc.StartInfo.RedirectStandardOutput = false;
proc.StartInfo.CreateNoWindow = true;
proc.ErrorDataReceived += new DataReceivedEventHandler(NetErrorDataHandler);
proc.Start();
proc.BeginErrorReadLine();
proc.WaitForExit();
}
private static void NetErrorDataHandler(object sendingProcess,
DataReceivedEventArgs errLine)
{
if (bw.CancellationPending)
{
proc.CloseMainWindow();
proc.Close();
}
else
{
// do other tasks
}
}