Recherche avancée

Médias (91)

Autres articles (39)

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (4753)

  • Issues with using FFmpeg to generate MPEG-DASH files

    26 septembre 2022, par Tina J

    I am using the following ffmpeg command to generate MPEG DASH files and manifest. I use single_file 1 to have a single file for each representation ; so no chunking. But IDK why when I want to play the manifest using ExoPlayer, the video doesn't play from the beginning (rather it starts from around 50s).

    


    ffmpeg -re -i .\video-h264.mkv -map 0 -map 0 -c:a aac -c:v libx264 -b:v:0 800k -b:v:1 300k -s:v:1 320x170 -profile:v:1 baseline -profile:v:0 main -bf 1 -keyint_min 120 -g 120 -sc_threshold 0 -b_strategy 0 -ar:a:1 22050 -use_timeline 1 -single_file 1 -use_template 1 -window_size 5 -adaptation_sets "id=0,streams=v id=1,streams=a" -f dash out.mpd


    


    What is wrong with this ? Is the manifest correct ? Here is the generated mpd :

    


    &lt;?xml version="1.0" encoding="utf-8"?>&#xA;<mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediapresentationduration="PT1M20.1S" maxsegmentduration="PT5.0S" minbuffertime="PT16.0S">&#xA;    <programinformation>&#xA;    </programinformation>&#xA;    <servicedescription>&#xA;    </servicedescription>&#xA;    <period start="PT48.0S">&#xA;        <adaptationset contenttype="video" startwithsap="1" segmentalignment="true" bitstreamswitching="true" framerate="30/1" maxwidth="960" maxheight="540" par="517072:290799" lang="eng">&#xA;            <representation mimetype="video/mp4" codecs="avc1.4d401f" bandwidth="800000" width="960" height="540" sar="32317:32311">&#xA;                <baseurl>out-stream0.mp4</baseurl>&#xA;                <segmentlist timescale="1000000" duration="5000000" startnumber="7">&#xA;                    <initialization range="0-832"></initialization>&#xA;                    <segmenturl mediarange="4800141-5599188" indexrange="4800141-4800192"></segmenturl>&#xA;                    <segmenturl mediarange="5599189-6243069" indexrange="5599189-5599240"></segmenturl>&#xA;                    <segmenturl mediarange="6243070-7224302" indexrange="6243070-6243121"></segmenturl>&#xA;                    <segmenturl mediarange="7224303-8138118" indexrange="7224303-7224354"></segmenturl>&#xA;                    <segmenturl mediarange="8138119-8232111" indexrange="8138119-8138170"></segmenturl>&#xA;                </segmentlist>&#xA;            </representation>&#xA;            <representation mimetype="video/mp4" codecs="avc1.42c00d" bandwidth="300000" width="320" height="170" sar="549389:581598">&#xA;                <baseurl>out-stream2.mp4</baseurl>&#xA;                <segmentlist timescale="1000000" duration="5000000" startnumber="7">&#xA;                    <initialization range="0-832"></initialization>&#xA;                    <segmenturl mediarange="1782920-2005667" indexrange="1782920-1782971"></segmenturl>&#xA;                    <segmenturl mediarange="2005668-2229412" indexrange="2005668-2005719"></segmenturl>&#xA;                    <segmenturl mediarange="2229413-2615209" indexrange="2229413-2229464"></segmenturl>&#xA;                    <segmenturl mediarange="2615210-2975346" indexrange="2615210-2615261"></segmenturl>&#xA;                    <segmenturl mediarange="2975347-2999288" indexrange="2975347-2975398"></segmenturl>&#xA;                </segmentlist>&#xA;            </representation>&#xA;        </adaptationset>&#xA;        <adaptationset contenttype="audio" startwithsap="1" segmentalignment="true" bitstreamswitching="true" lang="eng">&#xA;            <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="69000" audiosamplingrate="44100">&#xA;                <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="1"></audiochannelconfiguration>&#xA;                <baseurl>out-stream1.mp4</baseurl>&#xA;                <segmentlist timescale="1000000" duration="5000000" startnumber="12">&#xA;                    <initialization range="0-764"></initialization>&#xA;                    <segmenturl mediarange="491493-536039" indexrange="491493-491544"></segmenturl>&#xA;                    <segmenturl mediarange="536040-580657" indexrange="536040-536091"></segmenturl>&#xA;                    <segmenturl mediarange="580658-625158" indexrange="580658-580709"></segmenturl>&#xA;                    <segmenturl mediarange="625159-669825" indexrange="625159-625210"></segmenturl>&#xA;                    <segmenturl mediarange="669826-713289" indexrange="669826-669877"></segmenturl>&#xA;                </segmentlist>&#xA;            </representation>&#xA;            <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="69000" audiosamplingrate="22050">&#xA;                <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="1"></audiochannelconfiguration>&#xA;                <baseurl>out-stream3.mp4</baseurl>&#xA;                <segmentlist timescale="1000000" duration="5000000" startnumber="12">&#xA;                    <initialization range="0-764"></initialization>&#xA;                    <segmenturl mediarange="486188-530059" indexrange="486188-486239"></segmenturl>&#xA;                    <segmenturl mediarange="530060-574175" indexrange="530060-530111"></segmenturl>&#xA;                    <segmenturl mediarange="574176-618922" indexrange="574176-574227"></segmenturl>&#xA;                    <segmenturl mediarange="618923-663118" indexrange="618923-618974"></segmenturl>&#xA;                    <segmenturl mediarange="663119-706121" indexrange="663119-663170"></segmenturl>&#xA;                </segmentlist>&#xA;            </representation>&#xA;        </adaptationset>&#xA;    </period>&#xA;</mpd>&#xA;

    &#xA;

  • how to create multiple period using ffmpeg, from two input videos to multi period on the DASH mpd

    14 mai 2020, par Sunny

    I wonder how to create multi-periods from two input videos or more using ffmpeg. &#xA;how do I make a command line for making a DASH mpd to have multiple periods. &#xA;who does know the way to make the thing ?

    &#xA;&#xA;

    ==============&#xA;xml&#xA;&#xA; &#xA; representation..&#xA; &#xA; &#xA; representation..&#xA;

    &#xA;&#xA;

    &#xA;

  • ffmpeg.wasm to transcode multi-bitrate HLS or DASH ?

    24 mai 2021, par James Murry

    my website allows users to upload videos but my servers cant handle the traffic and the budget is low. i heard about webassembly and i have been looking to see if i can transcode on client-side and then upload the hls files to my server.

    &#xA;

    I cannot find any documentation about hls on ffmpeg.wasm is it even possible.

    &#xA;