Recherche avancée

Médias (0)

Mot : - Tags -/xmp

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

Autres articles (81)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (9408)

  • How to install ffmpeg and an app together on a Mac ?

    31 décembre 2020, par Patrick

    I have an electron app built and packaged for macOS in a .app file. The app requires ffmpeg to be installed on the end-user's computer to be used.

    



    Currently, I've had to manually install ffmpeg on each end-user's computer to run the app.

    



    I want to distribute the app online with an easy installer for both ffmpeg and the app. I've seen .dmg files which allows you to drag the .app into the applications folder easily, but the ffmpeg dependency is still absent in the installation process.

    



    How can I install ffmpeg and the app together on a mac ?

    



    Perhaps including the ffmpeg build in the .app content is a solution as well.
This may not be possible though because a relevant question mentions there are only abstractions of the ffmpeg CLI instead of something that can directly use ffmpeg.

    


  • ffmpeg libswresample channel mapping

    21 mars 2024, par Joseph Katrinka

    Im currently working on some c++ that uses ffmpeg to take audio from a stereo file and make a mono audio file using only the sample from one channel.
I havent been able to find and examples of people using the swr_set_channel_mapping call online, so Im wondering if anyone knows of the correct usage.
Right now Im doing something like this

    


    swr_alloc_set_opts2(&swrCtx, &out_channel_layout, AV_SAMPLE_FMT_S16, codecCtx->sample_rate, &codecCtx->ch_layout, codecCtx->sample_fmt, codecCtx->sample_rate, 0, NULL);

int* channel_mapping = (int*)av_mallocz(2 * sizeof(int));
if (useLeft)
{
channel_mapping[0] = AV_CH_FRONT_LEFT;
}
else
{
channel_mapping[0] = AV_CH_FRONT_RIGHT;
}   
swr_set_channel_mapping(swrCtx, channel_mapping);

if (swr_init(swrCtx) < 0)
    {
        DBG("failed to init resampler");
        ffmpegCleanup();
        return false;
    }



    


    Is this the correct way to do this ? Its been giving me some problems and Im worried I could be doing something wrong.
Thanks.

    


    Ive tried different ways of defining channel_mapping with no success. Im not sure what the correct way is and an example would be pretty useful.

    


  • configure : Add -D_CRT_NONSTDC_NO_WARNINGS when building with msvc

    28 octobre 2015, par Martin Storsjö
    configure : Add -D_CRT_NONSTDC_NO_WARNINGS when building with msvc
    

    This silences warnings like this one :
    libavformat/file.c(62) : warning C4996 : ’read’ : The POSIX name for this
    item is deprecated. Instead, use the ISO C++ conformant name : _read.
    See online help for details.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] configure