Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (50)

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

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (6463)

  • Access files in a directory and write the file paths to a text file in ascending order using PHP

    26 mars 2014, par SCC

    I have a list of video files in my server. I would like to list out all the video files in this directory and write it to a text file. These video files are all having the same name output-x.mp4, and x is the number from 0 to an unknown figure. The total number of video files is dynamic and therefore I don't get to know the number of the last video. I have the below code to access all the video files in this directory. It works fine with only one problem : The video files written to the text file are not sorted in ascending order.

    $directory = "video/myvideo";
    $fp = fopen($_SERVER['DOCUMENT_ROOT']."Path/to/text/file", "wb");
    $split_video_files = scandir($directory);
    foreach($split_video_files as $file)
    {
       $content = "file ".$directory.$file."\r\n";
       fwrite($fp, $content);
    }
    fclose($fp);

    What the text file gave me is this :

    video/myvideo/output-0.mp4
    video/myvideo/output-1.mp4
    video/myvideo/output-10.mp4
    video/myvideo/output-11.mp4
    video/myvideo/output-12.mp4
    video/myvideo/output-13.mp4
    video/myvideo/output-14.mp4
    video/myvideo/output-2.mp4
    video/myvideo/output-3.mp4
    video/myvideo/output-4.mp4
    video/myvideo/output-5.mp4
    video/myvideo/output-6.mp4
    video/myvideo/output-7.mp4
    video/myvideo/output-8.mp4
    video/myvideo/output-9.mp4

    It lists out all the filename that start with "1" first before proceed to "2" and so on. Any ways for me to sort it in ascending order so that it starts from 0, 1, 2,… ?

  • Can m3u8 files have mp4 file urls ?

    11 juillet 2015, par 89n3ur0n

    I am in a situation where I have my flv video converted to mp4 and then I am streaming this as http url using my nginx server. For multibitrate supoport on html5 I have created a m3u8 file like this :

    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=200111, RESOLUTION=512x288
    http://streamer.abc.com:8080/videos/arvind1.mp4
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=3000444, RESOLUTION=400x300
    http://streamer.abc.com:8080/videos/arvind1.mp4
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=400777, RESOLUTION=400x300
    http://streamer.abc.com:8080/videos/arvind1.mp4
    #EXT-X-ENDLIST

    But jwplayer is not playing this saying playlist not loaded. Specifically "No playable sources found". Please help.

  • Revision 07d5d538c2 : Clean up vp9_dct32x32_sse2_impl.h header files Remove redundant file dependency

    21 juillet 2015, par Jingning Han

    Changed Paths :
     Modify /vp9/encoder/x86/vp9_dct32x32_sse2_impl.h



    Clean up vp9_dct32x32_sse2_impl.h header files

    Remove redundant file dependency.

    Change-Id : I4708218157617dabe00e2e33e237be2838c16603