Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (96)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (12743)

  • How to calculate ffmpeg output file size ?

    25 septembre 2011, par poundifdef

    I am using ffmpeg to convert home videos to DVD format and want to calculate the output file size before doing the conversion.

    My input file has a bit rate of 7700 kbps and is 114 seconds long. The audio bitrate is 256 kbit (per second ?) The input file is 77MB. To get this information I ran :

    mplayer -vo null -ao null -frames 0 -identify input.MOD

    So in theory, the input file should have (roughly) a file size of :

    ((7700 / 8) * 114) / 1024

    That is, (7700 / 8) is kilobytes/second, multiplied by 114 seconds, and then converted to megabytes. This gives me 107MB, which is way beyond my 77. Thus I am skeptical of his formula.

    That said, after converting the video :

    ffmpeg -i input.MOD -y -target ntsc-dvd -sameq -aspect 4:3 output.mpg

    The numbers seem to make more sense. Bitrate is 9000 kbps, and applying the above formula, I get 125MB, and my actual output file size is 126MB.

    So, two questions :

    1. How do I factor the audio bitrate into this calculation ? Is it additive (video file size + audio file size) ?

    2. Do DVDs always have a 9000 kilobit/second rate ? Is that the definition of a DVD ? Or might that change depending on video quality of my input video ? What does "-target ntsc-dvd" guarantee about my video ?

    3. Why does my input file not "match" the calculation, but the output file does ? Is there some other variable I'm not accounting for ?

    What is the correct way to calculate filesize ?

  • jwplayer slow buffer video lag

    8 juillet 2015, par user281738

    I’m using Jwplayer for my mobile site... So i need mobile capability html5 player.. i choose jwplayer.

    I’m Converting Video with ffmpeg

    ffmpeg -i Input.mp4 -vcodec h264 -b 1400k -s 1280X720 -acodec libfaac -ac 2 -ab 128k -movflags faststart -y Output.mp4

    I’m Using Centos Apache server and so i installed H264 Streaming Module

    My videos are starting fast at first.. but in middle when my internet slows and buffering slows down.. At the same time video lags and sounds continues for few second ... at some point my video and audio sync well. This is happening because of slow buffer problem.. After whole video buffered when i replay..full video is playing well .
    I Used Some Android Phones Chrome Browser To Check .
    I need playing position to Show load Icon and wait if buffer slows.. not lag video

    I cant lower my video bitrate.. because of my competitors.. i want solution for my html5 player.. i have added my jwplayer code.

    <code class="echappe-js">&lt;script&gt;    jwplayer(&quot;myElement&quot;).setup({<br />
           width: &quot;100%&quot;,<br />
           skin: &quot;skin.xml&quot;,<br />
           autostart: true,<br />
    <br />
           sharing: {},<br />
         image: &quot;http://example.com/Mp4/screen.jpg&quot;,<br />
    <br />
         sources: [{<br />
           file: &quot;http://example.com/720.mp4&quot;,<br />
           label: &quot;720p&quot;,<br />
           &quot;default&quot;: &quot;true&quot;<br />
         },{<br />
           file: &quot;http://example.com/HD/hd.mp4&quot;,<br />
           label: &quot;HD&quot;<br />
         },{<br />
           file: &quot;http://example.com/Mp4/480x320.mp4&quot;,<br />
           label: &quot;480p&quot;<br />
         }],<br />
         startparam: &quot;starttime&quot;,<br />
           stretching: &quot;exactfit&quot;,<br />
           autostart: false,<br />
       });<br />
    <br />
    <br />
    <br />
    &lt;/script&gt;
  • Rtsp streaming, no live

    14 août 2018, par Alejandro

    i follow this topic for streaming rtsp here
    now this is my conf in the server : ffmpeg -v info -i rtsp://XXXXX.ddns.net/onvif1 -c:v copy -c:a copy -bufsize 1835k -pix_fmt yuv420p -flags -global_header -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1 /var/www/html/p433/assets/video/test.m3u8 -loglevel debug

    The client :

    <code class="echappe-js">&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.10.1/hls.light.min.js&quot;&gt;&lt;/script&gt;

    &lt;script src=&quot;https://releases.flowplayer.org/7.2.6/flowplayer.min.js&quot;&gt;&lt;/script&gt;

    &lt;script&gt;<br />
           flowplayer('#player', {<br />
               live: true,  // set if it's a live stream          <br />
               ratio: 9/16, // set the aspect ratio of the stream<br />
               clip: {<br />
                   sources: [<br />
                       // path to the HLS m3u8<br />
                       { type: &quot;application/x-mpegurl&quot;, src: &quot;&amp;lt;?php echo asset_url();?&gt;video/test.m3u8&quot;},<br />
                       // path to an optional MP4 fallback<br />
                       { type: &quot;video/mp4&quot;, src: &quot;//yourserver/path/index.mp4&quot;}<br />
                   ]<br />
               }<br />
           });<br />
    &lt;/script&gt;

    The problem ? dont show video in "Live", only show 20seconds aprox and the video is loop icon loading

    what am I doing wrong ? I try it all night but I think that it reaches the point of not finding the right path

    thanks for your time !