Recherche avancée

Médias (3)

Mot : - Tags -/pdf

Autres articles (72)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (7267)

  • Low Latency DASH Nginx RTMP

    10 mai 2017, par Kenan Christian

    I use arut nginx-rtmp-module (https://github.com/arut/nginx-rtmp-module) on the media server, then I tried to stream using FFmpeg to the dash application, then I test the stream by playing it using VLC.

    And it waits around 30secs to start playing, and it plays from the beginning, not the current timestamp.

    This is my current config on the RTMP block

    rtmp {
       server {
           listen 1935;

           application live {
               live on;

              exec ffmpeg -re -i rtmp://localhost:1935/live/$name
                 -c:a libfdk_aac -b:a 32k  -c:v libx264 -b:v 128K -f flv rtmp://localhost:1935/hls/$name_low
                 -c:a libfdk_aac -b:a 64k  -c:v libx264 -b:v 256k -f flv rtmp://localhost:1935/hls/$name_mid
                 -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 512K -f flv rtmp://localhost:1935/hls/$name_hi
                 -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 512K -f flv rtmp://localhost:1935/dash/$name_dash;
           }

           application hls {
                live on;

                hls on;
                hls_path /tmp/hls;
                hls_nested on;

                hls_variant _low BANDWIDTH=160000;
                hls_variant _mid BANDWIDTH=320000;
                hls_variant _hi  BANDWIDTH=640000;
           }

           application dash {
               live on;

               dash on;
               dash_path /tmp/dash;
               dash_nested on;
           }
       }
    }

    This is the command I use for streaming

    ffmpeg -re -i 2014\ SPRING.mp4 -c copy -f flv
    rtmp://52.221.221.163:1935/dash/spring

    How can I reduce the delay, and make it play from the same timestamp as the streamer ?

    Can I achieve under 5s latency ?

    UPDATE

    Tried to change the playlist length and fragment length, using this directive

    dash_playlist_length 10s;
    dash_fragment 2s;

    But still got some latency problem, sometimes it’s smaller than before, sometimes it’s the same

  • Low Latency DASH Nginx RTMP

    3 août 2017, par Kenan Christian

    I use arut nginx-rtmp-module (https://github.com/arut/nginx-rtmp-module) on the media server, then I tried to stream using FFmpeg to the dash application, then I test the stream by playing it using VLC.

    And it waits around 30secs to start playing, and it plays from the beginning, not the current timestamp.

    This is my current config on the RTMP block

    rtmp {
       server {
           listen 1935;

           application live {
               live on;

              exec ffmpeg -re -i rtmp://localhost:1935/live/$name
                 -c:a libfdk_aac -b:a 32k  -c:v libx264 -b:v 128K -f flv rtmp://localhost:1935/hls/$name_low
                 -c:a libfdk_aac -b:a 64k  -c:v libx264 -b:v 256k -f flv rtmp://localhost:1935/hls/$name_mid
                 -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 512K -f flv rtmp://localhost:1935/hls/$name_hi
                 -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 512K -f flv rtmp://localhost:1935/dash/$name_dash;
           }

           application hls {
                live on;

                hls on;
                hls_path /tmp/hls;
                hls_nested on;

                hls_variant _low BANDWIDTH=160000;
                hls_variant _mid BANDWIDTH=320000;
                hls_variant _hi  BANDWIDTH=640000;
           }

           application dash {
               live on;

               dash on;
               dash_path /tmp/dash;
               dash_nested on;
           }
       }
    }

    This is the command I use for streaming

    ffmpeg -re -i 2014\ SPRING.mp4 -c copy -f flv
    rtmp://52.221.221.163:1935/dash/spring

    How can I reduce the delay, and make it play from the same timestamp as the streamer ?

    Can I achieve under 5s latency ?

    UPDATE

    Tried to change the playlist length and fragment length, using this directive

    dash_playlist_length 10s;
    dash_fragment 2s;

    But still got some latency problem, sometimes it’s smaller than before, sometimes it’s the same

  • 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; `
                      }
    }