Recherche avancée

Médias (91)

Autres articles (75)

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

Sur d’autres sites (7683)

  • FFmpeg WASM Custom build : defining custom flags

    4 avril, par Ettur

    I wish to create custom ffmpeg.wasm build

    


    Now the official GUIDE show four commands "make dev" "make prd" etc

    


    So I cloned THE REPO and ran "make prd". It did build, but obviously, this build was with default settings, whatever exactly they made be.

    


    So pardon my stupidity, as I cannot figure out how / where / what do I edit to set the custom flags about what I want to be included / excluded in the build ?

    


  • What is the most performant way to render unmanaged video frames in WPF ?

    27 mai 2017, par superware

    I’m using FFmpeg library to receive and decode H.264/MPEG-TS over UDP with minimal latency (something MediaElement can’t handle).

    On a dedicated FFmpeg thread, I’m pulling PixelFormats.Bgr32 video frames for display. I’ve already tried InteropBitmap :

    _section = CreateFileMapping(INVALID_HANDLE_VALUE, IntPtr.Zero, PAGE_READWRITE, 0, size, null);
    _buffer = MapViewOfFile(_section, FILE_MAP_ALL_ACCESS, 0, 0, size);
    Dispatcher.Invoke((Action)delegate()
    {
       _interopBitmap = (InteropBitmap)Imaging.CreateBitmapSourceFromMemorySection(_section, width, height, PixelFormats.Bgr32, (int)size / height, 0);
       this.Source = _interopBitmap;
    });

    And then per frame update :

    Dispatcher.Invoke((Action)delegate()
    {
       _interopBitmap.Invalidate();
    });

    But performance is quite bad (skipping frames, high CPU usage etc).

    I’ve also tried WriteableBitmap : FFmpeg is placing frames in _writeableBitmap.BackBuffer and per frame update :

    Dispatcher.Invoke((Action)delegate()
    {
       _writeableBitmap.Lock();
    });
    try
    {
       ret = FFmpegInvoke.sws_scale(...);
    }
    finally
    {
       Dispatcher.Invoke((Action)delegate()
       {
           _writeableBitmap.AddDirtyRect(_rect);
           _writeableBitmap.Unlock();
       });
    }

    Experiencing almost the same performance issues (tested with various DispatcherPriority).

    Any help will be greatly appreciated.

  • What is the most performant way to render unmanaged video frames in WPF ?

    18 avril 2017, par superware

    I’m using FFmpeg library to receive and decode H.264/MPEG-TS over UDP with minimal latency (something MediaElement can’t handle).

    On a dedicated FFmpeg thread, I’m pulling PixelFormats.Bgr32 video frames for display. I’ve already tried InteropBitmap :

    _section = CreateFileMapping(INVALID_HANDLE_VALUE, IntPtr.Zero, PAGE_READWRITE, 0, size, null);
    _buffer = MapViewOfFile(_section, FILE_MAP_ALL_ACCESS, 0, 0, size);
    Dispatcher.Invoke((Action)delegate()
    {
       _interopBitmap = (InteropBitmap)Imaging.CreateBitmapSourceFromMemorySection(_section, width, height, PixelFormats.Bgr32, (int)size / height, 0);
       this.Source = _interopBitmap;
    });

    And then per frame update :

    Dispatcher.Invoke((Action)delegate()
    {
       _interopBitmap.Invalidate();
    });

    But performance is quite bad (skipping frames, high CPU usage etc).

    I’ve also tried WriteableBitmap : FFmpeg is placing frames in _writeableBitmap.BackBuffer and per frame update :

    Dispatcher.Invoke((Action)delegate()
    {
       _writeableBitmap.Lock();
    });
    try
    {
       ret = FFmpegInvoke.sws_scale(...);
    }
    finally
    {
       Dispatcher.Invoke((Action)delegate()
       {
           _writeableBitmap.AddDirtyRect(_rect);
           _writeableBitmap.Unlock();
       });
    }

    Experiencing almost the same performance issues (tested with various DispatcherPriority).

    Any help will be greatly appreciated.