Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (84)

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (9953)

  • Create a looped video with countdown

    13 décembre 2016, par Enrico Deleo

    Something maybe challenging here :
    I want to stream (via rtmp) a video with a fixed image and a countdown applied on it. I know I can create a slideshow with even audio background with ffmtp (http://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images) but I’m wondering if I can loop it AND apply an overlay with the countdown to a given date.

    Any ideas ?

  • encode YUV420 frame to VP9

    21 novembre 2018, par User800222

    As title,

    I’m pulling frames from a IP camera. I converted the input raw data to YUV420 format, and would like to encode YUV420 to VP9, and save frames as .webm format. Would I be able to do that ? Or should I input a BGR444 format for encoding ?

    BTW, to set up the parameters for encoding vp9. Is the av_dict_set() the right function for setting parameters ?

    Ex : (http://wiki.webmproject.org/ffmpeg/vp9-encoding-guide)

    av_dict_set(&opt, "crf"    , "23", 0);
    av_dict_set(&opt, "speed"  , "4" , 0);
    av_dict_set(&opt, "threads", "8" , 0);
    av_dict_set(&opt, "pass"   , "1" , 0);
    av_dict_set(&opt, "b:v", "1400k", 0);

    Edit : The wiki uses 2 pass for setting parameters, would I be able to do in with 1 pass ?

    Edit2 : Blow code seems to be working, wonder how can I bring the size of the videos (vp9) down ? Currently, I have similar size as using h264 encoder.

       av_dict_set(&opt, "crf"    ,        "45", 0);  
       av_dict_set(&opt, "speed"  ,        "8" , 0);
       av_dict_set(&opt, "quality",        "realtime", 0);
       av_dict_set(&opt, "threads",        "8" , 0);
       av_dict_set(&opt, "tile-columns",   "3", 0);
       av_dict_set(&opt, "frame-parallel", "1", 0);
       av_dict_set(&opt, "row-mt",         "1", 0);

    Update1 :
    YUV420P can be encoded as VP9 !

  • ffmpeg invalid argument for vp9 encoding

    17 juin 2015, par user3083672

    I’m following the recommended settings for vp9 encoding here : http://wiki.webmproject.org/ffmpeg/vp9-encoding-guide

    Using this command :

    ffmpeg -i test.mp4 -c:v libvpx-vp9 -pass 1 -b:v 1000K -threads 8 -speed 4 \
    -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 \
    -an -f webm /dev/null

    produces the following error :

    [NULL @ 0000000005a209c0] Unable to find a suitable output format for '\'
    \: Invalid argument

    Any ideas ?