Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (92)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (5323)

  • FFMPEG detect color bars and tone in video

    23 novembre 2016, par Chris Harvey

    I am trying to detect if a video has any valid content or is just the standard broadcasting bars & tone. So far I’ve looked at this question : http://superuser.com/questions/1036449/detect-color-bars-ffmpeg/1036478#1036478
    which generates bars & tone from the first frame and then compares that against the rest of the stream but in my case I need to run the ffmpeg command within a folder that only has one file that has already been found by my python script.

    Is it possible to use ffmpeg’s blend=difference to check that a short bars & tone clip is a subclip of one of my video files ? I’m thinking of this in the same way you can check if a string is within a string, or is there a better way to check for bars that I’m not thinking of ?

    Thanks !

  • Revision 95a484c01465c56cc527a044e72c2e1165f5448f : Google&co indexe les urls courtes microbloguees. Il convient donc de les ...

    6 décembre 2010, par Cerdic — Log

    Google&co indexe les urls courtes microbloguees. Il convient donc de les rediriger par un status 301 afin d’indiquer que cette adresse courte est definitivement renvoyee vers l’url complete git-svn-id : svn ://trac.rezo.net/spip/branches/spip-2.1@16625 (...)

  • Custom text and background color in subtitles FFMPEG | Converting HEX to AARRGGBB

    3 octobre 2023, par Youssef

    I have this code that was working fine with text color only but when I added the background using outline to draw box around subtitles it started outputing weird colors, for example using black #000 I got red

    


     var alpha = 1.0;

  const textColorHex = "#000000";
  const textColor = `&H${tinycolor(textColorHex).setAlpha(alpha).toHex8().substr(2)}`;
  // textColor : &H0000ff

  const bgColorHex = '#ffffff';
  const bgColor = `&H${tinycolor(bgColorHex).setAlpha(alpha).toHex8().substr(2)}`;
  // bgColor : &Hffffff


  const ffmpeg = spawn("ffmpeg", [
    "-i",
    "test.mp4",
    "-vf",
    `subtitles=${subtitlePath}:force_style='Alignment=${alignment},OutlineColour=${bgColor},BorderStyle=3,PrimaryColour=${textColor},Fontsize=${fontSize}'`,
    "-c:a",
    "copy",
    "-progress", "pipe:1",
    outputPath,
  ]);


    


    I am not sure how to fix that