
Recherche avancée
Autres articles (81)
-
Gestion générale des documents
13 mai 2011, parMé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, parThis page lists some websites based on MediaSPIP.
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez 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 GalliganFix 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> -
FFMPEG Mpeg-DASH what attributes options and flags do we need to make H264 playable .mpd universally playable
22 mars 2021, par JintorI want to encode from any source to a universally playable .mpd with h264 codec.


Here my command


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



but with dash.js the log says


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



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


HTML with dash.js


<code class="echappe-js"><script src="http://cdn.dashjs.org/latest/dash.all.min.js"></script>



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



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

-
How to use argument with dash in name in ffmpeg-python ?
8 mai 2023, par orderlyfashionFollowing is a simple ffmpeg command line for encoding an input video into a AV1 output with CRF 30 :


ffmpeg -i input.mkv -c:v libsvtav1 -crf 30 output.mkv



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


(
 ffmpeg
 .input('input.mkv')
 .output('output.mkv', vcodec='libsvtav1', crf=30)
 .run()
)



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

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



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

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



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.


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