Recherche avancée

Médias (91)

Autres articles (105)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (5361)

  • How can I save an animation from matplotlib as a mp4 video file ? [duplicate]

    19 décembre 2018, par Manza

    This question already has an answer here :

    I’m trying to render a animation.ArtistAnimation object into a 24 fps video file in format mp4.

    I have search about and I reached this. However, even after compiling ffmpeg I get this error message :

    C:\Users\trite\OneDrive\Documentos\MusiTex\Python\venv\Scripts\python.exe
    "C:/Users/trite/OneDrive/Documentos/MusiTex/Python/venv/Saving Animation.py"
    Traceback (most recent call last):
     File "C:\Users\trite\OneDrive\Documentos\MusiTex\Python\venv\lib\site-
    packages\matplotlib\animation.py", line 161, in __getitem__
       return self.avail[name]
    KeyError: 'ffmpeg'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
     File "C:/Users/trite/OneDrive/Documentos/MusiTex/Python/venv/Saving
    Animation.py", line 20, in <module>
       FFMpegWriter = manimation.writers['ffmpeg']
     File "C:\Users\trite\OneDrive\Documentos\MusiTex\Python\venv\lib\site-
    packages\matplotlib\animation.py", line 164, in __getitem__
       'Requested MovieWriter ({}) not available'.format(name))
    RuntimeError: Requested MovieWriter (ffmpeg) not available

    Process finished with exit code 1
    </module>

    What is the problem with ?

    I would really appreciate if you can help me. Actually, if there is other ways to saving/render this kind of object into a video file (preferably mp4) I will be delighted to hear them.

    Thank you very much

  • ERROR : jni not found building ffmpeg for Android

    13 décembre 2019, par Jim Rhodes

    I have successfully built ffmpeg libraries for Android and now I want to add MediaCodec support.

    I have added --enable-mediacodec --enable-jni to my configure command line and -I$SYSROOT/usr/include to extra-cflags.

    At the end of config.log is the following :

    check_headers jni.h
    test_cpp
    BEGIN /tmp/ffconf.m9iLX2Qm/test.c
       1   #include
       2   int x;
    END /tmp/ffconf.m9iLX2Qm/test.c
    /home/jr/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
    --sysroot=/home/jr/android-ndk/sysroot -D_ISOC99_SOURCE
    -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod
    -DPIC -target aarch64-none-linux-android
    -I/home/jr/android-ndk/sysroot/usr/include/aarch64-linux-android
    -I/home/jr/android-ndk/sysroot/usr/include -O3 -fPIC
    -D__ANDROID_API__=21 -std=c11 -fPIE -fomit-frame-pointer -fPIC -E
    -o /tmp/ffconf.m9iLX2Qm/test.o /tmp/ffconf.m9iLX2Qm/test.c
    ERROR: jni not found

    There is a jni.h in /home/jr/android-ndk/sysroot/usr/include.

    Is there anything else I need to add to my build script to get this to work ?

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