
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (111)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (12919)
-
Anomalie #4721 : cadre trop petit au moment d’une nouvelle installation, installation impossble
12 avril 2021Je disais, (j’ai supprimé le mauvais commentaire !)
Que la solution peut être :
- <span class="CodeRay">
- <span class="line comment">@media (min-width: 640px) {</span>
- <span class="line delete"><span class="delete">-</span> body { display: flex; padding: 2em; flex-direction: column; justify-content: center; align-items: center;}</span>
- <span class="line insert"><span class="insert">+</span> body { display: flex; padding: 2em; flex-direction: column; justify-content: center; align-items: center;<span class="eyecatcher"> height: auto; min-height: 100%;</span>}</span>
- #minipres { margin: 6em auto; width: 580px;border: 1px solid #DB1762;border-radius: 8px;padding: 2em 2em 1.5em 2em;overflow: hidden;}
- #minipres h1 {margin-top: -2em;margin-left: -2em;margin-right: -2em;padding: 0.8em;font-size: 1.1em;color: white;background: #DB1762;}
- <span class="line comment">}</span>
- </span>
-
Is it possible to adjust position of gdigrab recording region during recording ?
30 novembre 2020, par adelimaI'm using ffmpeg for recording video from defined desktop region by starting ffmpeg.exe as process with arguments like so :


public static void StartRecording(Video v) {
 string outPath = Path.Combine(Application.StartupPath, "rec", $"{v.FileName}.mkv");
 v.FFMPEG = new Process {
 StartInfo = new ProcessStartInfo() {
 Arguments = $"-hide_banner -y -thread_queue_size 512 -f gdigrab -offset_x {v.Bounds.X} -offset_y {v.Bounds.Y} -video_size {v.Bounds.Width}x{v.Bounds.Height} -show_region 0 -i desktop -vf \"scale=trunc(iw/2)*2:trunc(ih/2)*2\" -c:v libx264 -preset ultrafast -crf 18 -pix_fmt yuv420p \"{outPath}\"",
 WindowStyle = ProcessWindowStyle.Hidden,
 CreateNoWindow = true,
 UseShellExecute = false,
 FileName = Path.Combine(Application.StartupPath, "bin", "ffmpeg.exe"),
 RedirectStandardOutput = true,
 RedirectStandardInput = true,
 RedirectStandardError = true,
 }
 };
 v.FFMPEG.Start();

 new Thread(() => {
 using(StreamReader sr = v.FFMPEG.StandardError) {
 while(!sr.EndOfStream) {
 Debug.WriteLine(sr.ReadLine());
 }
 }
 }).Start();
 }

 public static void StopRecording(Video v) {
 using(StreamWriter sw = v.FFMPEG.StandardInput) {
 sw.WriteLine("q\n");
 }
 v.FFMPEG.WaitForExit();
 v.FFMPEG.Dispose();
 }



Is it possible to make changes to the
-offset_x
and-offset_y
arguments during recording ? I'm drawing the recording region bounds with directx and want to add a titlebar to it which can be dragged to move the recording region, but I'm not sure how I would let ffmpeg know that I want these offsets changed or whether it's even possible.

-
Evolution #3964 : mise en forme minimum des formulaires
26 mars 2018, par nico d_Et encore un dans theme.css :
@media print
/* Ne pas imprimer */
.spip-admin,
.spip-admin-float,
.spip-previsu display : none ;
.repondre,
.formulaire_spip display : none ;
...Pas de pitié pour les formulaires :p
Je serais plutôt d’avis de ne garder que ça dans spip.css :
@media print .forum-titre, .formulaire_forum display : none ;