Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (41)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7042)

  • Why ts file can not play when it contains only one frame ?

    8 mai 2020, par user12072166

    I have a video file with mp4 format witch can be played very well. And it contains only one frame of video. When I transcode it to TS format. It is black screen when I play it. What can I do to make it perform as mp4 ?

    


  • want to play m3u8 with hls.js and vue.js

    21 octobre 2020, par tomo1127

    I'm trying to play m3u8 with hls.js and vue.js on codesandbox.

    


    I made m3u8 useing ffmpeg like this.

    


    ffmpeg -i movie1.mp4 -vcodec libx264 -s 1280x720 -strict experimental -acodec aac -b:a 96k -flags +loop-global_header -vbsf h264_mp4toannexb -f segment -segment_format mpegts -segment_time 10 -segment_list mav.m3u8 mav_%04d.ts


    


    The Error from codesandbox say
** The error you provided does not contain a stack trace. **

    


    Aslo I could play mp4 or youtube but not m3u8.

    


    Here is my code

    


    <template>&#xA;  <div>&#xA;    &#xA;&#xA;    <p>window height: {{ height }}</p>&#xA;  </div>&#xA;</template>&#xA;&#xA;<code class="echappe-js">&lt;script&gt;&amp;#xA;import Hls from &quot;hls.js&quot;;&amp;#xA;&amp;#xA;export default {&amp;#xA;  data() {&amp;#xA;    return {&amp;#xA;      hls: new Hls(),&amp;#xA;      height: window.innerHeight,&amp;#xA;    };&amp;#xA;  },&amp;#xA;  methods: {&amp;#xA;    playVide() {&amp;#xA;      this.height = window.innerHeight;&amp;#xA;      const video = document.getElementById(&quot;video&quot;);&amp;#xA;&amp;#xA;      if (Hls.isSupported()) {&amp;#xA;        this.hls = new Hls();&amp;#xA;        this.hls.loadSource(&amp;#xA;          &quot;SAMPLE.m3u8&quot;&amp;#xA;        );&amp;#xA;        this.hls.attachMedia(video);&amp;#xA;        setTimeout(() =&gt; {&amp;#xA;          video.play();&amp;#xA;        }, 1000);&amp;#xA;      }&amp;#xA;    },&amp;#xA;  },&amp;#xA;  mounted() {&amp;#xA;    window.addEventListener(&quot;scroll&quot;, this.playVide);&amp;#xA;  },&amp;#xA;};&amp;#xA;&lt;/script&gt;&#xA;

    &#xA;

    I'm not sure this is happen because how I use ffmpg or how I code hls.js

    &#xA;

  • What makes the bitrate of dash stream output low as compared to bitrate of input mp4 video

    7 janvier 2021, par Chinmaey Shende

    I used ffmpeg to convert bbb.mp4 to dash stream. I used the ffprobe to get the bitrates of input and output (shown below)&#xA;For the same resolution video 1920x1080 input has bit rate 2998 kb/s where as output has bitate of 20 kb/s.&#xA;My profile is set to "-b:v:0 200K -s:v:0 640x360 -b:v:1 600K -s:v:1 852x480 -b:v:2 4000K -s:v:2 1920x1080".&#xA;I am trying to understand what determines the output bit rate for the dash stream ?&#xA;Why does my output different from the input profile set in ffmpeg command

    &#xA;&#xA;

    Input video stream - bbb.mp4

    &#xA;&#xA;

    &#x27;&#x27;&#x27;  Duration: 00:10:34.53, start: 0.000000, bitrate: 3481 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 2998 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)&#x27;&#x27;&#x27;&#xA;

    &#xA;&#xA;

    Output :

    &#xA;&#xA;

    &#x27;&#x27;&#x27;  Duration: 00:10:34.60, start: 630.000000, bitrate: 20 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 20 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)&#xA;&#xA;    major_brand     : iso5&#xA;    minor_version   : 512&#xA;    compatible_brands: iso5iso6mp41&#xA;    encoder         : Lavf58.42.100&#xA;  Duration: 00:10:34.60, start: 630.000000, bitrate: 4 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 852x480 [SAR 640:639 DAR 16:9], 4 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)&#xA;&#xA;    major_brand     : iso5&#xA;    minor_version   : 512&#xA;    compatible_brands: iso5iso6mp41&#xA;    encoder         : Lavf58.42.100&#xA;  Duration: 00:10:34.60, start: 630.000000, bitrate: 1 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 640x360 [SAR 1:1 DAR 16:9], 1 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)&#xA;&#x27;&#x27;&#x27;&#xA;

    &#xA;&#xA;

    I tried to look in ffprobe documentation I could not find the definition of the bit_rate field output in ffprobe.

    &#xA;&#xA;

    Can you please help me to understand this ?

    &#xA;