Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (101)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (11724)

  • FFMpeg command line to create specific MPD Manifest

    22 février 2024, par Seth Haberman

    I have tried to get an FFMpeg command to yield the below manifest. Right below is the FFmpeg command that I have tried to make but it has not created the same manifest file as what I am trying to replicate a stream from a third party system to add my own stream to their system so that it will actually play back.

    


    "$ffmpeg_path" \
    -i "$input_file" \
    -r 30000/1001 \
    -vf "scale=3840:1080" \
    -c:v libx265 \
    -c:a aac -b:a 128k \
    -ar 48000 \
    -f dash \
    -use_timeline 1 \
    -use_template 1 \
    -init_seg_name "init-stream\$RepresentationID\$.m4s" \
    -media_seg_name "chunk-stream\$RepresentationID\$-\$Number%05d\$.m4s" \
    -seg_duration 3 \
    "$output_file"


    


    The code above yields a manifest that is structured like below.

    


    &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="PT1M35.1S" maxsegmentduration="PT3.0S" minbuffertime="PT16.8S">&#xA;    <programinformation>&#xA;    </programinformation>&#xA;    <servicedescription>&#xA;    </servicedescription>&#xA;    <period start="PT0.0S">&#xA;        <adaptationset contenttype="video" startwithsap="1" segmentalignment="true" bitstreamswitching="true" framerate="30000/1001" maxwidth="3840" maxheight="1080" par="32:9">&#xA;            <representation mimetype="video/mp4" codecs="hev1" bandwidth="2227590" width="3840" height="1080" sar="1:1">&#xA;                <segmenttemplate timescale="30000" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="1">&#xA;                    <segmenttimeline>&#xA;                        <s t="0" d="247247"></s>&#xA;                        <s d="250250" r="9"></s>&#xA;                        <s d="104104"></s>&#xA;                    </segmenttimeline>&#xA;                </segmenttemplate>&#xA;            </representation>&#xA;        </adaptationset>&#xA;        <adaptationset contenttype="audio" startwithsap="1" segmentalignment="true" bitstreamswitching="true">&#xA;            <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="128000" audiosamplingrate="48000">&#xA;                <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="1"></audiochannelconfiguration>&#xA;                <segmenttemplate timescale="48000" initialization="init-stream$RepresentationID$.m4s" media="chunk-stream$RepresentationID$-$Number%05d$.m4s" startnumber="1">&#xA;                    <segmenttimeline>&#xA;                        <s t="0" d="143360"></s>&#xA;                        <s d="144384" r="29"></s>&#xA;                        <s d="93120"></s>&#xA;                    </segmenttimeline>&#xA;                </segmenttemplate>&#xA;            </representation>&#xA;        </adaptationset>&#xA;    </period>&#xA;</mpd>&#xA;&#xA;

    &#xA;

    The problem is that I I need it to create a stream where the manifest looks like the manifest below. If it doesn't look or function as below, it will not playback correctly on this third parties system.

    &#xA;

    &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?>&#xA;<mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediapresentationduration="PT1M35.7S" minbuffertime="PT5.9S">&#xA;    <programinformation></programinformation>&#xA;    <period start="PT0.0S">&#xA;        <adaptationset contenttype="video" segmentalignment="true" bitstreamswitching="true">&#xA;            <representation bandwidth="12000000" width="3840" height="1080" framerate="30000/1001" mimetype="video/mp4" codecs="hev1">&#xA;                <segmenttemplate media="chunk-stream$RepresentationID$-$Number%05d$.m4s" initialization="init-stream$RepresentationID$.m4s" startnumber="1" timescale="30000">&#xA;                    <segmenttimeline>&#xA;                        <s t="0" d="89089" r="31"></s>&#xA;                        <s d="21021"></s>&#xA;                    </segmenttimeline>&#xA;                </segmenttemplate>&#xA;            </representation>&#xA;        </adaptationset>&#xA;        <adaptationset contenttype="audio" segmentalignment="true" bitstreamswitching="true">&#xA;            <representation bandwidth="1536000" audiosamplingrate="48000" mimetype="audio/mp4" codecs="mp4a.40.2">&#xA;                <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="16"></audiochannelconfiguration>&#xA;                <segmenttemplate media="chunk-stream$RepresentationID$-$Number%05d$.m4s" initialization="init-stream$RepresentationID$.m4s" startnumber="1" timescale="48000">&#xA;                    <segmenttimeline>&#xA;                        <s t="0" d="143360"></s>&#xA;                        <s d="142336" r="2"></s>&#xA;                        <s d="143360"></s>&#xA;                        <s d="142336" r="3"></s>&#xA;                        <s d="143360"></s>&#xA;                        <s d="142336" r="3"></s>&#xA;                        <s d="143360"></s>&#xA;                        <s d="142336" r="3"></s>&#xA;                        <s d="143360"></s>&#xA;                        <s d="142336" r="3"></s>&#xA;                        <s d="143360"></s>&#xA;                        <s d="142336" r="3"></s>&#xA;                        <s d="143360"></s>&#xA;                        <s d="142336" r="1"></s>&#xA;                        <s d="32768"></s>&#xA;                    </segmenttimeline>&#xA;                </segmenttemplate>&#xA;            </representation>&#xA;        </adaptationset>&#xA;    </period>&#xA;</mpd>&#xA;

    &#xA;

  • libavformat/dashdec : Support negative value of the @r attrbute of S in SegmentTimelin...

    13 août 2018, par sanil
    libavformat/dashdec : Support negative value of the @r attrbute of S in SegmentTimeline element.
    

    The following patch supports parsing negative value of the @r attribute of S in SegmentTimeline element.

    Example streams :
    1. http://dash.edgesuite.net/dash264/TestCases/1c/qualcomm/1/MultiRate.mpd
    2. http://dash.edgesuite.net/dash264/TestCases/1c/qualcomm/2/MultiRate.mpd

    • [DH] libavformat/dashdec.c
  • Live streaming Rmtp node-media-server real server not creating video files but wont fail (OBS)

    3 octobre 2020, par Orgil

    I have made a live streaming server with node-media-server and it works well in local but when i put it on a real server (ubuntu, nginx) its just creating the folder but not creating video files and no errors given OBS the streaming sofware not failing. is it something to do with ffmpeg ? maybe needed packages didnt install or ? idk whats going on :D

    &#xA;

    Cofig of node-media-server :

    &#xA;

    rtmp_server: {&#xA;    rtmp: {&#xA;        port: 1935,&#xA;        chunk_size: 60000,&#xA;        gop_cache: false,&#xA;        ping: 60,&#xA;        ping_timeout: 30&#xA;    },&#xA;    http: {&#xA;        port: 8088,&#xA;        mediaroot: &#x27;/home/ubuntu/projects/amjilt_media/media&#x27;,&#xA;        allow_origin: &#x27;*&#x27;&#xA;    },&#xA;    trans: {&#xA;        ffmpeg: &#x27;/usr/bin/ffmpeg&#x27;,&#xA;        // ffmpeg: &#x27;C:/Users/User/Desktop/ffmpeg/bin/ffmpeg.exe&#x27;,&#xA;        tasks: [&#xA;            {&#xA;                app: &#x27;live&#x27;,&#xA;                hls: true,&#xA;                hlsFlags: &#x27;[hls_time=2:hls_list_size=3:hls_flags=delete_segments]&#x27;,&#xA;                dash: true,&#xA;                dashFlags: &#x27;[f=dash:window_size=3:extra_window_size=5]&#x27;&#xA;            }&#xA;        ]&#xA;    }&#xA;}&#xA;

    &#xA;