Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (104)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (9491)

  • FFMPEG creates an empty gif when the start time (-ss) of the video is over 9 seconds ?

    30 décembre 2020, par blablubla12

    I'm running this command in node.js

    


    function CreateGif() {
    return new Promise((resolve, reject) => {
      const ffmpeg = spawn(ffmpegPath, [
        '-ss',
        '00:00:10.000',
        '-i',
        target,
        '-i',
        overlayTarget,
        '-filter_complex',
        `[0:v]trim=duration=5,setpts=PTS-STARTPTS,scale=450:-1[trimmed];[trimmed]split[trimmed1][trimmed2];[trimmed2]reverse[rev];[trimmed1][rev]concat=n=2:v=1:a=0[v];[v][1:v]overlay=0:0:format=rgb[overlayed];[overlayed]split[a][b];[a]palettegen=stats_mode=diff[palette];[b][palette]paletteuse=bayer:bayer_scale=3.5[out]`,
        '-map',
        '[out]',
        '-y',
        tempPath
      ]);

      ffmpeg.stderr.setEncoding('utf8');
      ffmpeg.stderr.on('data', (data) => {
        console.log(data);
      });

      ffmpeg.on('close', function (code) {
        console.log('closed');
        resolve();
      });

      ffmpeg.on('error', function (err) {
        console.log(err);
        reject();
        throw new Error(err);
      });
    });
  }


    


    If the start time -ss is 00:00:09.000 or anything less than 10 seconds, then it creates the correct gif. However if I put 00:00:10.000 or anything above, it creates an empty gif (0 bytes). The same command works when I run it through cmd. FFMPEG version is ffmpeg version N-55112-g7eb9cf593e-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020

    


    Note : The video (defined as target in the code) is 1:30 min long and overlayTarget is a png image.

    


  • Can't list input devices ffmpeg linux

    23 juillet 2021, par spindi598

    On windows I could do something like this to list input devices :

    


    ffmpeg -list_devices true -f dshow -i dummy


    


    On Linux I try doing something like this :

    


    ffmpeg -list_devices true -f <x11grab></x11grab>avfoundation>&#xA;

    &#xA;

    And I get an error (I have also tried the latest git build from here) :

    &#xA;

    ffmpeg version n4.2.4 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 10.1.0 (GCC)&#xA;  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;Unrecognized option &#x27;list_devices&#x27;.&#xA;Error splitting the argument list: Option not found&#xA;

    &#xA;

    How can I list my input devices ?

    &#xA;

  • FFmpeg installation on Raspberry Pi Zero W : Undefined references to __atomic

    3 février 2021, par MisterGray

    I'm trying to install ffmpeg on my Raspberry Pi Zero W, but I get several error messages.

    &#xA;

    OS : Raspberry Pi OS (32-bit) Lite (May 2020)

    &#xA;

    I have executed the following commands :

    &#xA;

    sudo apt update&#xA;sudo apt full-upgrade&#xA;sudo apt install git&#xA;git clone https://github.com/FFmpeg/FFmpeg.git&#xA;cd FFmpeg&#xA;./configure --arch=armel --target-os=linux --enable-gpl --enable-omx --enable-omx-rpi --enable-nonfree&#xA;make -j2&#xA;sudo make install&#xA;

    &#xA;

    Output of last command :

    &#xA;

    ...&#xA;LD      ffmpeg_g&#xA;/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_init&#x27;:&#xA;/home/pi/FFmpeg/libavformat/fifo.c:519: undefined reference to `__atomic_store_8&#x27;&#xA;/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_write_trailer&#x27;:&#xA;/home/pi/FFmpeg/libavformat/fifo.c:624: undefined reference to `__atomic_fetch_add_8&#x27;&#xA;/usr/bin/ld: /home/pi/FFmpeg/libavformat/fifo.c:631: undefined reference to `__atomic_store_8&#x27;&#xA;/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_thread_write_packet&#x27;:&#xA;/home/pi/FFmpeg/libavformat/fifo.c:188: undefined reference to `__atomic_fetch_sub_8&#x27;&#xA;/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_consumer_thread&#x27;:&#xA;/home/pi/FFmpeg/libavformat/fifo.c:457: undefined reference to `__atomic_load_8&#x27;&#xA;/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_write_packet&#x27;:&#xA;/home/pi/FFmpeg/libavformat/fifo.c:597: undefined reference to `__atomic_fetch_add_8&#x27;&#xA;collect2: error: ld returned 1 exit status&#xA;make: *** [Makefile:114: ffmpeg_g] Error 1&#xA;

    &#xA;

    Maybe another package is missing ? Do I have to change anything in the config ?

    &#xA;