
Recherche avancée
Autres articles (98)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (9122)
-
Image path with wildcard not working when launching FFmpeg as process
26 mai 2015, par Léon PelletierIn an Xamarin Android project, I’m launching FFmpeg as a process. Thus, I’m sending my parameters in a array that looks like :
"-i", "img%d.png" ... etcWhen converting from an MP4 to images, it handles the wildcard properly. But when doing the reverse process, it complains about the img%d.png file being missing.
Does it complains about the real file (img0.png) being missing, or is it trying to really find a file named img%d.png ?
public Clip ConvertImagesToVideo(string imagePattern, string outPath, ShellCallback sc)
{
List<string> cmd = new List<string>();
// ffmpeg -f image2 -i ffmpeg_temp/%05d.png -b 512 video2.mpg
cmd.Add(_ffmpegBin); // ffmpeg
cmd.Add("-f");
cmd.Add("image2");
cmd.Add("-i");
cmd.Add(imagePattern);
cmd.Add("-b");
cmd.Add("512");
Clip mediaOut = new Clip ();
File fileOut = new File(outPath);
mediaOut.path = fileOut.CanonicalPath;
cmd.Add(mediaOut.path);
execFFMPEG(cmd, sc);
return mediaOut;
}
</string></string>The process is executed like so :
private int execProcess(IList<string> cmds, ShellCallback sc, File fileExec)
{
ProcessBuilder pb = new ProcessBuilder(cmds);
pb.Directory(fileExec);
var cmdlog = new Java.Lang.StringBuilder();
foreach (string cmd in cmds)
{
cmdlog.Append(cmd);
cmdlog.Append(' ');
}
sc.ShellOut(cmdlog.ToString());
pb.RedirectErrorStream (true);
Process process = pb.Start();
StreamGobbler errorGobbler = new StreamGobbler(this, process.ErrorStream, "ERROR", sc);
StreamGobbler outputGobbler = new StreamGobbler(this, process.InputStream, "OUTPUT", sc);
errorGobbler.run();
outputGobbler.run();
int exitVal = process.WaitFor();
sc.ProcessComplete(exitVal);
return exitVal;
}
</string>Note that I haven’t switched my code from Java.Lang to System yet so it stinks a bit. But all calls are working except this call with a wildcard. So I feel it may have to do with how Java processes are handling working directory, maybe.
-
fftools/ffmpeg : always use the same path for setting InputStream.[next_]dts
26 avril 2023, par Anton Khirnovfftools/ffmpeg : always use the same path for setting InputStream.[next_]dts
Currently those are set in different ways depending on whether the
stream is decoded or not, using some values from the decoder if it is.
This is wrong, because there may be arbitrary amount of delay between
input packets and output frames (depending e.g. on the thread count when
frame threading is used).Always use the path that was previously used only for streamcopy. This
should not cause any issues, because these values are now used only for
streamcopy and discontinuity handling.This change will allow to decouple discontinuity processing from
decoding and move it to ffmpeg_demux. It also makes the code simpler.Changes output in fate-cover-art-aiff-id3v2-remux and
fate-cover-art-mp3-id3v2-remux, where attached pictures are now written
in the correct order. This happens because InputStream.dts is no longer
reset to AV_NOPTS_VALUE after decoding, so streamcopy actually sees
valid dts values. -
avcodec/vc1 : Arm 64-bit NEON unescape fast path
31 mars 2022, par Ben Avisonavcodec/vc1 : Arm 64-bit NEON unescape fast path
checkasm benchmarks on 1.5 GHz Cortex-A72 are as follows.
vc1dsp.vc1_unescape_buffer_c : 655617.7
vc1dsp.vc1_unescape_buffer_neon : 118237.0Signed-off-by : Ben Avison <bavison@riscosopen.org>
Signed-off-by : Martin Storsjö <martin@martin.st>