Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (7)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (4186)

  • FFmpeg more than 1000 frames duplicated and input height doesn't match

    2 septembre 2021, par Karine

    I'm currently using this code to record two windows side by side :

    


    ffmpeg -f gdigrab -framerate 30 -i title="" -f gdigrab -framerate 30 -i title="" -c:v h264_nvenc -qp 0 -filter_complex hstack=inputs=2 2.mp4


    


    However it throw this error after execution :

    


    More than 1000 frames duplicated


    


    Error Log : https://pastebin.com/gREVrKVK

    


    The first window mostly time is the same frame, maybe 1 frame change in each 3 sec.

    


    Another error in console is when the first window have a different height than second window, error :

    


    [Parsed_hstack_0 @ 000002491166fd00] Input 1 height 500 does not match input 0 height 488.
[Parsed_hstack_0 @ 000002491166fd00] Failed to configure output pad on Parsed_hstack_0


    


    Error log : https://pastebin.com/vqdBPfpv

    


    Looks like is not possible to record when they have different dimensions, so, if possible I would like to ask how to scale the first window to the same height (doesn't need to keep aspect ratio) of the second window, considering low CPU use above the video quality.

    


  • avfilter : do not use AVFrame accessor

    22 avril 2017, par Muhammad Faiz
    avfilter : do not use AVFrame accessor
    

    Reviewed-by : wm4 <nfxjfg@googlemail.com>
    Signed-off-by : Muhammad Faiz <mfcc64@gmail.com>

    • [DH] libavfilter/af_afade.c
    • [DH] libavfilter/af_amerge.c
    • [DH] libavfilter/af_apad.c
    • [DH] libavfilter/af_aphaser.c
    • [DH] libavfilter/af_aresample.c
    • [DH] libavfilter/af_ashowinfo.c
    • [DH] libavfilter/af_astats.c
    • [DH] libavfilter/af_biquads.c
    • [DH] libavfilter/af_channelmap.c
    • [DH] libavfilter/af_channelsplit.c
    • [DH] libavfilter/af_dynaudnorm.c
    • [DH] libavfilter/af_join.c
    • [DH] libavfilter/af_pan.c
    • [DH] libavfilter/af_volume.c
    • [DH] libavfilter/af_volumedetect.c
    • [DH] libavfilter/asrc_flite.c
    • [DH] libavfilter/avf_aphasemeter.c
    • [DH] libavfilter/avf_showcqt.c
    • [DH] libavfilter/avf_showspectrum.c
    • [DH] libavfilter/avfilter.c
    • [DH] libavfilter/buffersrc.c
    • [DH] libavfilter/f_drawgraph.c
    • [DH] libavfilter/f_loop.c
    • [DH] libavfilter/f_metadata.c
    • [DH] libavfilter/f_select.c
    • [DH] libavfilter/fifo.c
    • [DH] libavfilter/framepool.c
    • [DH] libavfilter/setpts.c
    • [DH] libavfilter/src_movie.c
    • [DH] libavfilter/vf_bbox.c
    • [DH] libavfilter/vf_blackdetect.c
    • [DH] libavfilter/vf_blackframe.c
    • [DH] libavfilter/vf_colormatrix.c
    • [DH] libavfilter/vf_crop.c
    • [DH] libavfilter/vf_cropdetect.c
    • [DH] libavfilter/vf_deflicker.c
    • [DH] libavfilter/vf_deinterlace_vaapi.c
    • [DH] libavfilter/vf_drawtext.c
    • [DH] libavfilter/vf_eq.c
    • [DH] libavfilter/vf_idet.c
    • [DH] libavfilter/vf_ocr.c
    • [DH] libavfilter/vf_overlay.c
    • [DH] libavfilter/vf_psnr.c
    • [DH] libavfilter/vf_readeia608.c
    • [DH] libavfilter/vf_readvitc.c
    • [DH] libavfilter/vf_scale.c
    • [DH] libavfilter/vf_showinfo.c
    • [DH] libavfilter/vf_ssim.c
    • [DH] libavfilter/vf_swaprect.c
    • [DH] libavfilter/vf_vectorscope.c
    • [DH] libavfilter/vf_waveform.c
    • [DH] libavfilter/vsrc_testsrc.c
  • is this right when i use the x264,thank you for your answer

    22 avril 2013, par chinayin

    is this right to use the new x264 api ,i want to get a frame ,and encode it with x264,then save it to a .264 file ?
    but i do not know is this is right ?
    picIn.img.plane[0] = pInBuffer ;
    picIn.img.plane[1] = pInBuffer +m_VideoEncParam.nWidth*m_VideoEncParam.nHeight ;
    picIn.img.plane[2] = pInBuffer +m_VideoEncParam.nWidth*m_VideoEncParam.nHeight*5/4 ;

    picIn.img.i_stride[0] = m_VideoEncParam.nWidth ;
    picIn.img.i_stride[1] = m_VideoEncParam.nWidth /2 ;
    picIn.img.i_stride[2] = m_VideoEncParam.nWidth /2 ;

    nRet = x264_encoder_encode(
                               m_pX264Handle,
                               &amp;pNal,
                               &amp;nNalCount,
                               &amp;picIn,
                               &amp;picOut);
    if (nRet&lt;0)
    {
       return -1 ;
    }

    for (int i = 0 ;i<nnalcount></nnalcount>/memcpy(pOut+nLenOut,&amp;pNal[i],pNal[i].i_payload) ;
       x264_nal_encode(m_pX264Handle,pOutBuffer+nLenOut,&amp;pNal[i]);
       nLenOut += pNal[i].i_payload ;
    }
    int nSize = 0 ;
    FILE *pFile = fopen(pchFileName,"w") ;
    if (!pFile)
    {
       return -1 ;
    }
    nSize = fwrite(pOutBuffer,1,nLenOut,pFile) ;
    fclose(pFile) ;