Recherche avancée

Médias (91)

Autres articles (52)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • How to handle errors during downloading (using videomanifest) video and make it more robust

    5 mai 2023, par Wakan Tanka

    I'm using ffmpeg to download videos from streaming site following way :

    


    ffmpeg.exe -i videomanifest -codec copy video.mp4 


    


    This works, but it has some drawbacks. The problem is that sometimes my (or maybe error on server side etc.) internet connection fails, and I'm forced to restart the whole download again. I would like to make this process more robust. It would be great if ffmpeg can continuously split video to several smaller files during the download and if download will fail then ffmpeg will continue (or maybe skip) from broken part. After downloading all parts I will concat them manually, this is no problem. Please treat above text just like an example, any other solution which will make downloading process more robust is welcomed. Is this possible with ffmpeg ?

    


    Here is example of videomanifest (this is not a fully functional file, important url parts were deleted due to privacy, so please treat it as an example for demonstration purposes)

    


    <mpd type="static" maxsegmentduration="PT5.000S" profiles="urn:mpeg:dash:profile:isoff-live:2011" mediapresentationduration="PT0H0M4961.472S" minbuffertime="PT4.500S" xmlns="urn:mpeg:DASH:schema:MPD:2011">&#xA;  <baseurl>https://........................</baseurl>&#xA;  <period>&#xA;    <adaptationset contenttype="audio" mimetype="audio/mp4" segmentalignment="true" bitstreamswitching="true" codecs="mp4a.40.2">&#xA;      <contentprotection schemeiduri="urn:mpeg:dash:sea:2012">&#xA;        &#xA;        &#xA;        &#xA;      </contentprotection>&#xA;      <label>EnhancedAudio</label>&#xA;      <segmenttemplate timescale="44100" initialization="videotranscode?provider=Spo&amp;amp;docId=https%3a%2...................">&#xA;        <segmenttimeline>&#xA;          <s d="221184" r="988"></s>&#xA;          <s d="49939"></s>&#xA;        </segmenttimeline>&#xA;      </segmenttemplate>&#xA;      <representation audiosamplingrate="44100" bandwidth="128000" codecs="mp4a.40.2"></representation>&#xA;      <representation audiosamplingrate="44100" bandwidth="192000" codecs="mp4a.40.2"></representation>&#xA;    </adaptationset>&#xA;    <adaptationset contenttype="audio" mimetype="audio/mp4" segmentalignment="true" bitstreamswitching="true" codecs="mp4a.40.2">&#xA;      <contentprotection schemeiduri="urn:mpeg:dash:sea:2012">&#xA;        &#xA;        &#xA;        &#xA;      </contentprotection>&#xA;      <label>OriginalAudio</label>&#xA;      <segmenttemplate timescale="44100" initialization="videotranscode?provider=Spo&amp;amp;docId=https%3a%2f%2fstu">&#xA;        <segmenttimeline>&#xA;          <s d="221184" r="988"></s>&#xA;          <s d="49939"></s>&#xA;        </segmenttimeline>&#xA;      </segmenttemplate>&#xA;      <representation audiosamplingrate="44100" bandwidth="128000" codecs="mp4a.40.2"></representation>&#xA;      <representation audiosamplingrate="44100" bandwidth="192000" codecs="mp4a.40.2"></representation>&#xA;    </adaptationset>&#xA;    <adaptationset contenttype="video" mimetype="video/mp4" segmentalignment="true" bitstreamswitching="true" maxframerate="82690000/5512747" maxwidth="1920" maxheight="1080" codecs="avc1.4d0028">&#xA;      <contentprotection schemeiduri="urn:mpeg:dash:sea:2012">&#xA;        &#xA;        &#xA;        &#xA;      </contentprotection>&#xA;      <segmenttemplate timescale="15000" initialization="videotranscode?provider=Spo&amp;amp;docId=https............">&#xA;        <segmenttimeline>&#xA;          <s d="74999" r="991"></s>&#xA;          <s d="22080"></s>&#xA;        </segmenttimeline>&#xA;      </segmenttemplate>&#xA;      <representation width="426" height="240" framerate="82690000/5512747" bandwidth="144000" codecs="avc1.4d401e"></representation>&#xA;      <representation width="852" height="480" framerate="82690000/5512747" bandwidth="480000" codecs="avc1.4d001f"></representation>&#xA;      <representation width="1280" height="720" framerate="82690000/5512747" bandwidth="1081600" codecs="avc1.4d001f"></representation>&#xA;      <representation width="1920" height="1080" framerate="82690000/5512747" bandwidth="2428800" codecs="avc1.4d0028"></representation>&#xA;    </adaptationset>&#xA;  </period>&#xA;</mpd>&#xA;

    &#xA;

  • ffmpeg exited with code 1 : Output with label 'videooutput' does not exist in any defined filter graph, or was already used elsewhere

    12 avril 2022, par ThePrime

    I'm using the https://www.npmjs.com/package/live-stream-radio module, but a few times i get this error using it. How could i solve it ? My code :

    &#xA;

    const NodeMediaServer = require(&#x27;node-media-server&#x27;);&#xA;&#xA;const config = {&#xA;  rtmp: {&#xA;    port: 1935,&#xA;    chunk_size: 60000,&#xA;    gop_cache: true,&#xA;    ping: 30,&#xA;    ping_timeout: 60&#xA;  },&#xA;  http: {&#xA;    port: 8080,&#xA;    allow_origin: &#x27;*&#x27;,&#xA;    mediaroot: &#x27;F:/VMediaServer/mediaroot&#x27;&#xA;  },&#xA;  trans: { ffmpeg: &#x27;C:/ffmpeg/bin/ffmpeg.exe&#x27;, tasks: [ { app: &#x27;live&#x27;, ac: &#x27;aac&#x27;, vc: &#x27;libx264&#x27;, hls: true, hlsFlags: &#x27;[hls_time=2:hls_list_size=3:hls_flags=delete_segments]&#x27;, dash: true, dashFlags: &#x27;[f=dash:window_size=3:extra_window_size=5]&#x27; } ] }&#xA;};&#xA;&#xA;var nms = new NodeMediaServer(config)&#xA;nms.run();&#xA;

    &#xA;

  • Safari on Yosemite doesn't get total media duration from init file of video generated using MP4Box

    30 avril 2015, par sonam

    I am trying to play HTML5 video using MediaSource Extesion. I am generating dash fragmnets using MP4Box. I am creating init fragment and respective dash fragments.

    I am creating mediasource and adding init fragment to it. When this is done, all the browsers where media source extension is supported(chrome, firefox developer version, android chrome, windows 8 IE11), return correct media duration. But the same doesn’t work with safari on Yosemite, where spec says media source is supported. So on safari, media duration is updated as and when data fragments are appended to it progressively. How can I make it work in safari ? Is there something that is missing from init fragment and how to add it ?