
Recherche avancée
Autres articles (54)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (9726)
-
Anyone know of a set of C# bindings for FFMPEG ?
31 août 2011, par MikeJDoes anyone know of a set of bindings for C# to drive the FFMpeg library directly ? I could shell to ffmpeg.exe directly but I found it hard to sync/control as a separate process. any help would be appreciated.
-
Setting UseShellExecute = false doesn't work in Process.Start
5 décembre 2015, par Alex JoligThere’s a good Q&A about hiding shell execute when running a process which led me to write my own code using ffmpeg :
Process proc = new Process();
proc.StartInfo.FileName = "ffmpeg";
proc.StartInfo.Arguments = string.Format("-ss {0} -i \"{1}\" -t {2}{3} DB\\Media\\{4}{5} -y",
TimeSpan.Parse(row.Cells["StartdgvList"].Value.ToString()),
openFileDialog.FileName, _durationTime, quality, newTmpSound,
GetExtension(openFileDialog.FileName));
proc.StartInfo.RedirectStandardError = true;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = true;
if (!proc.Start()) return;
StreamReader reader = proc.StandardError;
string line;
while ((line = reader.ReadLine()) != null && !_cancel)
{
//Doing something with process line
}
proc.Close();This works fine, But when I run it in a few user machines, it just stops working with no error.
I tried removing lines which hides shell window and turned it to this :
Process proc = new Process();
proc.StartInfo.FileName = "ffmpeg";
proc.StartInfo.Arguments = string.Format("-ss {0} -i \"{1}\" -t {2}{3} DB\\Media\\{4}{5} -y",
TimeSpan.Parse(row.Cells["StartdgvList"].Value.ToString()),
openFileDialog.FileName, _durationTime, quality, newTmpSound,
GetExtension(openFileDialog.FileName));
if (!proc.Start()) return;
proc.Close();and it start working in all the machines.
I’m wondering if there’s some sort of service or components missing in some machines which makes the process fails when console is hiding.
I appreciate if anyone has any idea.
P.S : I installed
Visual Studio 2012
on a machine which has problem hiding shell window and it suddenly start working. MaybeVS2012
installed somwthing on the machine which solved the problem. -
avcodec/libzvbi-teletextdec : fix txt_default_region limits
9 juin 2020, par Marton Balint