Recherche avancée

Médias (91)

Autres articles (37)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (6635)

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

    


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

    


    I have executed the following commands :

    


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


    


    Output of last command :

    


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


    


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

    


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

    &#xA;

    function CreateGif() {&#xA;    return new Promise((resolve, reject) => {&#xA;      const ffmpeg = spawn(ffmpegPath, [&#xA;        &#x27;-ss&#x27;,&#xA;        &#x27;00:00:10.000&#x27;,&#xA;        &#x27;-i&#x27;,&#xA;        target,&#xA;        &#x27;-i&#x27;,&#xA;        overlayTarget,&#xA;        &#x27;-filter_complex&#x27;,&#xA;        `[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]`,&#xA;        &#x27;-map&#x27;,&#xA;        &#x27;[out]&#x27;,&#xA;        &#x27;-y&#x27;,&#xA;        tempPath&#xA;      ]);&#xA;&#xA;      ffmpeg.stderr.setEncoding(&#x27;utf8&#x27;);&#xA;      ffmpeg.stderr.on(&#x27;data&#x27;, (data) => {&#xA;        console.log(data);&#xA;      });&#xA;&#xA;      ffmpeg.on(&#x27;close&#x27;, function (code) {&#xA;        console.log(&#x27;closed&#x27;);&#xA;        resolve();&#xA;      });&#xA;&#xA;      ffmpeg.on(&#x27;error&#x27;, function (err) {&#xA;        console.log(err);&#xA;        reject();&#xA;        throw new Error(err);&#xA;      });&#xA;    });&#xA;  }&#xA;

    &#xA;

    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

    &#xA;

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

    &#xA;