
Recherche avancée
Autres articles (102)
-
Contribute to translation
13 avril 2011You 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, parCette 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, parMé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 -
error convert sample rate from AV_SAMPLE_FMT_FLTP to AV_SAMPLE_FMT_S16
10 avril 2013, par user1881371convert 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 << 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, &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 user824624I 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"><script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"> </script><script src="http://releases.flowplayer.org/5.4.0/flowplayer.min.js"></script>
<script><br />
// global configuration (optional)<br />
flowplayer.conf = {<br />
rtmp: "rtmp://s3b78u0kbtx79q.cloudfront.net/cfx/st",<br />
swf: "http://releases.flowplayer.org/5.4.0/flowplayer.swf"<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 = "flash";<br />
<br />
// install player manually<br />
$(function() {<br />
$(".player").flowplayer({<br />
// reverse fraction of video aspect ratio<br />
// video dimensions: 470px / 250px<br />
ratio: 25/47<br />
});<br />
});<br />
</script>