Recherche avancée

Médias (91)

Autres articles (58)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (7690)

  • Revision 67227 : Toujours dans l’optique d’une inclusion un peu générique, permettre de ...

    28 octobre 2012, par rastapopoulos@… — Log

    Toujours dans l’optique d’une inclusion un peu générique, permettre de ne pas lister des docs déjà listés par ailleurs, avec le critère habituel de SPIP doublons (il suffit alors de passer des doublons à l’inclusion)

  • Anomalie #3386 : Spip derrière Varnish : port non-standard dans l’URL ?

    15 février 2015, par Mathieu MD

    Bien vu. La doc de `mod_rpaf` précise en effet qu’il réécrit « REMOTE_ADDR, HTTPS, and HTTP_PORT to the values provided by an upstream proxy ».

    Ça n’a pas l’air d’être le cas du module Realip de Nginx (que j’utilise), ni de mod_remoteip, qui remplace mod_rpaf depuis Apache 2.4.
    http://wiki.nginx.org/HttpRealipModule
    https://httpd.apache.org/docs/2.4/mod/mod_remoteip.html

    On pourrait forcer, dans la conf Varnish, un entête `X-Forwarded-Port` qui serait parsé directement par Spip. Quelque chose comme ça :

    • Varnish :

    Soit :

    sub vcl_recv 
        set req.http.X-Forwarded-Port = server.port ;
    
    

    Soit :

    sub vcl_recv 
        if (req.http.X-Forwarded-Proto == "https" ) 
            set req.http.X-Forwarded-Port = "443" ;
         else 
            set req.http.X-Forwarded-Port = "80" ;
        
    
    
    • Spip, dans `ecrire/inc/utils.php` :
      if (isset($_SERVER[’SERVER_PORT’])
        AND $port=$_SERVER[’SERVER_PORT’]
        AND strpos($host," :")==false)
        # X-Forwarded-Port doit être ajouté par le proxy inverse (Varnish, etc.)
        if (isset($_SERVER[’HTTP_X_FORWARDED_PORT’])
          AND $xport=$_SERVER[’HTTP_X_FORWARDED_PORT’])
          if ($http=="http" AND $xport !=80) $host.=" :$xport" ;
          if ($http=="https" AND $xport !=443) $host.=" :$xport" ;
         else 
          if ($http=="http" AND $port !=80) $host.=" :$port" ;
          if ($http=="https" AND $port !=443) $host.=" :$port" ;
            
      
    
  • Convert *.mov file to *.mp4 with media source support

    4 février 2017, par Yerzhan Torgayev

    My goal is to play converted *.mp4 file with HTML5 Media Source Extension (MSE).
    I made a small video with iMovie on my Mac and exported this video to *.mov file. Using ffmpeg I’ve converted *.mov file to fragmented *.mp4 file.
    I used code from Mozilla Media Source tutorial to make simple html5 video player.

    https://developer.mozilla.org/en-US/docs/Web/API/Media_Source_Extensions_API/Transcoding_assets_for_MSE

    But I couldn’t get my video played with this tutorial. Other *.mp4 videos play just fine. But I have troubles with converted *.mov videos.

    I’ve checked codec support for my video.
    On this page I’ve got my codec info :

    http://nickdesaulniers.github.io/mp4info/

    track #0 codec string: mp4v
    track #1 codec string: mp4a.40.2
    track #2 codec string: tmcd
    MediaSource.isTypeSupported('video/mp4; codecs="mp4v, mp4a.40.2, tmcd"'); // => false

    I found that tmcd codec is not supported by MSE :

    https://cconcolato.github.io/media-mime-support/

    I couldn’t find the way to get my video work with MSE. Can anyone help me with this issue ?