
Recherche avancée
Autres articles (56)
-
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
MediaSPIP en mode privé (Intranet)
17 septembre 2013, parÀ partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)
Sur d’autres sites (7768)
-
How to correctly close a console application using the youtube-dl process to download Twitch stream whenever I want
24 juin 2023, par ElPavlilloThe test program has the following code :


string url = "https://www.twitch.tv/ricoy";
string outputPath = @"D:\ruta_del_archivo_salida.mp4";

ProcessStartInfo startInfo = new ProcessStartInfo
{
 FileName = "youtube-dl",
 Arguments = $"-f best -o \"{outputPath}\" \"{url}\"",
 //RedirectStandardOutput = true,
 UseShellExecute = false,
 CreateNoWindow = true
};

using (Process process = new Process())
{
 process.StartInfo = startInfo;
 process.Start();

 //var output = process.StandardOutput.ReadToEnd();
 //process.WaitForExit();

 Console.Read();
 KillProcessAndChildren(process.Id);
}

static void KillProcessAndChildren(int pid)
{
 // Cannot close 'system idle process'.
 if (pid == 0)
 {
 return;
 }
 ManagementObjectSearcher searcher = new ManagementObjectSearcher
 ("Select * From Win32_Process Where ParentProcessID=" + pid);
 ManagementObjectCollection moc = searcher.Get();
 foreach (ManagementObject mo in moc)
 {
 KillProcessAndChildren(Convert.ToInt32(mo["ProcessID"]));
 }
 try
 {
 Process proc = Process.GetProcessById(pid);
 proc.Kill();
 }
 catch (ArgumentException)
 {
 // Process already exited.
 }
}



The problem is that when I press de key in the console the youtube-dl process gets kill and also de ffmpeg but the file is left with .part extension and does not work.


I was expecting the code to left a .mp4 file but for reason it does not.


-
Installing "ffmpeg" package from setup.py in Apache Beam pipeline running on Google Cloud Dataflow
17 avril 2019, par John AllardI’m trying to run an Apache Beam pipeline on Google Cloud Dataflow that utilizes FFmpeg to perform transcoding operations. As I understand it, since ffmpeg is not a python package (available through PIP), I need to install it from setup.py using the following lines
# The output of custom commands (including failures) will be logged in the
# worker-startup log.
CUSTOM_COMMANDS = [
['apt-get', 'update'],
['apt-get', 'install', '-y', 'ffmpeg']]Unfortunately, this is not working. My pipeline is stalling and when I go to examine the logs I’m seeing this
RuntimeError: Command ['apt-get', 'install', '-y', 'ffmpeg'] failed: exit code: 100
It appears to be unable to find the package ’ffmpeg’. I’m curious as to why this is - ffmpeg is a standard package that should be available under apt-get.
-
Revision bc7074508a : Fix integer overflow issue in rtc coding flow intra mode search The overflow is
16 juin 2015, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_pickmode.c
Fix integer overflow issue in rtc coding flow intra mode searchThe overflow issue affects a variable that is only used in inter
mode. This commit fixes the ioc warning triggered in the intra
mode. It does not affect the compression performance.Change-Id : I593d1b5650599de07f3e68176dd1442c6cb7bdbc