Recherche avancée

Médias (91)

Autres articles (59)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (12529)

  • Simulating TV noise

    16 février 2017, par Alexander Kulyakhtin

    I have googled a bit but was never able to find an answer. What should be my first approach to simulate a video and audio noise from TV on screen ? I mean, when my TV antenna is removed but the TV is still on (like they show in Japanese horror movies sometimes). I can use ffmpeg or any other technique but what is the simplest possible form of the signal ?

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

  • MP3 Audio requiring overlays at specific intervals to ensure I dont break copyright rules

    15 novembre 2012, par user1828008

    I have started a project as a DJ to record my online radio shows to mp3. The station I play on is licenced so I am not breaking any copyright rules there. I have had the idea to upload the recordings onto Youtube.

    Clearly that needed some form of adjustment to make a video over the top of the audio which I have achieved using ffmpeg so I have an mp4 file with a picture overlay for the duration of the audio. I did a quick test run to upload the video to Youtube and it tracked that I was playing copyrighted material. It was exactly right in its statement and yes as my own channel on youtube I am not licenced to do so. Either way I have spoke to the copyright owners and they have agreed it is fine.

    However in order to not have to do this every week if I overlay a 5 second 'jingle' every 4 minutes over the audio (fading down if possible) the main volume slightly to play the jingle and fade up after (once again if possible) then I am 100% in the clear. I could do this manually but would rather something I can script in bash to do it for me.

    I am using Centos 6.3 operating system and FFMPEG solved the merge of video and audio together, but I couldnt find anything to do a predefined audio overlay at specific intervals.

    I have looked at programs like Avisynth and Sox but dont believe from the documentation that they have anything that can do regular interval overlays during a single track. The closest thing I could find is on this post :

    Add multiple audio files to video at specific points using FFMPEG

    But it would be nice to do everything in a single sweep with ffmpeg of the audio file (video and audio overlay) if thats possible somehow or any better options that are out there ?

    If you need any more info from me then please let me know.
    Thanks