Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (113)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (32415)

  • wmavoice : convert DCT-I/DST-I to lavu/tx

    4 août 2023, par Lynne
    wmavoice : convert DCT-I/DST-I to lavu/tx
    

    This is the very last user of any lavc transform code.

    This also *corrects* wmavoice decoding, as the previous DCT/DST
    transforms were incorrect, bringing it closer to Microsoft's
    own wmavoice decoder.

    • [DH] libavcodec/wmavoice.c
    • [DH] tests/fate/wma.mak
  • FFmpegInteropX in Unity Hololens 2

    25 juin 2024, par CocoaMilka

    I'm building a UDP video stream decoder for the Hololens 2 in Unity 2021. I've compiled FFmpegInteropX for ARM64 UWP, however I'm having issues setting it up within Unity. With the binaries included in /Plugins/WSA I get the following error :

    


    ArgumentException: The Assembly WinRT.Runtime is referenced by FFmpegInteropX.DotNet ('Assets/Plugins/WSA/FFmpegInteropX.DotNet/Release/FFmpegInteropX.DotNet.dll'). But the dll is not allowed to be included or could not be found.

    


    I've wrapped all of my WinRT dependent code with the appropriate preprocessor directive as shown here, and I've also set all my plugins to target WSAPlayer and UWP.

    


    #if ENABLE_WINMD_SUPPORT
using FFmpegInteropX;
using WinRT;
using Windows.Foundation;
using Windows.Media.Core;
using Windows.Media.Playback;
using System.Threading.Tasks;
#endif


    


    If I include WinRT.Runtime.dll in the plugins folder, the issue spreads asking for more dependencies then the new dependencies (such as Microsoft.Windows.SDK.NET.dll) starts conflicting with the MRTK packages due to it also depending on WinRT.

    


    How can I use this library within Unity without constantly running into dependency hell ?

    


  • Inaccurate sleep using C++11 on Windows

    15 février 2017, par Ashe the human

    I’ve been using C++11 sleep to give the interval between video frames. This method I’ve been using makes playback elongated on Windows.

    #include <iostream>
    #include <thread>
    #include <sstream>


    int main(const int argc, const char **args)
    {
       std::stringstream sb;

       if(argc &lt; 2)
           return 1;
       int fps = 0;
       sb &lt;&lt; args[1];
       sb >> fps;

       if(fps &lt;= 0)
           return 1;
       int i;


       while(true)
       {
           std::chrono::high_resolution_clock::time_point start, end;

           start = std::chrono::high_resolution_clock::now();
           for(i=0; i fps));
           }
           end = std::chrono::high_resolution_clock::now();

           auto c = std::chrono::duration_cast(end - start).count();
           std::cerr &lt;&lt; c &lt;&lt; std::endl;
       }

       return 0;
    }
    </sstream></thread></iostream>

    Running that program with 60 gives about 1004 1006 on Linux and 1065 1075 on Windows. So, I’m guessing, after playing a 2-hour long video, more than a minute is passed than just 2 hours.

    timeBeginPeriod() has no effect. Is using timer(like this one ?) is the only way to implement media players on Windows ? What about on Linux ? I think it’s the right way considering the fact that ffplay uses av_usleep().

    So sad that there’s no portable way.