Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (70)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (5014)

  • configure : arm : Don't add -march= to the compiler if no preference was passed

    20 septembre 2021, par Martin Storsjö
    configure : arm : Don't add -march= to the compiler if no preference was passed
    

    If no —cpu= option was passed to configure, we detect what the
    compiler defaults to. This detected value was then fed back to the
    rest of the configure logic, as if it was an explicit choice.

    This breaks on Ubuntu 21.10 with GCC 11.1.

    Since GCC 8, it's possible to add configure extra features via the
    - march option, like e.g. -march=armv7-a+neon. If the -mfpu= option
    is configured to default to 'auto', the fpu setting gets taken
    from the -march option.

    GCC 11.1 in Ubuntu seems to be configured to use -mfpu=auto. This
    has the effect of breaking any compilation command that specifies
    - march=armv7-a, because the driver implicitly also adds -mfloat-abi=hard,
    and that combination results in this error :

    cc1 : error : ‘-mfloat-abi=hard’ : selected processor lacks an FPU

    One can compile successfully by passing e.g. -march=armv7-a+fp.

    Therefore, restructure configure. If no specific preference was set
    (and the 'cpu' configure variable was set as the output of
    probe_arm_arch), the value we tried to set via -march= was the same
    value that we just tried to detect as the compiler default.

    So instead, just try to detect what the compiler defaults to, with
    to allow setting other configure settings (such as 'fast_unaligned'),
    but don't try to spell out the compiler's default via the -march flag.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] configure
  • FFmpegAndroid library rotates video after Compress Android

    19 mars 2020, par Bhavin Kevadiya

    execFFmpegBinary(new String[]"-y", "-i", path, "-s", "160x120", "-r", "25", "-vcodec", "mpeg4", "-b:v", "150k", "-b:a", "48000", "-ac", "2", "-ar", "22050", filePath) ;

    video auto rotate after compress..

    is there any solution ?

    here is lib Link

  • 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 &amp;";

    exec($encode_comand);

    And it work for script below

       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;$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