Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (85)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (3351)

  • avfilter/vf_signature : Avoid cast from function pointer to void*

    25 août 2020, par Andreas Rheinhardt
    avfilter/vf_signature : Avoid cast from function pointer to void*
    

    The signature filter uses qsort, but its compare function doesn't have
    the signature required of such a function ; therefore it casts the
    function pointer to void. Yet this is wrong :
    C90 only guarantees that one can convert a pointer to any incomplete
    type or object type to void* and back with the result comparing equal
    to the original which makes pointers to void generic pointers to
    incomplete or object type. Yet C90 lacks a generic function pointer
    type.
    C99 additionally guarantees that a pointer to a function of one type may
    be converted to a pointer to a function of another type with the result
    and the original comparing equal when converting back.
    This makes any function pointer type a generic function pointer type.
    Yet even this does not make pointers to void generic function pointers.

    Both GCC and Clang emit warnings for this when in pedantic mode.

    This commit fixes this by modifying the compare function to comply with
    the expected signature.

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavfilter/vf_signature.c
  • lavu/hwcontext_d3d : Cast src pointers calling av_image_copy*().

    18 avril 2019, par Carl Eugen Hoyos
    lavu/hwcontext_d3d : Cast src pointers calling av_image_copy*().
    

    Silences several warnings :
    libavutil/hwcontext_d3d11va.c:413:49 : warning : passing argument 3 of ‘av_image_copy’ from incompatible pointer type
    libavutil/hwcontext_d3d11va.c:425:47 : warning : passing argument 3 of ‘av_image_copy’ from incompatible pointer type
    libavutil/hwcontext_dxva2.c:351:45 : warning : passing argument 3 of ‘av_image_copy’ from incompatible pointer type
    libavutil/hwcontext_dxva2.c:382:52 : warning : passing argument 3 of ‘av_image_copy_uc_from’ from incompatible pointer type

    • [DH] libavutil/hwcontext_d3d11va.c
    • [DH] libavutil/hwcontext_dxva2.c
  • How can I connect drawtext to filter complex for change logo size ?

    19 novembre 2016, par parsa

    I want to have a text and a logo on video. for this I used below code.
    I want to change size of logo by scale2ref,but I don’t know how can I connect scale2ref with drawtext.

     ffmpeg -i 4k.mp4 -i http://test.ir/LogoPath/VideoLogo.png?v
       =C7Xfha6ri0yut2x9a5XpIA -filter_complex [0:v]drawtext=fontfile=OpenSansRegular.ttf:text=parsa:fontcolor=white:box=1:r=25:boxcolor=black@0.3:boxborderw=3:fontsize=85:x=85:y=(h-text_h-85)[text];[text][1:v]scale2ref=-1:120[0v]
       [logo];[logo][0v]overlay=W-w-85:85[v] -map [v] -map 0:a out1.mp4

    top code return this error :

    [libx264 @ 00000000004ea0c0] width not divisible by 2 (271x120)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    This below code works when I don’t use scale2ref and the video output has logo with defualt size and the text.

     ffmpeg -i 4k.mp4 -i http://test.ir/LogoPath/VideoLogo.png?v
       =C7Xfha6ri0yut2x9a5XpIA -filter_complex [0:v]drawtext=fontfile=OpenSansRegular.ttf:text=parsa:fontcolor=white:box=1:r=25:boxcolor=black@0.3:boxborderw=3:fontsize=85:x=85:y=(h-text_h-85)[text];[text][1:v]overlay=W-w-85:85[v] -map [v] -map 0:a out1.mp4

    How can I connect drawtext to filter complex for change logo size ?