Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (42)

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5824)

  • Unbound variable error when installing ffmpeg on openshift online

    31 août 2016, par sinabakh

    I followed the steps on https://forums.openshift.com/ffmpeg but when performing make install I got this error :

    INSTALL doc/ffmpeg.1
    INSTALL doc/ffprobe.1
    INSTALL doc/ffserver.1
    INSTALL doc/ffmpeg-all.1
    INSTALL doc/ffprobe-all.1
    INSTALL doc/ffserver-all.1
    INSTALL doc/ffmpeg-utils.1
    INSTALL doc/ffmpeg-scaler.1
    INSTALL doc/ffmpeg-resampler.1
    INSTALL doc/ffmpeg-codecs.1
    INSTALL doc/ffmpeg-bitstream-filters.1
    INSTALL doc/ffmpeg-formats.1
    INSTALL doc/ffmpeg-protocols.1
    INSTALL doc/ffmpeg-devices.1
    INSTALL doc/ffmpeg-filters.1
    INSTALL doc/libavutil.3
    INSTALL doc/libswscale.3
    INSTALL doc/libswresample.3
    INSTALL doc/libavcodec.3
    INSTALL doc/libavformat.3
    INSTALL doc/libavdevice.3
    INSTALL doc/libavfilter.3
    /var/lib/openshift//python//bin/install: line 10: version: unbound variable
    make: *** [install-man] Error 1

    And It’s the install file(which gives error) :

    #!/bin/bash -eu

    source $OPENSHIFT_CARTRIDGE_SDK_BASH

    case "$1" in
        -v|--version)
        version="$2"
    esac

    echo "$version" > ${OPENSHIFT_PYTHON_DIR}env/OPENSHIFT_PYTHON_VERSION

    mkdir -p ${OPENSHIFT_PYTHON_DIR}template

    # Call the version specific install script
    exec ${OPENSHIFT_PYTHON_DIR}usr/versions/${version}/bin/install $version

    So what is the problem ? And how can I solve it ?
    thanks

  • HTML5 Progressive Streaming — no follow-up range requests

    20 septembre 2023, par user2333829

    I'm working on an embedded device that is recording video on the fly. I'd like to stream that to an HTML5 video element, using our own custom server. I have this almost working and would like some help.

    



    So far as I can tell, I've got libav / ffmpeg doing their job right. I encoded an mp4 in RAM with the moov atom at the start of the file. I've written this file to disk and it plays everywhere it should.

    



    The problem, I think, lies with how I'm responding to HTTP range requests. When I try to do a live stream, I get an initial range request from the browser / player (currently tried Chrome, Firefox, and VLC) for bytes:0-. I responded with some initial bytes. The browser / player actually plays this fine, but never asks again. So the live stream doesn't work, just the first 3 seconds or whatever.

    



    I've looked at the RFC spec of partial content, and my understanding is I'm doing what I should be... Clearly I'm not though. Here is an example of a request / response with Chrome as the requester :

    




    



    
get /live.mp4 HTTP/1.1
host: localhost:1235
connection: keep-alive
accept-encoding: identity;q=1, *;q=0
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
accept: */*
dnt: 1
accept-language: en-GB,en-US;q=0.9,en;q=0.8
range: bytes=0-


    



    
HTTP/1.1 206 Partial Content
Accept-Ranges: bytes
Content-Type: video/mp4
Content-Length: 182400
Content-Range: bytes 0-182399/*


    




    



    Again, with that request / response pair, Chrome plays the first 182400 bytes but never makes a second request. I thought having the '*' in Content-Range would make this happen...

    


  • Video encoding and decoding by the player during online playback [closed]

    10 janvier 2024, par rahkarenovin

    I made a player to stream the video.

    


    I want to do 32-bit encoding on the video with the help of ffmpeg.
so that the video will only play in my player.

    


    The problems I have :

    


      

    1. I want to put my 32-bit password in the player, the player will check this password while playing the video, if the password is the same, the video will be played.

      


    2. 


    3. I don't know how to decode the video with the below player.

      


    4. 


    


    What code is needed ? What command can I use to decode the video ?

    


    My player code :

    


    <div class="grid">&#xA;    <main>&#xA;        <div>&#xA;            &#xA;            &#xA;        </div>&#xA;    </main>&#xA;</div>&#xA;&#xA;<code class="echappe-js">&lt;script&amp;#xA;    type=&quot;text/javascript&quot;&amp;#xA;    src=&quot;https://cdn.polyfill.io/v2/polyfill.min.js?features=es6,Array.prototype.includes,CustomEvent,Object.entries,Object.values,Math.trunc&quot;&amp;#xA;    crossorigin=&quot;anonymous&quot;&amp;#xA;&gt;&lt;/script&gt;&#xA;&#xA;&lt;script type=&quot;text/javascript&quot; src=&quot;https://cdn.plyr.io/3.5.2/plyr.js&quot;&gt;&lt;/script&gt;&#xA;&#xA;&lt;script type=&quot;text/javascript&quot; src=&quot;https://cdn.jsdelivr.net/npm/hls.js@latest&quot;&gt;&lt;/script&gt;&#xA;&#xA;&lt;script&gt;&amp;#xA;    const source = &amp;#x27;https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8&amp;#x27;;&amp;#xA;    const player = new Plyr(&amp;#x27;#player&amp;#x27;);&amp;#xA;    var video = document.getElementById(&amp;#x27;player&amp;#x27;);&amp;#xA;    if(Hls.isSupported()) {&amp;#xA;       var hls = new Hls();&amp;#xA;       hls.loadSource(source);&amp;#xA;       hls.attachMedia(video);&amp;#xA;       hls.on(Hls.Events.MANIFEST_PARSED,function() {&amp;#xA;           video.play();&amp;#xA;        });&amp;#xA;    }else if (video.canPlayType(&amp;#x27;application/vnd.apple.mpegurl&amp;#x27;)) {&amp;#xA;       video.src = source;&amp;#xA;       video.addEventListener(&amp;#x27;loadedmetadata&amp;#x27;,function() {&amp;#xA;           video.play();&amp;#xA;        });&amp;#xA;    }&amp;#xA;&lt;/script&gt;&#xA;

    &#xA;