Recherche avancée

Médias (0)

Mot : - Tags -/images

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

Autres articles (102)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (7639)

  • xbmdec : fix off by one error in scanf()

    5 mai 2013, par Michael Niedermayer
    xbmdec : fix off by one error in scanf()
    

    Fixes out of array access

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/xbmdec.c
  • error convert sample rate from AV_SAMPLE_FMT_FLTP to AV_SAMPLE_FMT_S16

    10 avril 2013, par user1881371

    convert sample rate from AV_SAMPLE_FMT_FLTP to AV_SAMPLE_FMT_S16 and play the openAL, get the following error(http://joxi.ru/B_JkUdg5CbDrWhe9oNI)

    CONV_FUNC (AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_FLT, av_clip_int16 (lrintf (* (const float *) pi * (1 &lt;&lt; 15))))

    in file audioconvert.c

    my code

    swrContext = swr_alloc();
    av_opt_set_int(swrContext, "in_channel_layout",  cc->channel_layout, 0);
    av_opt_set_int(swrContext, "out_channel_layout", cc->channel_layout,  0);
    av_opt_set_int(swrContext, "in_sample_rate",     cc->sample_rate, 0);
    av_opt_set_int(swrContext, "out_sample_rate",    cc->sample_rate, 0);
    av_opt_set_sample_fmt(swrContext, "in_sample_fmt",  cc->sample_fmt, 0);
    av_opt_set_sample_fmt(swrContext, "out_sample_fmt", AV_SAMPLE_FMT_S16P,  0);
    swr_init(swrContext);

    uint8_t *output;
    int out_samples = (int)av_rescale_rnd(swr_get_delay(swrContext, 44100) + (int64_t)decoded_frame->nb_samples, 44100, 44100, AV_ROUND_UP);
    swr_convert(swrContext, &amp;output, out_samples, (const uint8_t **)decoded_frame->extended_data, decoded_frame->nb_samples); //error
    alBufferData(BufID,AL_FORMAT_STEREO16,output, decsize,44100);

    may have other solutions ?

    may have other solutions ? I'm doing on the How to convert sample rate from AV_SAMPLE_FMT_FLTP to AV_SAMPLE_FMT_S16 ?

  • 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(&#39;/video2/abc&#39;, function(req, res) {

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

    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;