Recherche avancée

Médias (0)

Mot : - Tags -/publication

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (81)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (10078)

  • Fix writing first audio Cues in dash mode.

    9 octobre 2014, par Frank Galligan
    Fix writing first audio Cues in dash mode.
    

    In dahsmode Matroska is not writing the first Cluster for every
    audio stream in the Cues element.

    Signed-off-by : Frank Galligan <frankgalligan@gmail.com>
    Reviewed-by : Vignesh Venkatasubramanian <vigneshv@google.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/matroskaenc.c
  • FFMPEG Mpeg-DASH what attributes options and flags do we need to make H264 playable .mpd universally playable

    22 mars 2021, par Jintor

    I want to encode from any source to a universally playable .mpd with h264 codec.

    &#xA;

    Here my command

    &#xA;

    /usr/bin/ffmpeg -re -i 1.webm -c:v libx264 -preset ultrafast &#xA;-tune zerolatency -c:a aac -ac 2 -strict -2 -crf 18 -profile:v baseline &#xA;-maxrate 1000k -pix_fmt yuv420p -flags -global_header -streaming 1 &#xA;-use_template 1 -use_timeline 0 -seg_duration 2 -remove_at_exit 1 &#xA;-f dash index.mpd&#xA;

    &#xA;

    but with dash.js the log says

    &#xA;

    dash.js videoCodec (video/mp4;codecs="avc1") is not supported.&#xA;

    &#xA;

    **EXTRA NOTE : When using -c:v libx264 and output in HLS .m3u8 —> it's working in all browsers

    &#xA;

    HTML with dash.js

    &#xA;

    <code class="echappe-js">&lt;script src=&quot;http://cdn.dashjs.org/latest/dash.all.min.js&quot;&gt;&lt;/script&gt;&#xA;    

    &#xA; &lt;script&gt;&amp;#xA;    (function(){&amp;#xA;        var url = &quot;https://www.---domain--path-to.mpd&quot;;&amp;#xA;        var player = dashjs.MediaPlayer().create();&amp;#xA;        player.initialize(document.querySelector(&quot;#videoPlayer&quot;), url, true);&amp;#xA;player.updateSettings({&amp;#xA;            streaming: {&amp;#xA;                 lowLatencyEnabled: true, &amp;#xA;                 liveDelay: 4,&amp;#xA;                 liveCatchup: {&amp;#xA;                    minDrift: 0.02,&amp;#xA;                    maxDrift: 0,&amp;#xA;                    playbackRate: 0.5,&amp;#xA;                    latencyThreshold: 60    &amp;#xA;                  }&amp;#xA;            }&amp;#xA;        });&amp;#xA;    })();     &amp;#xA;    video = document.getElementById(&quot;videoPlayer&quot;);&amp;#xA;    video.addEventListener(&quot;loadedmetadata&quot;, function(){ video.muted = true; video.play(); }, false);&amp;#xA;    &lt;/script&gt;&#xA;

    &#xA;

    I do have "-c:v libx264" but why dash.js sees avc1... I know that h264 have avc1, but how to fix this. Is it fixing the ffmpeg command or changing the player.initialize in the javascript

    &#xA;

  • How to use argument with dash in name in ffmpeg-python ?

    8 mai 2023, par orderlyfashion

    Following is a simple ffmpeg command line for encoding an input video into a AV1 output with CRF 30 :

    &#xA;

    ffmpeg -i input.mkv -c:v libsvtav1 -crf 30 output.mkv&#xA;

    &#xA;

    Converting that command line into the syntax of ffmpeg-python is pretty straight-forward :

    &#xA;

    (&#xA;    ffmpeg&#xA;    .input(&#x27;input.mkv&#x27;)&#xA;    .output(&#x27;output.mkv&#x27;, vcodec=&#x27;libsvtav1&#x27;, crf=30)&#xA;    .run()&#xA;)&#xA;

    &#xA;

    However, what happens if we want to specify the fast-decode option ? In ffmpeg that would mean extending our command line to include -svtav1-params fast-decode=1, i.e. :

    &#xA;

    ffmpeg -i input.mkv -c:v libsvtav1 -crf 30 -svtav1-params fast-decode=1 output.mkv&#xA;

    &#xA;

    How do we specify the same thing in ffmpeg-python ? Adding svtav1-params=&#x27;fast-decode=1&#x27; into the output arguments results in invalid Python code since variables are not allowed to have dash in the name :

    &#xA;

    (&#xA;    ffmpeg&#xA;    .input(&#x27;input.mkv&#x27;)&#xA;    .output(&#x27;output.mkv&#x27;, vcodec=&#x27;libsvtav1&#x27;, crf=30, svtav1-params=&#x27;fast-decode=1&#x27;)&#xA;    .run()&#xA;)&#xA;# Error: Expected parameter name&#xA;

    &#xA;

    Replacing the dash with an underscore in the name makes ffmpeg-python read it literally which doesn't translate into a valid ffmpeg command line.

    &#xA;

    How is it possible to specify fast-decode and other svtav1-params specific arguments in ffmpeg-python ?

    &#xA;