Recherche avancée

Médias (91)

Autres articles (77)

  • Les sons

    15 mai 2013, par
  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (5320)

  • Added iframe to xml converter. Closes #2286.

    18 mai 2013, par blueimp
    Added iframe to xml converter. Closes #2286.
  • ffmpeg : video codec ansi not compatible with flv

    11 septembre 2018, par diatomym

    lets say i have 10 video files, encoded with the following command in ffmpeg

    ffmpeg -i input.mp4 -c:v libx264 -preset medium -maxrate 6000k -bufsize 6000k -vf "scale=1280:-1,format=yuv420p" -g 50 -c:a aac -b:a 128k -ac 2 -ar 44100 file.flv

    now that all files match in codec, what i want to do is stream all those files via RTMP. for that, I’ll need to create a concat list. i also want the stream to infinitely repeat those 10 files. to do all these things, I use this command :

    ffmpeg -threads 2 -re -fflags +genpts -stream_loop -1 -i mylist.txt -c copy -f flv rtmp://link.to/RTMP

    when doing that, I get the following error output :

    ffmpeg -threads 2 -re -fflags +genpts -stream_loop -1 -i mylist.txt -c copy -f flv rtmp://link.to/RTMP
    ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
     configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libavresample   3.  7.  0 /  3.  7.  0
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
    Input #0, tty, from 'mylist.txt':
     Duration: 00:00:00.24, bitrate: 40 kb/s
       Stream #0:0: Video: ansi, pal8, 640x400, 25 fps, 25 tbr, 25 tbn, 25 tbc
    [flv @ 0x560ec7662920] ***Video codec ansi not compatible with flv
    Could not write header for output file #0 (incorrect codec parameters ?): Function not implemented***
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)

    ffmpeg is giving me the error

    Video codec ansi not compatible with flv
    Could not write header for output file #0 (incorrect codec parameters ?): Function not implemented

    what am i doing wrong ? thanks for the help.

  • Anomalie #4717 : Erreurs nombre d’argument des filtres

    8 avril 2021

    Refs :

    - https://www.php.net/manual/fr/migration71.incompatible.php
    - https://www.php.net/manual/fr/function.implode.php
    - https://www.spip.net/fr_article5672.html

    Au aucun moment il n’est indiqué que le filtre |implode de SPIP puisse être appelé sans second paramètre, donc jusque là pas de problème : la personne a mal écrit son squelette.

    Ceci étant dit, il semble que PHP analyse le problème même sans exécuter la fonction, et que ce Fatal pourrait être catch là https://git.spip.net/spip/spip/src/branch/master/ecrire/public/composer.php#L106 en plus, et retourner à la place une erreur_squelettes(), comme ça le fait pour le ParseError.