Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (22)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (5387)

  • Is It possible to read and define HLS stream key by a vriable instead of stream.key file ?

    27 août 2024, par Saeed Eisakhani

    I encrypted an MP4 video file FFMPEG. That gave me a playlist manifest file (namely stream.m3u8), a key file (namely stream.m3u8.key) and some .ts files. I used code below to play stream.m3u8 file and it worked

    


    &#xA;    &#xA;    <code class="echappe-js">&lt;script src=&quot;https://vjs.zencdn.net/7.4.1/video.min.js&quot;&gt;&lt;/script&gt;&#xA;&#xA;&#xA;    &#xA;    &lt;script&gt;&amp;#xA;        var player = videojs(&amp;#x27;example-video&amp;#x27;);&amp;#xA;    &lt;/script&gt;&#xA;&#xA;

    &#xA;

    After I tried to use input and select file attributes and I tried code below

    &#xA;

    &#xA;    &#xA;        &#xA;        <code class="echappe-js">&lt;script src=&quot;https://vjs.zencdn.net/7.4.1/video.min.js&quot;&gt;&lt;/script&gt;&#xA;    &#xA;&#xA;    &#xA;        &#xA;        &#xA;        
    

    &#xA; &#xA; &#xA; &#xA; &lt;script&gt;&amp;#xA;        document.getElementById(&quot;input&quot;).addEventListener(&quot;change&quot;, function() {&amp;#xA;          var media = URL.createObjectURL(this.files[0]);&amp;#xA;          &amp;#xA;          var vid = document.getElementById(&quot;vid&quot;);&amp;#xA;          vid.src = media;&amp;#xA;          &amp;#xA;          var video = document.getElementById(&quot;video&quot;);&amp;#xA;          video.style.display = &quot;block&quot;;&amp;#xA;          video.play();&amp;#xA;          &amp;#xA;          document.getElementById(&quot;demo&quot;).innerHTML = vid.src;&amp;#xA;          &amp;#xA;          var player = videojs(&amp;#x27;video&amp;#x27;);&amp;#xA;          //player.play();&amp;#xA;        });&amp;#xA;    &lt;/script&gt;&#xA;&#xA;&#xA;

    &#xA;

    The code above can read stream.m3u8 playlist file but can not read "key file" because the location of key file is define in stream.m3u8 itself.&#xA;enter image description here

    &#xA;

    When I browse the stream.m3u8 file and try to play, the play window shows the duration (by seconds) but tries and tries and tries to play but can not play. This shows that it can not recall key file.&#xA;enter image description here

    &#xA;

    I believe that if I define key file location out of manifest file, for example inside JavaScript code this problem will be solved.&#xA;HOW CAN I DEFINE KEY FILE LOCATION OUT OF PLAYLIST FILE ?

    &#xA;

  • RTSP stream to RTMP through Nginx-RTMP ffmpeg stream not working

    18 février 2019, par Srinivas Gowda

    I’m trying to convert a RTSP stream to RTMP through exec_pull inside RTMP application block. there are no errors but the stream doesn’t work when I try to access it from VLC network stream.

    This is the issue list on github : https://github.com/arut/nginx-rtmp-module/issues/1353

    Below is my configuration file.

    rtmp {
       exec_options on;
       access_log /var/log/nginx/rtmp_access.log;
       server {
           listen 8089;
           #notify_method get;
           application live {
               live on;
               exec_pull ffmpeg -i rtsp://10.x.x.x:8554/Stream1 -threads 2 -f flv -r 25 -s 1280x720 -an rtmp://localhost:8089/stream;
           }
       }
    }
  • Scheduling an RTMP stream remotely - using an intermediary server for storing + sending video stream packets before deploying to streaming service

    25 février 2020, par hedgehog90

    This is more of a curiosity than something I really need, but I thought I’d ask anyway.

    If I just want setup a normal livestream, I would use something like OBS, capture my input, encode it into something manageable for my network and send it to a remote rtmp server.

    But I’d like to know if it’s possible to put an intermediary remote server between myself and the streaming service’s server. Basically so I can manage the stream (if it’s a playlist) and schedule when to send it to broadcast on the streaming service.

    It’s also worth noting that there may be limited bandwidth on the client-side (my computer), assuming the intermediary has greater bandwidth, this method should eliminate the common issue of dropping frames while streaming.

    Now for an example :

    To make it simpler, instead of using OBS + capture hardware, I’m using a video file.
    I want to encode that video in the same way that OBS does when streaming to a remote server via an rtmp protocol using ffmpeg.

    Now I upload that data, at my own rate, to a remote server that I control (running Ubuntu) for storage and eventual deployment. Importantly, I do not want or require any video-processing done on the intermediary server, as we have already encoded the data for deployment on the client-side. This is just simply managing and storing the data.

    A day later, I want to run a script on my intermediary server that will then send the processed stream data, packet by packet, to the targeted streaming server.


    I’m an experienced coder, with lots of experience with data handling and video encoding. It should be simple, but I’m not all that clued up on the way video streaming via RTMP works.