Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (40)

  • 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

  • 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 ?

  • ffmpeg : Invalid segment filename template 'stream05d.ts'

    14 juin 2015, par Wildan Muhlis

    I have tried to use http live streaming with ffmpeg windows build (http://ffmpeg.zeranoe.com/builds/)

    Here’s the command

    ffmpeg.exe -v 9 -loglevel 99 -re -i tes.avi -an ^
    -c:v libx264 -b:v 128k -preset medium ^
    -flags -global_header -map 0 -f segment -segment_time 4 ^
    -segment_list test.m3u8 -segment_format mpegts stream%^05d.ts

    but an error message raised,

    [segment @ 045f5840] Codec for stream 0 does not use global headers but container format requires global headers
    [segment @ 045f5840] Selected stream id:0 type:video
    [mpegts @ 062f2540] Invalid segment filename template 'stream05d.ts'
    [AVIOContext @ 04a90e00] Statistics: 0 seeks, 0 writeouts
    Output #0, segment, to 'stream05d.ts':
     Metadata:
       encoder         : Lavf55.2.100
       Stream #0:0, 0, 1/90000: Video: h264, yuv420p, 720x400 [SAR 1:1 DAR 9:5], 10
    01/24000, q=-1--1, 128 kb/s, 90k tbn, 23.98 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg4 -> libx264)
    Could not write header for output file #0 (incorrect codec parameters ?): Invali
    d argument
    [AVIOContext @ 0215a3e0] Statistics: 3028576 bytes read, 88 seeks

    What’s this error message mean and how to solve it ?

  • x264_encoder_open always return null

    16 mai 2013, par chinayin

    this is my code

    x264_param_default(&m_X264Param) ;

    nRet = x264_param_default_preset(&m_X264Param,"medium","zerolatency") ;
    if (nRet)
    {
       return -1;
    }
    if (cpMain == Param.nProfile)
    {
       nRet = x264_param_apply_profile(&m_X264Param,"main") ;
    }
    else if (cpSimple == Param.nProfile)
    {
       nRet = x264_param_apply_profile(&m_X264Param,"baseline") ;
    }
    else if (cpComplex == Param.nProfile)
    {
       nRet = x264_param_apply_profile(&m_X264Param,"high");
    }
    if (nRet)
    {
       return -1;
    }
    m_X264Param.i_width = Param.nWidth ;
    m_X264Param.i_height = Param.nHeight ;
    m_X264Param.i_threads = X264_THREADS_AUTO ;
    m_X264Param.i_log_level = X264_LOG_NONE ;
    m_X264Param.rc.i_bitrate = Param.nBitRate ;
    m_X264Param.rc.i_rc_method = X264_RC_ABR ;
    m_X264Param.i_csp          =  X264_CSP_I420 ;

    m_pX264Handle = x264_encoder_open(&m_X264Param) ;

    but it always return null it is my first time use it did i miss some key param ? is anyone who can tell me the answer ! thank you very much and best regards