Recherche avancée

Médias (0)

Mot : - Tags -/masques

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

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (14998)

  • How to get rec script of SOX to work on Android ?

    1er mai 2013, par Arif Nadeem

    I built sox for Android and I am using the generated binary files i.e. sox, rec, play and soxi generated directly in my app by installing them as binaries within my app.

    I am able to invoke commands using sox directly however I have a problem in invoking rec command.

    I used the following command, rec -r 8000 -c 2 output.wav
    But it fails saying that sox is not found or sox is expected but is not found.

    The above rec command works perfectly in Ubuntu when I use it in command line

    Please note that I am able to use operation related to sox binary successfully, but I am unable to use commands related to rec binary.

    Initially I thought the problem may be because of permissions imposed by Android so I included these permissions in manifest.xml but to no avail.

    I did some research and got this link, it says in section Using Sox to Play and Record that there might be some Linux systems which do not accept rec command directly.

    I followed his suggestion and appended my commands with padsp etc, but it still doesn't work.

    So my question is how do I invoke rec command successfully on Android system, has anyone tried this before ?

  • Run ffmpeg using shell_exec from a file called by AJAX

    20 décembre 2012, par user1255617

    Good morning,

    I will do my best to phrase a "thoughtful" and "helpful" question for all regarding running FFMPEG using shell_exec from a file called by AJAX. First I will start by listing my current code.

    AJAX script

           <code class="echappe-js">&lt;script&gt;<br />
               var xmlhttp;<br />
               if (window.XMLHttpRequest){// code for IE7+, Firefox, Chrome, Opera, Safari<br />
                 xmlhttp=new XMLHttpRequest();<br />
               }else{// code for IE6, IE5<br />
                 xmlhttp=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);<br />
               }<br />
               xmlhttp.onreadystatechange=function(){<br />
                 if (xmlhttp.readyState==4 &amp;amp;&amp;amp; xmlhttp.status==200){<br />
                     //Do something<br />
                 }<br />
               }<br />
               xmlhttp.open(&quot;GET&quot;,&quot;video_convert.php&quot;,true);<br />
               xmlhttp.setRequestHeader(&quot;Content-type&quot;,&quot;application/x-www-form-urlencoded&quot;);<br />
               xmlhttp.send(id=&amp;lt;?php echo $video_upload_result; ?&gt;);<br />
           &lt;/script&gt;

    PHP Code

    $destination = "files/videos/";
    $ffmpeg = &#39;/ffmpeg/ffmpeg&#39;;
    $videoid = mysql_clean($_GET[&#39;id&#39;]);

    $sql = "SELECT file_name FROM cb_video WHERE videoid = &#39;$videoid&#39; ";
    $result = mysql_query($sql);
    $row = mysql_fetch_assoc($result);

    $file_old = glob(&#39;files/videos/&#39;.$file_name.&#39;.*&#39;);

    shell_exec($ffmpeg." -i &#39;/var/www/html/".$file_old[0]."&#39; -ar 44100 /var/www/html/".$destination.$file_name.".flv");

    FFMPEG is installed and working properly as I have used it elsewhere on the site and have attempted a file conversion using PuTTY. I am able to run a PHP file called by AJAX as I have done it in a separate instance on this site. The only thing I can think of is that the shell_exec isn't running properly, which I have used elsewhere, since it is in a separate file called by ajax or else it is being closed pre-maturely. I have also tested this code in a main file and it works properly until I try to call the separate file with it in it.

    So, my question is can this code actually work and if so what steps should I take to get it working ?

    Also I would greatly appreciate it if before closing my questions I had a chance to defend or rephrase them to properly suit this boards high standards for questions if I have somehow failed it in any way.

    Thank you.

  • Revision d19ed5f249 : Change to extend full border only when needed This is a short term optimization

    15 juillet 2013, par Yaowu Xu

    Changed Paths :
     Modify /vp9/common/vp9_blockd.h


     Modify /vp9/common/vp9_reconinter.c


     Modify /vp9/decoder/vp9_onyxd_if.c


     Modify /vp9/encoder/vp9_onyx_if.c


     Modify /vpx_scale/generic/yv12extend.c


     Modify /vpx_scale/vpx_scale_rtcd.sh


     Modify /vpx_scale/yv12config.h



    Change to extend full border only when needed

    This is a short term optimization till we work out a decoder
    implementation requiring no frame border extension.

    Change-Id : I02d15bfde4d926b50a4e58b393d8c4062d1be70f