Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (31)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • 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 (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (3187)

  • Create a progresa bar in rails while converting a file with ffmpeg

    15 avril 2017, par Raxor

    How i can create a progress bar in my view that update with ffmpeg while is converting from a video file mkv to webm

    Im using the gem ’paperclip’ and ’paperclip-av-transcoder’

    The file is uploaded fine but i need to show to the user something that tell him how long he has to wait

    postController.rb

    def create

    @article = current_user.articles.create(params_article)

    if @article.valid?
       @article.save
       if !@article.video_file_name.nil?
           @article.change_name_video
           @article.save
           @article.destroy_video_original
           respond_to do |format|
               format.js {render :create}
           end
       end
    else
       render :new
    end
    end

     def params_article
       params.require(:article).permit(:title, :body, :cover, :video)
     end

    form

       =simple_form_for @article ,html:{ :"data-type" => "js", id: "form"}, :remote => true do |f|
           .progress-wrapper
               .progress
                   .progress-bar{role: "progressbar"}
                       0%
           = f.input :video
           = f.input :cover
           =f.input  :title
           =f.input  :body
           =f.button  :submit
  • TS file not playing hls.js

    27 août 2019, par Mark Adrian Estaca

    Need some help. Video loads in browser but never starts playing. I’m using hls.js to stream m3u8 playlist to the browser. And I use FFmpeg to create ts and m3u8 files.

    For FFmpeg :

    ./ffmpeg -rtsp_transport tcp -i rtsp://user:password@ipaddress/axis-media/media.amp -vcodec copy -hls_time 4 -hls_list_size 4 -hls_wrap 4 -start_number 1 -y test.m3u8

    HTML Code :

     
        <code class="echappe-js">&lt;script src=&quot;https://cdn.jsdelivr.net/npm/hls.js@latest&quot;&gt;&lt;/script&gt;

    &lt;script&gt;<br />
        var video = document.getElementById('video');<br />
        if(Hls.isSupported()){<br />
           var hls = new Hls();<br />
           hls.loadSource('/images/live/test.m3u8');<br />
           hls.attachMedia(video);<br />
           hls.on(Hls.Events.MANIFEST_PARSED,function() {<br />
                 video.play();<br />
            });<br />
         }<br />
         else if (video.canPlayType('application/vnd.apple.mpegurl')){<br />
            video.src = '/images/live/test.m3u8';<br />
            video.addEventListener('loadedmetadata',function() {<br />
                 video.play();<br />
            });<br />
         }<br />
      &lt;/script&gt;
  • convert rtsp to rtmp on nginx with ffmpeg

    31 juillet 2020, par Martin Haryoko

    i have a ip camera with rtsp protocol and i want to stream on the web (hls), using nginx and ffmpeg.&#xA;this is my code :

    &#xA;

    sudo nano /usr/bin/ffmpeg.conf&#xA;ffmpeg -fflags nobuffer -rtsp_transport tcp -i rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov -vsync 0 -copyts -vcodec copy -movflags frag_keyframe&#x2B;empty_moov -an -hls_flags delete_segments&#x2B;append_list -f segment -segment_list_flags live -segment_time 0.5 -segment_list_size 1 -segment_format mpegts -segment_list /var/www/contoh.com/html/index.m3u8 -segment_list_type m3u8 -segment_list_entry_prefix /var/www/contoh.com/html/%3d.ts&#xA;

    &#xA;

    but when I checked on the web there was no result :

    &#xA;

    &#xA;&#xA;&#xA;&#xA;<h1>My First Heading</h1>&#xA;&#xA;<video controls="controls" preload="none">&#xA;    <source src="http://103.76.204.119:1935/contoh.com/index.m3u8" type="application/x-mpegURL">&#xA;</source></video>&#xA;&#xA;&#xA;&#xA;

    &#xA;

    when I check the error message does not display an error or zero error

    &#xA;

    sudo nano /var/log/nginx/error.log&#xA;

    &#xA;

    in your opinion, where is my mistake ? can anyone help me ?

    &#xA;