Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (21)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (3749)

  • error of streaming video using fluent-ffmpeg node.js module

    23 mai 2013, par user824624

    I am running the fluent-ffmpeg sample to stream the video, which works well. Now in contract show the video in flashe version based flowplayer, I am now using html5 version flowplayer, but it said the video file not found.

    app.get('/video2/abc', function(req, res) {

     console.log('/video/:filename');
     res.contentType('mp4');
     var pathToMovie = 'public/flowplayer/470x250.mp4' ;
     var proc = new ffmpeg({ source: pathToMovie, nolog: true })
       .writeToStream(res, function(retcode, error){
         if(error) console.error('error',error);
         else console.log('file has been converted succesfully');
       });
    });

    here is my html template.

       
           
           <code class="echappe-js">&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js&quot;&gt; &lt;/script&gt;

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

    &lt;script&gt;<br />
      // global configuration (optional)<br />
      flowplayer.conf = {<br />
         rtmp: &quot;rtmp://s3b78u0kbtx79q.cloudfront.net/cfx/st&quot;,<br />
         swf: &quot;http://releases.flowplayer.org/5.4.0/flowplayer.swf&quot;<br />
      };<br />
    <br />
      // force flash with query - only for testing, do not use this switch in production!<br />
      if (/flash/.test(location.search)) flowplayer.conf.engine = &quot;flash&quot;;<br />
    <br />
      // install player manually<br />
      $(function() {<br />
         $(&quot;.player&quot;).flowplayer({<br />
            // reverse fraction of video aspect ratio<br />
            // video dimensions: 470px / 250px<br />
            ratio: 25/47<br />
         });<br />
      });<br />
    &lt;/script&gt;
  • FFDEC_H264 dropping non-key frames

    15 avril 2013, par Kranti

    I am working on a sample GStreamer application to play MPEG2TS Video.

    My pipeline is :

    appsrc ! h264parse ! ffdec_h264 ! ffmpegcolorspace ! ximagesink

    If I pump the data without setting any timestamp, all the frames are getting played

    videoBuffer = gst_app_buffer_new (rawVideo, bufSize, test_free_video, rawVideo);

    But if I set the timestamp to the buffer, only I-frames are getting played :

    videoBuffer = gst_app_buffer_new (rawVideo, bufSize, test_free_video, rawVideo);
    GST_BUFFER_TIMESTAMP(videoBuffer)  = calc_timestamp(rawVideo);

    calc_timestamp() is a function to calculate timestamp based on PES header info

    From the GST_LOGS :

    Dropping non-keyframe (seek/init)
    Dropping non-keyframe (seek/init)
    Dropping non-keyframe (seek/init)

    The above logs are getting repeated. I don't have any clue, why is this happening ? Any input would be appreciated.

    Thanks in advance,
    Kranti

  • ffmpeg wav output length not correct or consistant

    3 avril 2013, par user2241026

    Trying to run a very simple command via php a exec() command. All my other commands are working fine except for a simple audio trim that I am trying to run.

    The user posts a file, and a start time (in mm:ss.xxx format). and ffmpeg is supposed to trim the file to 5 seconds after the start time. The problem is, some times it works, but other times the audio file is 6 or even 7 seconds long. I can't figure out the problem.

    Oh, I'm aware of the lack of sanitizing in the code right now.

    here is the PHP code

    //user entered number for example "01:30"
    //$newFilePath1 is the location of the file, no issue there
    $starttime = $_POST["starttime"];

    $makeWav1 = "ffmpeg -y -ss 00:".$starttime." -i \"$newFilePath1\" -acodec pcm_s16le -sample_rate 48000 -t 00:00:05.000 temp/audiocut1.wav";

    exec($makeWav1);

    Thank you for the help !!