Recherche avancée

Médias (91)

Autres articles (99)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

Sur d’autres sites (12815)

  • Anomalie #4194 (Nouveau) : Rendre spip_loader compatible php 7.2

    17 octobre 2018, par Franck D

    Hello :-)
    En faisant une série de test https://www.mail-archive.com/spip-zone@rezo.net/msg46352.html
    Cela m’a fait découvrir que spip_loader avait dans 2 cas chez ovh des problèmes (donc un grave).

    Pour info, pour le voir, il faut obligatoirement faire une nouvelle installation ! Car sans quoi spip_loader fonctionne si un spip est déjà en place !
    Dans le premier cas, spip_loader ne fonctionne pas, dans le deuxième, l’installation fonctionne quand même !

    Environnement : stable
    Version PHP 7.2
    Moteur:phpcgi
    Mode : développement

    Warning : Use of undefined constant _DIR_TMP - assumed ’_DIR_TMP’ (this will throw an Error in a future version of PHP) in /.../pclzip.php on line 28
    Après avoir fait un clique sur "Commencer l’installation"

    Warning : Use of undefined constant _DIR_TMP - assumed ’_DIR_TMP’ (this will throw an Error in a future version of PHP) in /.../pclzip.php on line 28
    Warning : Cannot modify header information - headers already sent by (output started at /.../pclzip.php:28) in /.../spip_loader.php on line 1228

    Environnement : stable
    Version PHP 7.2
    Moteur:php
    Mode : développement

    Warning : Use of undefined constant _DIR_TMP - assumed ’_DIR_TMP’ (this will throw an Error in a future version of PHP) in /.../pclzip.php on line 28
    Après avoir fait un clique sur "Commencer l’installation"

    Warning : Use of undefined constant _DIR_TMP - assumed ’_DIR_TMP’ (this will throw an Error in a future version of PHP) in /.../pclzip.php on line 28

    Franck

  • How can I use ffmpeg with youtube-dl ?

    18 octobre 2018, par Dani

    I have this "setup", but it stopped working (I did not change anything in the code) :

     private Process StartFfmpeg(string URL)
       {
           string args = $"/C youtube-dl --ignore-errors -o - {URL} | ffmpeg -err_detect ignore_err -i pipe:0 -ac 2 -f s16le -ar 48000 pipe:1";
           return Process.Start(new ProcessStartInfo
           {
               FileName = "cmd.exe",
               Arguments = args,
               UseShellExecute = false,
               RedirectStandardOutput = true,
               RedirectStandardError = false,
               CreateNoWindow = true,
           });
       }

    (I get the stream by using
    Stream stream = StartFfmpeg(URL).StandardOutput.BaseStream;)
    It just freezes. It doesn’t throw any error (in a try/catch block) and I have the latest version of ffmpeg & youtube-dl. I’ve tried using older versions with no success.
    How can I get it working again ? (This is my first post, sorry if its very bad)

  • Write tests to check if a ffmpeg is installed

    7 novembre 2018, par gldraphael

    TLDR : I need a test that ensures FooAsync() throws FfmpegNotFoundInPathException if ffmpeg is not in path.


    I have a method like :

    public Task FooAsync() { /* ... */ }

    that throws an FfmpegNotFoundInPathException if ffmpeg is not in path.
    How do I go about writing tests for this ?

    (It’s okay if the test passes only within docker. I can selectively skip the test outside of Docker using Nate McMaster’s xunit extensions.)


    For completeness, FooAsync() looks something like this :

    public async Task FooAsync()
    {
       try
       {
           new Cli("ffmpeg")
               .SetArguments(args)
               .EnableStandardErrorValidation(false)
               .ExecuteAsync();
       }
       catch (Exception e)
       {
           // ...
           throw new FfmpegNotFoundInPathException(e);
       }
    }

    (Cli is from the CliWrap package.)