Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (67)

  • 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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

Sur d’autres sites (9375)

  • MediaElementJS Player + Reload HLS stream - Any Solution ?

    31 décembre 2018, par DiX

    How do I stop showing the Network Error message and just autoreload the player when the player lose the connections with the stream ?

    I am using an HLS stream for this player : MediaElementJS

    I found this solution in a blog but for me it is not the best option and can be difficult to set up a private proxy 24hs.
    This can be solved externally by running an in-app proxy. I have the player in a wrapper that also starts up an HTTPListener. Then instead of giving the MediaElement http://server.com/file.m3u8, I rewrite this URL to http://localhost:58392/http/80/server.com/file.m3u8. FFmpeg hits the proxy with requests and the proxy parses the URL from the request, gets the content and returns it to ffmpeg.

    This is my player configuration in js :

       <code class="echappe-js">&lt;script&gt;<br />
           $(&quot;video&quot;).mediaelementplayer({<br />
               features: [&quot;playpause&quot;, &quot;volume&quot;, &quot;progress&quot;, &quot;airplay&quot;, &quot;chromecast&quot;, &quot;fullscreen&quot;],<br />
               forceLive: true<br />
           });<br />
           playerObject = document.getElementById(&quot;player&quot;);<br />
       &lt;/script&gt;
  • FFmpeg remove 2 sec from middle of video and concat the parts. Single line solution

    15 janvier 2019, par Aaron Broderick

    I have a video file that is 22 seconds long.
    I want to remove the segment from 10 seconds to 12 seconds.
    Then return a concatenated video file of seconds 1-10 and 12-22.

    I want to do this in a single FFmpeg command.

    This is the easy way

    Source
    https://www.labnol.org/internet/useful-ffmpeg-commands/28490/

    ffmpeg -i input.mp4 -ss 00:00:00.0 -codec copy -t 10 output_1.mp4

    and

    ffmpeg -i input.mp4 -ss 00:00:12.0 -codec copy -t 10 output_2.mp4

    then create an input file with all the source file names and run

    ffmpeg -f concat -i file-list.txt -c copy output.mp4

    But I’m looking for a one line solution

    Any help would be appreciated.

  • ffmpeg encoding a video with time_base Not equal to framerate does not work in HML5 video players

    1er juillet 2019, par Gilgamesh22

    I have a time_base of 90000 with a frame rate of 30. I can generate a h264 video and have it work in VLC but this video does not work in the browser player. If I change the time_base to 30 It works fine.

    Note : I am changing the frame->pts appropriately to match the time_base.
    Note : Video does not have audio stream

    //header.h
    AVCodecContext *cctx;
    AVStream* stream;

    Here is the non working example code

    //source.cpp
    stream->time_base = { 1, 90000 };
    stream->r_frame_rate = { fps, 1 };
    stream->avg_frame_rate = { fps, 1 };

    cctx->codec_id = codecId;
    cctx->time_base = { 1 ,  90000 };
    cctx->framerate = { fps, 1 };

    // ......
    // add frame code later on timestamp are in millisecond
    frame->pts = (timestamp - startTimeStamp)* 90;

    Here is the working example code

    //source.cpp
    stream->time_base = { 1, fps};
    stream->r_frame_rate = { fps, 1 };
    stream->avg_frame_rate = { fps, 1 };

    cctx->codec_id = codecId;
    cctx->time_base = { 1 ,  fps};
    cctx->framerate = { fps, 1 };

    // ......
    //  add frame code timestamp are in millisecond
    frame->pts = (timestamp - startTimeStamp)/(1000/fps);

    Any ideas on why the second example works and the first does not in the HTML5 video player.