Recherche avancée

Médias (0)

Mot : - Tags -/latitude

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

Autres articles (73)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (9110)

  • 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

    


  • How to convert an rtmp stream to HEVC DASH/HLS using nginx ?

    17 juillet 2019, par Hakan Murat Aksüt

    exec_push /usr/bin/ffmpeg -re -i rtmp://localhost:1935/$app/$name -ar 44100 -vcodec libx264 -g 25 -f flv rtmp://localhost/live/$name_hi

    I can broadcast h264 video on my nginxg server. but it doesn’t work when I want to make h265 instead of h264. I found out that this is because rtmp does not support h265. Is there a way to do this using rtmp if possible ?
    if not, what else can be used to stream h265 video in nginx instead of rtmp.

    rtmp {
       server {
               listen 1935;
               chunk_size 4096;

               application src {
                   live on;
                   exec_push /usr/bin/ffmpeg -re -i rtmp://localhost:1935/$app/$name -ar 44100 -vcodec libx264 -g 25 -f flv rtmp://localhost/live/$name_hi;
               }

               application live {
                       live on;
                       hls on;
                       hls_path /usr/share/nginx/hls; #file path for save
                       hls_fragment 1;
                       hls_playlist_length 10;
                       hls_cleanup on;
                       dash on;
                       dash_path /usr/share/nginx/dash; #Sets MPEG-DASH playlist and fragment directory. If the directory does not exists it will be created.
                       dash_fragment 1; #Sets MPEG-DASH fragment length. Defaults to 5 seconds.
                       dash_playlist_length 10; #Sets MPEG-DASH playlist length. Defaults to 30 seconds.

                       dash_cleanup on; `
                      }
    }