Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (97)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (15825)

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