Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (62)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (4899)

  • FFMpeg v4l2m2m green output

    16 avril 2020, par Roman Honcharenko

    I'm using hardware encoding via FFMPEG and h264_v4l2m2m codec.

    



    If I'm using FFmpeg h264_v4l2m2m, the encoded video looks like this

    



    ffmpeg -i small.mp4 -vcodec h264_v4l2m2m grb_2-v4l2.avi

[h264_v4l2m2m @ 0x13d24d0] driver 'bcm2835-codec' on card 'bcm2835-codec-isp'
[h264_v4l2m2m @ 0x13d24d0] driver 'bcm2835-codec' on card 'bcm2835-codec-encode'
[h264_v4l2m2m @ 0x13d24d0] Using device /dev/video11
[h264_v4l2m2m @ 0x13d24d0] driver 'bcm2835-codec' on card 'bcm2835-codec-encode'
[h264_v4l2m2m @ 0x13d24d0] Failed to set number of B-frames
    Last message repeated 1 times
[h264_v4l2m2m @ 0x13d24d0] Failed to set header mode
[h264_v4l2m2m @ 0x13d24d0] Failed to set gop size
[h264_v4l2m2m @ 0x13d24d0] h264 profile not found
[h264_v4l2m2m @ 0x13d24d0] Encoder adjusted: qmin (0), qmax (51)
[h264_v4l2m2m @ 0x13d24d0] Failed to set minimum video quantizer scale
[h264_v4l2m2m @ 0x13d24d0] Failed to set maximum video quantizer scale


    



    And while processing :

    



    [avi @ 0x145aa20] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing 
to 1. This may result in incorrect timestamps in the output file.


    



    If the video container is not AVI, then the resulting video is blank.

    



    I want to use this encoder as a backend codec for OpenCV. If I'm trying to use it, I'm getting the following error :

    



    This encoder requires using the avcodec_send_frame() API


    



    What is the workaround and where should I look ?

    



      

    • Machine : Raspberry Pi 4B+
    • 


    • System : Custom Yocto Distribution (master branches)
    • 


    • OpenCV version : 4.1.0
    • 


    • FFMpeg version : 4.2.2
    • 


    


  • FFmpeg cross compile for Android fails with on C compiler test for x86_64

    5 novembre 2018, par nLL

    I am trying to cross compile FFmpeg for Android with NDK r16b
    I have manged to compile without any issues for all platforms but x86_64.

    Here is my compile script

           #!/bin/bash



       function build_one
       {
       ./configure \
       --prefix=$PREFIX \
       --enable-shared \
       --disable-static \
       --enable-pic \
       --enable-small \
       --disable-programs \
       --disable-symver \
       --target-os=android \
       --enable-cross-compile \
       --cross-prefix=$CROSS_PREFIX \
       --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
       --extra-ldflags="$ADDI_LDFLAGS" \
       --sysroot=$TOOLCHAIN/sysroot $ADDITIONAL_CONFIG_FLAG \
       --disable-all --disable-autodetect --disable-network --enable-pthreads \
       --enable-protocol=file --enable-protocol=pipe --enable-protocol=concat \
       --disable-all --disable-autodetect --disable-network --enable-pthreads \
       --enable-avcodec --enable-avformat --enable-swresample --enable-avfilter --enable-filter=aresample \
       --enable-parser=aac --enable-parser=aac_latm --enable-parser=flac --enable-parser=mpegaudio --enable-parser=vorbis \
       --enable-muxer=mp3,wav --enable-encoder=pcm*,libmp3lame --enable-nonfree --enable-gpl \
       --enable-jni --enable-mediacodec --enable-libmp3lame


       make -j4
       make install
       make distclean
       }

       HOME_PATH=/home/nll/Desktop
       CPU=x86_64
       TOOLCHAIN=$HOME_PATH/my_toolchains/x86_64
       CROSS_PREFIX=$TOOLCHAIN/bin/x86_64-linux-android-
       mkdir -p $(pwd)/android/$CPU
       PREFIX=$(pwd)/android/$CPU
       ADDI_CFLAGS="-march=x86-64 -I$INCLUDE_PATH"
       ADDI_LDFLAGS="-shared -L$LIBS_PATH"
       ADDITIONAL_CONFIG_FLAG="--arch=x86_64 --enable-x86asm"
       build_one

    Above script fails with

           WARNING: /home/nll/Desktop/my_toolchains/x86_64/bin/x86_64-linux-android-pkg-config not found, library detection may fail.
       mktemp -u XXXXXX
       5ZpQya
       test_ld cc
       test_cc
       BEGIN /tmp/ffconf.KWqViHoN/test.c
           1   int main(void){ return 0; }
       END /tmp/ffconf.KWqViHoN/test.c
       /home/nll/Desktop/my_toolchains/x86_64/bin/x86_64-linux-android-gcc --sysroot=/home/nll/Desktop/my_toolchains/x86_64/sysroot -Os -fpic -march=x86-64 -I -c -o /tmp/ffconf.KWqViHoN/test.o /tmp/ffconf.KWqViHoN/test.c
       /home/nll/Desktop/my_toolchains/x86_64/bin/x86_64-linux-android-gcc -shared -L --sysroot=/home/nll/Desktop/my_toolchains/x86_64/sysroot -o /tmp/ffconf.KWqViHoN/test /tmp/ffconf.KWqViHoN/test.o
       /home/nll/Desktop/my_toolchains/x86_64/bin/../lib/gcc/x86_64-linux-android/4.9.x/../../../../x86_64-linux-android/bin/ld: error: /tmp/ffconf.KWqViHoN/test.o: unsupported ELF file type 2
       collect2: error: ld returned 1 exit status
       C compiler test failed.

    So, error is "unsupported ELF file type 2" which means 64 bit. But, I am trying to build 64 bit library anyway.

    I do not understand what is the issue here. Can anyone give me some direction ?

  • Evolution #3865 (En cours) : URL ressources + compression CSS -> Cross-Origin Request Blocked

    24 novembre 2016, par denis -

    En ajoutant une URL ressouces, l’affichage des police ne fonctionne plus. Firebug me dit "Cross-Origin Request Blocked : The Same Origin Policy disallows reading the remote resource at http://medias.nova-cinema.org/squelettes/css/font-osp-din/osp-din-webfont.woff. (Reason : CORS header ’Access-Control-Allow-Origin’ missing)."

    Le problème se règle en rajoutant Header set Access-Control-Allow-Origin "*" dans le .htaccess comme indiqué ici http://connect.adfab.fr/developpement-front/utiliser-tous-les-verbes-http-avec-cors