Recherche avancée

Médias (91)

Autres articles (104)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (7246)

  • ffmpeg : capture two screens simultaneously, save as two separate files

    9 janvier 2017, par wetjosh

    Is this possible ? Here is my working single file solution. How can I modify it to save two separate files instead ?

    ffmpeg \
    -f avfoundation -pix_fmt uyvy422 -s 1440x900 -i 1 \
    -f avfoundation -pix_fmt uyvy422 -s 1440x900 -i 2 \
    -pix_fmt yuv420p -r 30 -preset ultrafast -b:v 5000k -t 15 \
     -filter_complex \
       "nullsrc=size=2880x900 [background]; \
       [0:v] setpts=PTS-STARTPTS, scale=1440x900 [left]; \
       [1:v] setpts=PTS-STARTPTS, scale=1440x900 [right]; \
       [background][left] overlay=shortest=1 [background+left]; \
       [background+left][right] overlay=shortest=1:x=1440 [left+right]" \
     -map [left+right] out.mov

    I’ve tried removing the filter complex. I’ve tried adding two output files. I’ve tried various combinations of mapping. The following is the closest I’ve gotten to making it work. It creates two files, but both contain only the second stream (-i 2).

    ffmpeg \
    -f avfoundation -pix_fmt uyvy422 -s 1440x900 -i 1 \
    -f avfoundation -pix_fmt uyvy422 -s 1440x900 -i 2 \
    -pix_fmt yuv420p -r 30 -preset ultrafast -b:v 5000k -t 15 out1.mov \
    -pix_fmt yuv420p -r 30 -preset ultrafast -b:v 5000k -t 15 out2.mov
  • Trouble installing ffmpegthumbnailer on Amazon Linux AMI

    30 août 2014, par jnbankston

    I am trying to install ffmpegthumbnailer on a Ec2 instance using Amazon linux. Ffmpeg has been compiled successfully and is working.

    This is my configuration when compiling from source
    ./configure —prefix=/tmp/ffmpegthumbnailer_dir/ —enable-shared —enable-png —enable-jpeg —enable-static —with-pic PKG_CONFIG_PATH=/root/ffmpeg_build/lib/pkgconfig/

    This is the error when I try to make the binary.

    /usr/bin/ld : /root/ffmpeg_build/lib/libavformat.a(allformats.o) : relocation R_X86_64_32 against

    ff_a64_muxer' can not be used when making a shared object; recompile with -fPIC
    /root/ffmpeg_build/lib/libavformat.a: could not read symbols: Bad value
    collect2: error: ld returned 1 exit status
    make[2]: *** [libffmpegthumbnailer.la] Error 1
    make[2]: Leaving directory

    /tmp/ffmpegthumbnailer_dir’
    make[1] : * [all-recursive] Error 1
    make[1] : Leaving directory `/tmp/ffmpegthumbnailer_dir’
    make : *
    [all] Error 2

  • How to run FFMPEG with —enable-libfontconfig on Amazon Linux 2

    22 avril 2024, par Adrien Kaczmarek

    Problem

    


    I want to run FFmpeg on AWS Lambda (Amazon Linux 2) with the configuration --enable-libfontconfig enable.

    


    Situation

    


    I already have FFmpeg running on AWS Lambda without the configuration --enable-libfontconfig.

    


    Here is the step I took to run FFmpeg on AWS Lambda (see official guide) :

    


      

    • Connect to Amazon EC2 running on AL2 (environment used by Lambda for Python 3.11)
    • 


    • Download and package FFmpeg from John Van Sickle
    • 


    • Create a Lambda Layer with FFmpeg
    • 


    


    Unfortunately, the version built by John Van Sickle doesn't have the configuration --enable-libfontconfig enabled.

    


    Unsuccessful Trials

    


    I tried to rebuilt it from scratch following the installation guide but without success (and the guide doesn't install font related dependencies)

    


    I tried to install it with brew but the command brew install ffmpeg didn't succeed on AL2.

    


    I tried to install ffmpeg from ffmpeg-master-latest-linux64-gpl.tar.xz. Unfortunately, this build of ffmpeg doesn't run on AL2 :

    


    ffmpeg: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by ffmpeg)
ffmpeg: /lib64/libpthread.so.0: version `GLIBC_2.28' not found (required by ffmpeg)
ffmpeg: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by ffmpeg)
ffmpeg: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ffmpeg)


    


    Any help would be greatly appreciated,

    


    Please make sure your answer is up to date and tested. Too many answers out there are auto-generated, too generic, or simple redirect without context.

    


    Thank you