Recherche avancée

Médias (91)

Autres articles (99)

  • 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 (...)

  • 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 (...)

  • 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 (...)

Sur d’autres sites (12389)

  • ‘_snprintf’ was not declared in this scope

    3 avril 2015, par Yoohoo

    I am working on a ffmepg c++ project which links a hpp file, in the hpp file :

    #define snprintf _snprintf
    #include
    #include <cstdio>
    #include
    include

    #if defined _MSC_VER &amp;&amp; _MSC_VER >= 1200
    #pragma warning( disable: 4244 4510 4512 4610 4146 4996 4005)

    #define sprintf sprintf_s
    #define _sprintf _sprintf_s
    #define _snprintf _snprintf_s

    #endif  


    snprintf (oc->filename, sizeof(oc->filename), "%s", filename);
    </cstdio>

    it gives the error :

    ‘_snprintf’ was not declared in this scope

    It is quite weird the error shows ‘_snprintf’ while what I use is ’snprint’. This code is wrote by others, I did not understand these #define he used. If i remove the line #define sprintf sprintf_s, it gives error :

    segmentation fault(core dumped)

    Due to ffmpeg is incompatible with C++, I have include the stdio.h and cstdio both within extern C and out of extern C, but the error continue show out. What is the problem ? How to fix it ?

  • ffmpeg throws conversion error, but only if the triggering web request is made from safari ?

    22 novembre 2022, par Kyoshiro Kokujou Obscuritas

    I'm using ffmpeg to do an on-the-fly conversion of audio files to ensure high compatibility. i'm converting them to OGG. and all of this is done by a .NET 6 REST service.&#xA;This service is then accessed by a javascript Frontend.&#xA;Now the problem. The exact same request runs through without any problems on Windows + Firefox, but it does not on Safari. In Safari it says something about "unknownConversion failed"

    &#xA;

    it's the same file, it's the same name, and to make sure there are no weird invisible characters i used the Microsoft File API to convert it to a proper file path.

    &#xA;

    code looks like this

    &#xA;

    var ffmpeg = new Process();&#xA;        var startInfo = new ProcessStartInfo("D:\\Programme\\ffmpeg\\bin\\ffmpeg.exe",&#xA;            $"-i \"{path.FullName}\" -c:a libopus -f ogg -")&#xA;        {&#xA;            RedirectStandardError = true,&#xA;            RedirectStandardOutput = true,&#xA;            RedirectStandardInput = true,&#xA;            UseShellExecute = false,&#xA;            CreateNoWindow = true&#xA;        };&#xA;        ffmpeg.EnableRaisingEvents = true;&#xA;        ffmpeg.StartInfo = startInfo;&#xA;        ffmpeg.ErrorDataReceived &#x2B;= OnErrorDataReceived;&#xA;        ffmpeg.Exited &#x2B;= OnFinished;&#xA;&#xA;        ffmpeg.Start();&#xA;        ffmpeg.BeginErrorReadLine();&#xA;&#xA;        return File(new BufferedStream(ffmpeg.StandardOutput.BaseStream), "audio/ogg");&#xA;

    &#xA;

    Complete Logs : https://pastebin.com/tTUcsjuT

    &#xA;

  • Negative or 0 second duration

    3 mars 2023, par Nif

    I recently came across plenty of weird videos with negative durations

    &#xA;

    firstly 0 seconds :&#xA;https://cdn.discordapp.com/attachments/397056507243528203/739081902278836234/short_video.webm

    &#xA;

    And negative duration :&#xA;https://cdn.discordapp.com/attachments/397056507243528203/739081962211377152/CorruptFile.webm

    &#xA;

    I tought it was a trick with webms but there also is a mp4 :&#xA;https://cdn.discordapp.com/attachments/397056507243528203/739081981643718687/video0-21.mp4

    &#xA;

    I would love to know how I can make videos like these

    &#xA;