Recherche avancée

Médias (91)

Autres articles (63)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (8546)

  • Generate mpeg-dash live content from transport stream UDP input using ffmpeg/mp4box

    17 août 2018, par Ishaan Shringi

    I’m receiving mpeg-2 transport stream UDP input. I want to serve this content using an HTTP server.

    I know that mp4box can be used to grab the udp and dump it in a file.

    mp4box -grab-ts udp://ip:port dump.ts

    mp4box can generate mpeg-dash content using -dash argument

    Is it possible to combine the -grab-ts argument with -dash-live and generate live dash content ?

  • ffmpeg live dash content is not being played after loop

    27 octobre 2022, par Przemo

    I have problem with audio and video presence after looping the files used in live dash streaming.
    
I am using following ffmpeg command :

    


    ffmpeg -re -fflags +genpts -stream_loop -1 
-i H265_2160p60_VBR_30Mbps_OTT.mp4 
-i H265_1440p60_VBR_20Mbps_OTT.mp4 
-i H265_1080p60_VBR_15Mbps_OTT.mp4 
-i H265_900p60_VBR_10Mbps_OTT.mp4 
-i H265_720p60_VBR_5Mbps_OTT.mp4 
-i H265_576p60_VBR_1Mbps_OTT.mp4 
-map 0 -map 1 -map 2 -map 3 -map 4 -map 5 
-c copy 
-streaming 1 -use_timeline 1 -use_template 1 -window_size 30 -remove_at_exit 1 -segment_wrap 30 
-adaptation_sets "id=0,seg_duration=2,streams=v id=1,seg_duration=2,streams=a" 
-init_seg_name 'live-$RepresentationID$-init.m4s' -media_seg_name 'live-$RepresentationID$-$Time$.m4s' 
-f dash video/out.mpd


    


    Main problem is that the A/V is present until the streams loop (every stream has the same length).
    
FFmpeg is still processing the files but the client is not able to play the content anymore.

    


    Additional problem is that the dash.js is not able to play the content due to dynamic manifest. Is there an option in ffmpeg to change type on manifest ?

    


  • FFMpeg : Adding subtitles to Dash MPD

    19 juillet 2022, par Solaris

    TL ;DR How to include subs while generating mpd with ffmpeg dash

    


    I am trying to convert mkv multi audio/subs files to dash mpd. Referring to the ffmpeg docs for dash Current progress is I have working mpd with multiple audio. But no clue on how to include subs/captions.

    


    ffmpeg -re -y -i input.mkv -map 0:0 -map 0:1 -map 0:2 -c:a aac -c:v libx264 \ -b:v:0 800k -b:v:1 300k -s:v:1 1280x720 \ -bf 1 -keyint_min 120 -g 120 -sc_threshold 0 \ -b_strategy 0 -ar:a:1 22050 -use_timeline 1 -use_template 1 \ -window_size 5 -adaptation_sets "id=0,streams=v id=1,streams=1 id=1,streams=2" \ -f dash out4/out.mpd


    


    What have I tried ?

    


    ffmpeg -re -y -i input-kaisen.mkv -map 0:0 -map 0:1 -map 0:2 \
-map 0:3 -c:s webvtt \
-c:a aac -c:v libx264 \
-b:v:0 800k -s:v:0 1280x720 \
-bf 1 -keyint_min 120 -g 120 -sc_threshold 0 \
-b_strategy 0 -ar:a:1 22050 -use_timeline 1 -use_template 1 \
-window_size 5 -adaptation_sets "id=0,streams=0 id=1,streams=1 id=2,streams=2 id=3,streams=3" \
-f dash outNull/out.mpd


    


    Throws error Could not find tag for codec webvtt in stream #0, codec not currently supported in container

    


    Reference for Stream mapping :

    


      Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
  Stream #0:2 -> #0:2 (opus (native) -> aac (native))
  Stream #0:3 -> #0:3 (ass (ssa) -> webvtt (native))


    


    Edit1 : Made some progress , ffmpeg is not recognizing webvtt cause its using mp4 container , thus changed the container to webm with -dash_segment_type webm and switched vcodec to vp9 , acodec to opus
But that aint a solution as I need to support x264 vcodec.
Multiple -dash_segment_type didnt help