Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (66)

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (6253)

  • Flash media server invalid mp4

    19 décembre 2012, par Ben Ford

    I have an MP4 file that was ripped from a DVD containing chapters using handbrake.
    I've then used ffmpeg to convert that rip into seperate mp4 files for dynamic streaming with Adobe's Flash Media Server.

    I have used exactly the same ffmpeg parameters before and had no problem. However this time, I get output from ffmpeg :

    max_analyze_duration reached

    The resulting files won't stream from FMS. There's no error in the FMS logs or web console.
    Are there any known reasons that FMS wouldn't stream files like this ?

    Or does anyone know of any other diagnostic tool to analyze what's going on within FMS ?

    Thanks
    Ben

  • Simplest way to convert uploaded videos to mp4 before storing them on a server ?

    26 juin 2017, par ioan

    I’m using a goDaddy server and cPanel to make a website, and I want to make a feature that lets users upload videos, save them on the server, then display them elsewhere on the site.

    displaying uploaded videos :

    echo "<video controls="controls"><source src="{$video_row[$i]}"></source></video>";

    But I found out that most browsers can only play a few video formats like mp4. So I want to convert them all to mp4 before saving them to the server. So sometime before running the move_uploaded_file() function.

    Is there something I can download and put on the server that will let me do that ? From other questions I found about FFmpeg, but i couldn’t figure out how to use it and if I can even install it on a godaddy server.

    Php code :

    if (isset($_FILES["submit_file"])) { //this comes from an html form
       $name = $_FILES['submit_file']['name'];
       $original_name = $name;
       $size = $_FILES['submit_file']['size'];
       $tmp_name = $_FILES['submit_file']['tmp_name'];
       $target_dir = null;

       $finfo = finfo_open(FILEINFO_MIME_TYPE); //get mime type
       $mime = finfo_file($finfo, $tmp_name);

       if ($mime == "video/mp4" || $mime == "video/wmv" || $mime == "video/avi" || $mime == "video/mov") {
           if ($mime != "video/mp4") {
               //CONVERT TO MP4
           }
           $target_dir = "uploads/videos/";
           $path = $target_dir.basename($name);

           if (move_uploaded_file($tmp_name, $path) == true) {
               //moved
           }
       } else {
           //error: Unsupported File Type
       }
    }

    How do others deal with videos ? I was able to upload and play mp4 videos fine with my method, but html5 can’t seem to play other types, and I don’t want to limit users to only upload mp4

  • open source CMS and server for video streaming platform

    30 mai 2016, par Infinite

    I have to propose a platform that allows streaming video services employing the MPEEG-DASH standard. This platform blocks must be implemented with open source tools. I proposed FFmpeg to encode and MP4Box/GPAC tool for encryption and packaging. For the DRM case my propose is to use Widewine (I didn’t find any other open source tool) which is compatible with dash.js (the player proposed by me), it can be integrated to Chrome and according to CastLabs it’s also compatible with MP4Box. So, I have to select an open source CMS, and at the same time I need it to be compatible with dash.js. I read that it’s possible to add any JavaScript to these CMS, that it’s only necessary to create some modules to do so. I’d like to know which one of the following CMS you suggest me : MediaDrop, Drupal or Wordpress.
    I also have some doubts about the server. I know that in order to offer this service it only takes a traditional HTTP server. In a first moment I chose Nginx over Apache because the latter presents some problems associated to performance (the server will receive a large amount of simultaneous requests), nevertheless, I discarded Nginx (Nginx-rtmp module) due to its constraints : it’s only for live streaming (I need the service to be offered also on demand) and the inputs must be RTMP. I found something about Nginx-based VOD packager, do you know if this one can be used as a server to offer live and on demand streaming service ?