Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (42)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

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

Sur d’autres sites (5460)

  • ffmpeg : map audio and subtitle stream of (different) specific language only

    24 juillet 2019, par RocketNuts

    I have a bunch of video files with multiple audio and subtitle streams (in different languages). The streams contain metadata specifying which stream is which langauge. I want to copy all files but maintaining only the spanish audio streams, and the english subtitle streams (and the video stream of course).

    Unfortunately, not all videos contain the same language streams at the same index, so instead of using something like -map 0:a:2 I am trying to select the streams based on metadata.

    However, if I try the following : (based on answers found in similar questions like this and this)

    ffmpeg -i input.mkv -map 0:v -map 0:a:m:language:spa -map 0:s:m:language:eng -c copy output.mkv

    It still copies the first audio and first subtitle stream, no matter which stream is which language. In other words, this behaves just like -map 0:v -map 0:a:0 -map 0:s:0 which isn’t what I need.

    Is there a different map argument I can use to make sure it picks only the spanish audio stream and only the english subtitle stream, regardless of their index in the input file ?

  • Localization : Added Azeri language

    28 mai 2016, par huseyn994
    Localization : Added Azeri language
    

    Closes #1790.

  • How to encode ffmepg for jwplayer script which script read pass php file ?

    25 décembre 2013, par Sarun Prasomsri

    I have encoded my video use this command.

    $encode_comand="ffmpeg -i  $input_path -ac 1 -ab 128k -y -vcodec libx264 -vpre ultrafast -g 30 -r 30 -crf 22 $target_path &";

    exec($encode_comand);

    And it work for script below

       echo '
                   <div style="margin:0px auto; text-align:center; width:auto; display:blog;" class="vdoplayer">JW Player goes here</div>
                   <code class="echappe-js">&lt;script type=&quot;text/javascript&quot; src=&quot;http://stackoverflow.com/feeds/tag/jwplayer/jwplayer.js&quot;&gt;&lt;/script&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;jwplayer.key=&quot;OOD7GkWbyNXOL6MbstF2Sa/YrQPgtNUPqxm5NA==&quot;;&lt;/script&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;<br />
                                   jwplayer(&quot;mediaplayer&amp;#39;.&quot;11111&quot;.&amp;#39;&quot;).setup({<br />
                                   flashplayer: &quot;jwplayer/jwplayer.flash.swf&quot;,<br />
                                   file: &quot;$video_file&quot;,                            <br />
                                   width: &quot;&amp;#39;.$width.&amp;#39;&quot;,<br />
                                   height: &quot;&amp;#39;.$height.&amp;#39;&quot;,<br />
                                   stretching: &quot;uniform&quot;,<br />
                                   type: &quot;mp4&quot;,<br />
                                   skin: &quot;jwplayer/jwplayer-skins-free/six.xml&quot;,<br />
    <br />
                           });<br />
                   &lt;/script&gt;

    '
    //$video_file="http://myhost.com/project/files/1/video/file3.mp4" ;

    But After I chang script

    echo &#39;
               <div style="margin:0px auto; text-align:center; width:auto; display:blog;" class="vdoplayer">JW Player goes here</div>
               <code class="echappe-js">&lt;script type=&quot;text/javascript&quot; src=&quot;http://stackoverflow.com/feeds/tag/jwplayer/jwplayer.js&quot;&gt;&lt;/script&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;jwplayer.key=&quot;OOD7GkWbyNXOL6MbstF2Sa/YrQPgtNUPqxm5NA==&quot;;&lt;/script&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;<br />
                               jwplayer(&quot;mediaplayer&amp;#39;.&quot;11111&quot;.&amp;#39;&quot;).setup({<br />
                               flashplayer: &quot;jwplayer/jwplayer.flash.swf&quot;,<br />
                               file: &quot;readfile.php&quot;,                            <br />
                               width: &quot;&amp;#39;.$width.&amp;#39;&quot;,<br />
                               height: &quot;&amp;#39;.$height.&amp;#39;&quot;,<br />
                               stretching: &quot;uniform&quot;,<br />
                               type: &quot;mp4&quot;,<br />
                               skin: &quot;jwplayer/jwplayer-skins-free/six.xml&quot;,<br />
                               abouttext: &quot;project&quot;,<br />
                               aboutlink: &quot;project&quot;,<br />
                       });<br />
               &lt;/script&gt;

    '

    It not work for my video encode,But i try video that not encode it work.

    Video
    Dimension : 853 x 840
    codec : H.264
    Framerate : 30 frames per second
    Bitrate 408 kbps
    Audio
    codec : MPEG-4 AAC
    channels : Stero
    Sample rate : 44100 Hz ์
    Bitrate : N/A

    Readfile.php that have function read file

    &lt;?php
       $filename= &#39;http://www.longtailvideo.com/jw/upload/bunny.mp4&#39;; //can read
       $video_file = "http://myhost.com/project/files/1/video/file3.mp4";
       //cannot read Same file as script below

       if (file_exists($video_file)) { ob_clean(); flush(); };
       header(&#39;Content-Type: video/mp4&#39;);
       header(&#39;Content-Disposition: attachment;filename=file.mp4&#39;);
       readfile($video_file);
       ?>

    Thank you