Recherche avancée

Médias (91)

Autres articles (29)

  • 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

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (4383)

  • How To Install FFMPEG on Elastic Beanstalk

    26 mars 2020, par Nick Lynch

    This is not a duplicate, I have found one thread, and it is outdated and does not work :
    Install ffmpeg on elastic beanstalk using ebextensions config.

    I have been trying to install this for some time, nothing seems to work.
    Please share the config.yml that will make this work.

    I am using 64bit Amazon Linux 2016.03 v2.1.6 running PHP 7.0 on Elastic Beanstalk


    My current file is

    branch-defaults:
     default:
       environment: Default-Environment
     master:
       environment: Default-Environment
    global:
     application_name: "My First Elastic Beanstalk Application"
     default_ec2_keyname: ~
     default_platform: "64bit Amazon Linux 2016.03 v2.1.6 running PHP 7.0"
     default_region: us-east-1
     profile: eb-cli
     sc: git
    packages: ~
    yum:
     ImageMagick: []
     ImageMagick-devel: []
     commands:
       01-wget:
         command: "wget -O /tmp/ffmpeg.tar.gz http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.2014-03-05.tar.gz"
       02-mkdir:
         command: "if [ ! -d /opt/ffmpeg ] ; then mkdir -p /opt/ffmpeg; fi"
       03-tar:
         command: "tar -xzf ffmpeg.tar.gz -C /opt/ffmpeg"
         cwd: /tmp
       04-ln:
         command: "if [[ ! -f /usr/bin/ffmpeg ]] ; then ln -s /opt/ffmpeg/ffmpeg /usr/bin/ffmpeg; fi"
       05-ln:
         command: "if [[ ! -f /usr/bin/ffprobe ]] ; then ln -s /opt/ffmpeg/ffprobe /usr/bin/ffprobe; fi"
       06-pecl:
         command: "if [ `pecl list | grep imagick` ] ; then pecl install -f imagick; fi"
  • Read a user defined frames from a hls stream using ffmpeg

    17 février 2019, par igal k

    I’m facing a task where i have to read an exact number of frames from each segment, including identifying frames’ types using libav

    I’ve seen couple approaches so far

    1. Define AVFormatContext’s callback that will be triggered every time av_read_format finishes reading a whole segment
    2. Have the following flags set for AVFormatContext

      int avret = av_dict_set(&d, "hls_time", "1.0", 0);
      avret = av_dict_set(&d, "hls_init_time", "1.0", 0);

    My problem with these 2 approaches is that i don’t know how to associate them to a given segment programatically

    Question #2 - using the following design, is there a way to associate a specific segment to its media playlist ?

  • ffmpeg use complex_filter only for a part of the video

    7 mars 2019, par Andy P

    I am trying to apply a filter to only the first few seconds of a video clip - and leave the rest of the video unchanged.

    why ?
    I got some video clips that I wanted to put on a website - unfortunatelly those clips are starting with a black background, which does not fit the website’s design. Therefor I was changing the background to transparent.

    I got that filter working from many of the great answers here (thanks to Gyan) and those videos are playing fine in common browsers :

    ffmpeg -i ${1} -filter_complex "[0]split[m][a];
    [a]geq='if(lt(lum(X,Y),16),0,255)',hue=s=0[al];
    [m][al]alphamerge,format=yuva420p" -c:v libvpx-vp9 -b:v 0 -crf 18 -an -auto-alt-ref 0 ${1}.webm

    the problem now : of course this replaces all black pixels during the video, which leads to many artefacts later on. Therefor I am searching for a way to apply that filter only to the first 5-ish seconds.

    I think I need a second split and a crop or a trim and a concat filter with a timestamp - but I can’t make it work :(

    ffmpeg -i ${1} -filter_complex "[0]split[f][s];
    [f]trim=start=0,duration=5[ft];
    [s]trim=start=6[st];
    [st]split[m][a];
    [a]geq='if(lt(lum(X,Y),16),0,255)',hue=s=0[al];
    [m][al]alphamerge,format=yuva420p[mal];
    [ft][mal]concat" -c:v libvpx-vp9 -b:v 0 -crf 18 -an -auto-alt-ref 0 ${1}.webm