Recherche avancée

Médias (91)

Autres articles (52)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (6129)

  • How to achieve 2 pass encoding using x264 ?

    6 avril 2017, par Kim Kardashian

    is there a parameter in the x264_param_t structure
    or do I have to send frames to x264 dll twice.. ?
    Because I just use encoder_encode function and that returns nal units .
    Im guessing it should be a combination of a parameter and using encoder_encode twice.

    Here is how i initialize params and link to libx264

       InitializeSettings(){
       x264_param_default_preset(&m_pXParam, "medium", "zerolatency");
       x264_param_apply_profile(&m_pXParam, "baseline");
       m_pXParam.i_width = cx;
       m_pXParam.i_height = cy;
       m_pXParam.i_fps_num = fps;
       m_pXParam.i_fps_den = 1;
       // rate control
       m_pXParam.i_keyint_max = fps - 5;
       //m_pXParam.rc.f_rf_constant_max = fps + 5;
       // rate control
       m_pXParam.rc.i_qp_constant=18;
       m_pXParam.rc.i_qp_min=18;
       m_pXParam.rc.i_qp_max=18;}

       x264_picture_alloc(&m_xPicture, X264_CSP_I420 , m_pXParam.i_width, m_pXParam.i_height);
       m_xPicture.img = x264img;
       m_iframe_size = x264_encoder_encode(m_xEncoder, &m_xNals, &m_iNal, &m_xPicture, &m_xPictureOut);  

    @nobody555 Thanks ! I had another question about x264_param_apply_fastfirstpass function :

    /* x264_param_apply_fastfirstpass:
    *      If first-pass mode is set (rc.b_stat_read == 0, rc.b_stat_write == 1),
    *      modify the encoder settings to disable options generally not useful on
    *      the first pass. */

    what options are they talking about ?

  • How to achieve 2 pass encoding using x264 ?

    6 avril 2017, par Kim Kardashian

    is there a parameter in the x264_param_t structure
    or do I have to send frames to x264 dll twice.. ?
    Because I just use encoder_encode function and that returns nal units .
    Im guessing it should be a combination of a parameter and using encoder_encode twice.

    Here is how i initialize params and link to libx264

       InitializeSettings(){
       x264_param_default_preset(&m_pXParam, "medium", "zerolatency");
       x264_param_apply_profile(&m_pXParam, "baseline");
       m_pXParam.i_width = cx;
       m_pXParam.i_height = cy;
       m_pXParam.i_fps_num = fps;
       m_pXParam.i_fps_den = 1;
       // rate control
       m_pXParam.i_keyint_max = fps - 5;
       //m_pXParam.rc.f_rf_constant_max = fps + 5;
       // rate control
       m_pXParam.rc.i_qp_constant=18;
       m_pXParam.rc.i_qp_min=18;
       m_pXParam.rc.i_qp_max=18;}

       x264_picture_alloc(&m_xPicture, X264_CSP_I420 , m_pXParam.i_width, m_pXParam.i_height);
       m_xPicture.img = x264img;
       m_iframe_size = x264_encoder_encode(m_xEncoder, &m_xNals, &m_iNal, &m_xPicture, &m_xPictureOut);  

    @nobody555 Thanks ! I had another question about x264_param_apply_fastfirstpass function :

    /* x264_param_apply_fastfirstpass:
    *      If first-pass mode is set (rc.b_stat_read == 0, rc.b_stat_write == 1),
    *      modify the encoder settings to disable options generally not useful on
    *      the first pass. */

    what options are they talking about ?

  • problem using ffmpeg drawtext for rtl languge

    9 janvier 2019, par Soroush Tayyebi

    i use this command to write on a video :

    ffmpeg -i source.mp4 -vf drawtext=\"text_shaping=1:fontfile=font.ttf:
       text='یه نوشته فارسی!': fontcolor=black: fontsize=$font_size: box=1: boxcolor=black@0:boxborderw=0: x=(w-text_w)/2: y=(h-text_h)/2 :enable='between(t,5,10)'\"  -c:a copy -force_key_frames 0:05:00,0:6:00 end.mp4

    it work fine when i don’t have numbers and symbols(!, ?,$ and ...) in first and end of my text.
    my lang is right to left and this commmand not support rtl.
    what i must do to solve this problem ?