
Recherche avancée
Autres articles (94)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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. -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)
Sur d’autres sites (15621)
-
Merge remote-tracking branch ’qatar/master’
30 mai 2013, par Michael Niedermayer -
Merge remote-tracking branch ’qatar/master’
28 avril 2013, par Michael Niedermayer -
Ffmpeg generate master playlist file in realtime
18 août 2022, par user994461I have playing with ffmpeg and HLS adaptive encoding, i want to make it somehow to encode one by one resolution and make/update master playlist file in realtime..
Example, when 240p is done master playlist file will be updated and video can be played in 240p while 480p,720p and etc... is still encoding in background.


I have try with this command and actualy this is working fine but not in way as i want...


/home/test/ffmpeg -i 1.mp4 
-map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0
-c:v h264 -profile:v main -crf 20 -sc_threshold 0 -g 48 -keyint_min 48 -c:a aac -ar 48000
-filter:v:0 scale="trunc(oh*a/2)*2:240" -maxrate:v:0 856k -bufsize:v:0 1200k -b:a:0 96k 
-filter:v:1 scale="trunc(oh*a/2)*2:480" -maxrate:v:1 1498k -bufsize:v:1 2100k -b:a:1 128k 
-var_stream_map "v:0,a:0,name:240p v:1,a:1,name:480p" 
-hls_time 4 -hls_list_size 0 -master_pl_name master.m3u8 -hls_segment_filename %v_%03d.ts %v.m3u8



This command above encoding all resolutions in same time and must finish all before i can watch it.


Any solution to make ffmpeg to encode 240p -> update playlist, encode 480p -> update playlist and etc...