Recherche avancée

Médias (0)

Mot : - Tags -/acrobat

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

Autres articles (47)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (3043)

  • Is there a way a video can be encoded on its own when uploaded into server

    18 février 2013, par user1914374

    Below is my code where it uploads a file into a server and stores the names of each uploaded file into the db :

    <?php

    // connect to the database
    include('connect.php');

     /* check connection */
     if (mysqli_connect_errno()) {
       printf("Connect failed: %s\n", mysqli_connect_error());
       die();
     }


       if ($_FILES['fileVideo']['error'] === UPLOAD_ERR_OK) {

    $result = 0;


    if( file_exists("VideoFiles/".$_FILES['fileVideo']['name'])) {
       $parts = explode(".",$_FILES['fileVideo']['name']);
       $ext = array_pop($parts);
       $base = implode(".",$parts);
       $n = 2;

       while( file_exists("VideoFiles/".$base."_".$n.".".$ext)) $n++;
       $_FILES['fileVideo']['name'] = $base."_".$n.".".$ext;

       move_uploaded_file($_FILES["fileVideo"]["tmp_name"],
       "VideoFiles/" . $_FILES["fileVideo"]["name"]);
       $result = 1;

    }
       else
         {
         move_uploaded_file($_FILES["fileVideo"]["tmp_name"],
         "VideoFiles/" . $_FILES["fileVideo"]["name"]);
         $result = 1;
     }

       $videosql = "INSERT INTO Video (VideoFile)
       VALUES (?)";

           if (!$insert = $mysqli->prepare($videosql)) {
         // Handle errors with prepare operation here
       }

       //Assign the variable
    $vid = 'VideoFiles/'.$_FILES['fileVideo']['name'];

               //Dont pass data directly to bind_param store it in a variable
    $insert->bind_param("s",$vid);

    $insert->execute();
    $id = $mysqli->insert_id;

           if ($insert->errno) {
             // Handle query error here
           }

           $insert->close();    

           }else{
     echo "Upload was not successful";  
     }

    ?>

    <code class="echappe-js">&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&gt;<br />
    window.top.stopVideoUpload(&amp;lt;?php echo $result; ?&gt;,&amp;#39;&amp;lt;?php echo $id; ?&gt;&amp;#39;, &amp;#39;&amp;lt;?php echo $_FILES[&amp;#39;fileVideo&amp;#39;][&amp;#39;name&amp;#39;]; ?&gt;&amp;#39;);<br />
    &lt;/script&gt;

    Now I am using a jwplayer and it requires video files to match video formats on this page :

    http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12539/supported-video-and-audio-formats/

    So I need to be able to encode files automatically on the server when the file is uploaded into the server. I do not want the user to try and encode a video file manually by themseleves, I want it done automatically. But my question is how can I get automatic server side file encoding to work ?

    I have a demo showing how a video file is uploaded : DEMO

    To use Demo :

    1. Click on Add Question button and file input will appear in table

    2. Click on upload straightaway and you will see a simple validation stating which video file format are allowed (this is simply done by checking video file extension)

    3. Browse for a video file, select and then click on Upload and wait for upload to finish (I recommend a short video file for saving time). When file is uploaded it will display success message and video file is uploaded into server,

  • Revision 7d8fc26c9c : vpxdec : support scaling output Adds an option, —scale, that will rescale any f

    26 février 2013, par John Koleszar

    Changed Paths : Modify /examples.mk Modify /vpxdec.c vpxdec : support scaling output Adds an option, —scale, that will rescale any frames produced by the decoder that don't match the resolution of the first frame to that resolution. This is useful for playback of files that use spatial (...)

  • Revision 1cfc86ebe0 : Add unit test for x4 multi-SAD functions Update the function prototypes to matc

    1er mars 2013, par John Koleszar

    Changed Paths : Modify /test/sad_test.cc Modify /vp9/common/vp9_rtcd_defs.sh Modify /vp9/encoder/vp9_sad_c.c Modify /vp9/encoder/vp9_variance.h Add unit test for x4 multi-SAD functions Update the function prototypes to match between VP9 and VP8. Change-Id : (...)