
Recherche avancée
Autres articles (98)
-
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette 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. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP 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 (...)
Sur d’autres sites (8868)
-
FFMPEG Encoding in Multiple resoultions for adaptive streaming
9 janvier 2020, par thatmanI am using the following ffmpeg script for encoding mp4 video into different resolutions for adaptive HLS/DASH streaming :
ffmpeg -y -nostdin -loglevel error -i INPUT.mp4 \
-map 0:v:0 -map 0:v:0 -map 0:v:0 -map 0:v:0 -map 0:v:0 -map 0:v:0 -map 0:a\?:0 \
-maxrate:v:0 350k -bufsize:v:0 700k -c:v:0 libx264 -filter:v:0 "scale=320:-2" \
-maxrate:v:1 1000k -bufsize:v:1 2000k -c:v:1 libx264 -filter:v:1 "scale=640:-2" \
-maxrate:v:2 3000k -bufsize:v:2 6000k -c:v:2 libx264 -filter:v:2 "scale=1280:-2" \
-maxrate:v:3 300k -bufsize:v:3 600k -c:v:3 libvpx-vp9 -filter:v:3 "scale=320:-2" \
-maxrate:v:4 1088k -bufsize:v:4 2176k -c:v:4 libvpx-vp9 -filter:v:4 "scale=640:-2" \
-maxrate:v:5 1500k -bufsize:v:5 3000k -c:v:5 libvpx-vp9 -filter:v:5 "scale=1280:-2" \
-use_timeline 1 -use_template 1 -adaptation_sets "id=0,streams=v id=1,streams=a" \
-threads 8 -seg_duration 5 -hls_init_time 1 -hls_time 5 -hls_playlist true -f dash OUTPUT.mpdBut the script is giving this error :
Only ’-vf scale=320:640’ read, ignoring remaining -vf options : Use ’,’ to separate filters
Only ’-vf scale=640:1280’ read, ignoring remaining -vf options : Use ’,’ to separate filters
Only ’-af (null)’ read, ignoring remaining -af options : Use ’,’ to separate filtersPlease help in resolving the issue. Thanks in advance !
-
How To Implement FFMPEG LL-HLS
8 septembre 2022, par Devin DixonHow is Low Latency HLS achieved with FFMPEG ? From my understanding thus far, I am seeing changes around the
-f
option. For example :

-f dash -method PUT http://example.com/live/manifest.mpd



But there isn't much information researching on LL-HLS with ffmpeg. Making smaller segments I am finding comes at the cost of choppiness in the stream. Has anyone done this ? And is the protocol actually adopted or just in "theory".


-
How can i make the dashjs player respect the stream window from ffmpeg ?
7 mars 2021, par Octavia KitsuneI created the following command to i run on the serverside turn a source url into a cmaf dash stream :


ffmpeg -loglevel error -re -i SOURCEURL -c copy -f dash -dash_segment_type mp4 -remove_at_exit 1 -seg_duration 2 -target_latency 1 -frag_type duration -frag_duration 0.1 -window_size 10 -extra_window_size 3 -streaming 1 -ldash 1 -use_template 1 -use_timeline 0 -index_correction 1 -tune zerolatency -fflags "+nobuffer+flush_packets" -format_options "movflags=cmaf" -adaptation_sets "id=0,streams=0 id=1,streams=1" -utc_timing_url "http://time.akamai.com/?iso&ms" stream/main.mpd



And on the clientside i run a dashjs player with the following configuration :


const video = document.getElementById('video')
 const player = dashjs.MediaPlayer().create()

 player.initialize(video, false, true)
 player.updateSettings({
 streaming: {
 stallThreshold: 0.05,
 lowLatencyEnabled: true,
 liveDelay: 1,
 liveCatchup: {
 minDrift: 1,
 playbackRate: 0.3,
 mode: 'liveCatchupModeDefault'
 },
 abr: {
 useDefaultABRRules: true,
 ABRStrategy: 'abrLoLP',
 fetchThroughputCalculationMode:
 'abrFetchThroughputCalculationMoofParsing'
 }
 }
 })



My problem is, that dashjs loads a few segements and then tries to grab segments that error with a 404. It seems the segments it asks for fall out ot the window the stream defines.


So i wonder how i can align my dashjs with my stream configuration so that it does respect the window defined by the stream, to basically simulate a livestream from any kind of videosource ?