Recherche avancée

Médias (91)

Autres articles (80)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • 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 (9226)

  • how to conver ima_adpcm to pcm that can be played

    21 décembre 2016, par kingjxu

    I am using ffmpeg to decoder wav file with ima_adpcm. I use both avresample_convert() and swr_convert() to convert an 8000hz, 1 channel s16p audio sample to 8000hz, 2 channel s16 audio sample. After converting, there is something wrong with it, it can’t be played normally.

    I had ever converted a wav file with pcm data(AVCODEC_ID_PCM_U8), and it succeed.
    I would like to know if there some special characteristic for ima_adpcm that I forgot to handle ?

    Here is some code for dealing with it

    m_pAudioResCodecCtx = avresample_alloc_context();

    av_opt_set_int(m_pAudioResCodecCtx, "in_channel_layout",    m_pAudioCodecCtx->channel_layout,   0);

    av_opt_set_int(m_pAudioResCodecCtx, "in_sample_fmt",        m_pAudioCodecCtx->sample_fmt,       0);    
    av_opt_set_int(m_pAudioResCodecCtx, "in_sample_rate",       m_pAudioCodecCtx->sample_rate,      0);

    av_opt_set_int(m_pAudioResCodecCtx, "out_channel_layout",   channel_layout, 0);
    av_opt_set_int(m_pAudioResCodecCtx, "out_sample_fmt", AV_SAMPLE_FMT_S16,                0);
    av_opt_set_int(m_pAudioResCodecCtx, "out_sample_rate",      m_pAudioCodecCtx->sample_rate,      0);

    av_opt_set_int(m_pAudioResCodecCtx, "internal_sample_fmt",  AV_SAMPLE_FMT_FLTP,                 0);                
    int ffmpeg_error = avresample_open(m_pAudioResCodecCtx);

    ...............

    if (m_pAudioResCodecCtx != NULL)
    {
    LPBYTE out_bufs[AV_NUM_DATA_POINTERS] = { 0 };
    int out_linesize = 0;

    int ffmpeg_err = av_samples_fill_arrays(out_bufs, &out_linesize, dst_buf,  iChannelsCount * m_iChannelScale, avframe.nb_samples, AV_SAMPLE_FMT_S16, 1);

    int samples = avresample_convert(m_pAudioResCodecCtx, out_bufs, out_linesize, avframe.nb_samples, (uint8_t**)avframe.data, avframe.linesize[0], avframe.nb_samples);

    int data_length = samples * iChannelsCount * m_iChannelScale * av_get_bytes_per_sample(AV_SAMPLE_FMT_S16);

    and avframe is decoded packet.

  • vdpau : Do not #include vdpau_x11.h from the main vdpau header

    8 décembre 2016, par Diego Biurrun
    vdpau : Do not #include vdpau_x11.h from the main vdpau header
    

    That header should only be included in the special bits that use X11 code.

    • [DBH] libavcodec/vdpau.h
  • New Piwik Mobile 2.3.0 is released

    25 novembre 2016, par Thomas Steur — Piwik Mobile Releases

    New Piwik Mobile 2.3.0 update is now available for Android 7+ and iOS10+ devices. Read below to learn more, including a special message to Android users.

    What’s new in Piwik Mobile ?

    This new version brings some bug fixes and improvements to our Android and iOS apps :

    • Custom Dimension reports are now shown within the app
    • Segments are now applied in sub-reports #5353
    • User ID is now displayed in visitor profile #5341
    • URL submitted on login are now trimmed #5338
    • iOS : a 64 bit version of the app #5328
    • Android : Remove possibility to disable SSL validation #5354 (read more below)
    • We have updated the underlying framework bringing some performance and compatibility improvements

    Attention to Android users : read more

    We have removed the possibility to disable SSL validation in this update due to a Google Play restriction. We know there are some users depending on this feature and we recommend to not update if you cannot make the SSL certificate valid for your Piwik Analytics domain.

    Download the Apps

    Update now or install either the iOS version or the Android version. Because of the SSL validation change we have made the Android update only available to Android 7+ devices. If you are an Android 6+ user and still want to get the update, you can download Piwik 2.3.0 for Android 6+ from our website.

    If you experience any issues with this version please let us know.

    Sponsor

    The new Piwik Mobile release has been sponsored by InnoCraft, the creators of Piwik.

    Happy analytics on the go,