Recherche avancée

Médias (91)

Autres articles (98)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

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

Sur d’autres sites (8629)

  • Building FFMPEG with only MP3/WAV support for PyDub

    27 octobre 2023, par Andrew Worley

    I've tried for three days to build a <5MB FFMPEG binary to support my standalone PyDub program, which takes .mp3 or .wav files, "blends them up", and then outputs an MP3. The program uses AudioSegment from PyDub, which requires libmp3lame to be built into FFMPEG. This is my .configure. When AudioSegment.from_mp3 is called, I get the error

    &#xA;

    &#xA;

    lib\json\decoder.py, line 355, in raw_decode raise&#xA;JSONDecodeError("Expecting value", s, err.value) from None&#xA;json.decoder.JSONDecodeError : Expecting value : line 1 column 1 (char&#xA;0)

    &#xA;

    &#xA;

    and when AudioSegment.export is called when using .wav I get

    &#xA;

    &#xA;

    pydub\audio_segment.py, line 970, in export&#xA;raise CouldntEncodeError( pydub.exceptions.CouldntEncodeError : Encoding failed. ffmpeg/avlib returned error code : 3221225781

    &#xA;

    &#xA;

    I'm new to compiling FFMEG, and programming, so I'm sorry if I'm missing something obvious.

    &#xA;

    ./configure &#xA;--disable-everything &#xA;--prefix=/mingw64 &#xA;--host-cflags="-m64 -I/mingw64/include" &#xA;--host-ldflags="-m64 -L/mingw64/lib" &#xA;--disable-network --disable-autodetect &#xA;--enable-small &#xA;--enable-decoder=mp3*,pcm* &#xA;--enable-libmp3lame &#xA;--enable-encoder=libmp3lame,pcm* &#xA;--enable-parser=mpegaudio,dca &#xA;--enable-demuxer=mp3,wav &#xA;--enable-muxer=segment,mp3,wav &#xA;--enable-filter=aresample &#xA;--enable-protocol=file &#xA;--disable-doc&#xA;

    &#xA;

    I'm trying to build for for Windows 64bit, using MSYS2 MINGW64 Shell, if that helps anything. I've tried multiple different ./configs. None of them seem to fix the problem. Although, using a prebuilt FFMPEG works fine, but it's larger than I want to include in the .exe.

    &#xA;

  • Issues in building ffmpeg on windows

    18 janvier 2024, par RKum

    I have to use ffmpeg in our c++ on windows project. I have visual studio 2017.&#xA;For this I have to use ffmpeg-cpp( https://github.com/Raveler/ffmpeg-cpp ).&#xA;ffmpeg-cpp is dependent on ffmpeg( https://ffmpeg.org/download.html ).

    &#xA;

    To build ffmpeg I am following instructions in https://ffmpeg.org/platform.html#Windows.&#xA;I installed "MSYS2 MINGW64" using installer msys2-x86_64-20240113.exe.

    &#xA;

    But I am not seeing files like msys_shell.bat or mingw64_shell.bat or mingw32_shell.bat.

    &#xA;

    How do I get these file ?

    &#xA;

    Also if I run commands like "pacman -S make pkgconf diffutils" I get error

    &#xA;

    error: failed retrieving file &#x27;pkgconf-2.1.0-1-x86_64.pkg.tar.zst&#x27; from mirror.iscas.ac.cn : SSL certificate problem: self-signed certificate in certificate chain&#xA;

    &#xA;

    How to resolve this certificate issue ?

    &#xA;

  • Issues building ffmpeg on Windows [closed]

    19 janvier 2024, par RKum

    I have to use ffmpeg in our c++ Windows project. I have Visual Studio 2017.&#xA;For this I have to use ffmpeg-cpp.
    &#xA;ffmpeg-cpp is dependent on ffmpeg.

    &#xA;

    To build ffmpeg I am following instructions in https://ffmpeg.org/platform.html#Windows.
    &#xA;I installed MSYS2 MINGW64 using installer msys2-x86_64-20240113.exe.

    &#xA;

    But I am not seeing files like msys_shell.bat or mingw64_shell.bat or mingw32_shell.bat.

    &#xA;

    How do I get these files ?

    &#xA;

    Also if I run commands like pacman -S make pkgconf diffutils I get this error :

    &#xA;

    &#xA;

    error : failed retrieving file 'pkgconf-2.1.0-1-x86_64.pkg.tar.zst' from mirror.iscas.ac.cn : SSL certificate problem : self-signed certificate in certificate chain

    &#xA;

    &#xA;

    How to resolve this certificate issue ?

    &#xA;