Recherche avancée

Médias (0)

Mot : - Tags -/albums

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

Autres articles (81)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

  • Using explicit casting to solve invalid conversion from ‘int’ to ‘AVRounding’

    29 juillet 2020, par C4RN4GE

    I'm trying to follow the "learn ffmpeg the hard way" guide on github (https://github.com/leandromoreira/ffmpeg-libav-tutorial#chapter-2---remuxing) and when I try to run the remuxing code for myself using a C++ compiler I always get the error

    


    invalid conversion from ‘int’ to ‘AVRounding’[-fpermissive]


    


    The only real difference between my code and the github original is that I take the input filename and output filename as parameters instead. Doing some resarch I have found that AVRounding is a enum ? I think ? Thus I need to explicitly cast somehow. However I'm failing to understand how explicit casting works and how I would use it to solve my issue. Where would I cast it ?
Here's the line that causes the issue :

    


    packet.pts =  av_rescale_q_rnd(packet.pts, in_stream->time_base, out_stream->time_base, AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX);
packet.dts =  av_rescale_q_rnd(packet.dts, in_stream->time_base, out_stream->time_base, AV_ROUND_NEAR_INF|AV_ROUND_PASS_MINMAX);


    


    Could anyone explain how to solve the issue ? Sorry if it's a beginners mistake. Thanks in advance for any help.

    


  • Recording video and creation like Talking Tom on Android

    23 octobre 2013, par coder000001

    How can I ( video within the own app, not screen-cast) record video like "Talking Tom" does on android ?

    Stitching video from Images with the help of FFMPEG is too much CPU intensive and doesn't take help of hardware acceleration.

  • avcodec/v4l2_m2m_enc : Avoid ; ;

    1er juin 2020, par Andreas Rheinhardt
    avcodec/v4l2_m2m_enc : Avoid ; ;
    

    Inside a function, the second ; in a double ; ; is a null statement, but
    outside of functions a double ; ; is simply invalid C that compilers
    happen to accept. v4l2_m2m_enc.c contained several ; ; as a result of
    macro-expansion. So change the underlying macro so that it doesn't
    happen any longer.

    This fixes warnings when compiling with -pedantic : "ISO C does not allow
    extra ‘ ;’ outside of a function".

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/v4l2_m2m_enc.c