Recherche avancée

Médias (91)

Autres articles (52)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

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

Sur d’autres sites (10094)

  • What options are available for speeding up video load times on a webpage when video is hosted on IPFS

    10 août 2022, par Ryan D

    I have a site that pulls videos hosted on IPFS (Interplanetary File System), most of the videos load and play fine but if a user doesn't have a strong internet connection or if a larger video, it constantly buffer's and play's choppy.

    


    Since the video isn't hosted on my server i'm not sure what options I have to help speed the load times up. The original video is uploaded to my site though and I pass it to IPFS to upload directly. I don't currently download it to my server first to speed up the uploading process, or so the user doesn't need to wait for a double upload.

    


    I know youTube has a compression algorithm and does something with chopping up the video into chunks or something but i'm not sure exactly how that works. Im not very experienced with video codec and encoding. Ive heard good things about FFmpeg but not sure if that would help my current situation.

    


    Any ideas or tools I should look into that may help me out would be appreciated. For larger videos I could download to my server first if theres a compression mechanism or something I could apply first to help the overall load times of the site although not ideal for the user uploading.

    


    Im using videoJS for my video player with preload set to auto if that helps at all.

    


    <video width="320" height="240" controls="controls" class="video-js video" poster="{Image URL}">&#xA;    <source src="{IPFS URL}" type="video/mp4">&#xA;</source></video>&#xA;

    &#xA;

    Options im currently using

    &#xA;

    Load the video after the DOM has loaded to not slow down page loads

    &#xA;

    Preload the video

    &#xA;

    &#xA;

    &#xA;

    Although I don't think that does much.

    &#xA;

    Other than that I don't know what else I can do. Im good with PHP and or Javascript to handle this task if theres something I should look into.

    &#xA;

    Thanks !

    &#xA;

  • ffmpeg convert images to video, but with variable times for each jpg

    9 novembre 2014, par gotteabagged

    I’m looking for a command for ffmpeg, where I can convert several JPGs to a mp4 file, where each JPG has a different time. I know how to set up a static framerate like with this command :

    ffmpeg -framerate 1/5 -i img%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4

    But my situation is, that I have screenshots from a powerpoint (1.JPG, 2.JPG, 3.JPG and so on) and a XML file, containing the time and length of each JPG.

    <eventstreamdata>
     
     
    </eventstreamdata>

    The use of this was : A presentation was screen recorded and the program automatically splitted it into jpgs and created a XML file with the information of length. Additional for the audio was a seperate CAM video.

    To sum up : Anyone got an idea how to create a video from JPGs with variable lengths given from a external file ?

  • how to find video and audio stream times without the deprecated values ? libav 10.5

    23 novembre 2014, par Narayana James Emery

    After looking into the documentation, AVStream.pts has been deprecated. Before I was using this loop to try and get the video and audio time. it’s the same as whats in the api-example.c (which no longer works) :

    if (audioStream_)
       {
           VideoTime = (double)videoStream_->pts.val*videoStream_->time_base.num/videoStream_->time_base.den;
           do
           {
               AudioTime = (double)audioStream_->pts.val*audioStream_->time_base.num/audioStream_->time_base.den;
               ret = WriteAudioFrame();
           }
           while (AudioTime &lt; VideoTime &amp;&amp; ret);
           if (ret &lt; 0)
               return ret;
       }

    what is the current alternative ? I haven’t been able to get anything to work as of yet and I’ve been searching for around 3 hours.