Recherche avancée

Médias (91)

Autres articles (88)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (8540)

  • Why is my ffmpeg stream subprocess freezing at 6 minutes ?

    13 novembre 2014, par nonlinearmind

    I have a ffmpeg pipeline in a shell script that is launched as a subprocess in Python. For some reason, when Python launches the script, my video streams perfectly and then freezes at about six minutes every time. After it freezes, if I tried to run the script manually, it gives me this error :

    Invalid MIT-MAGIC-COOKIE-1 keyxcb_connection_has_error() returned true
    Failed to symlink
    /root/.pulse/65f3ded611649c6dcf9ebae20000046d-runtime to
    /tmp/pulse-PKdhtXMmr18n : Input/output error [alsa @ 0x4b2f0] cannot
    open audio device hw:0,0 (Device or resource busy) hw:0,0 :
    Input/output error

    However, if I restart and run the script manually, the audio & video will play fine indefinitely.

    Does anyone know why this is happening ? Thanks.

    Here is my pipline.sh file :

    sudo ffmpeg -f video4linux2 -video_size 640x480 -framerate 30 -input_format yuyv422 -i /dev/video7 -f alsa  -i hw:0,0 -map 0:0 -map 1:0  -b:v 120k -bufsize 120k -vcodec libx264 -preset ultrafast -crf 28 -acodec aac -strict -2  -f flv -metadata streamName= StreamName tcp://71.192.1.22

    And this is the subprocess I’m using in Python :

    subprocess.Popen("sudo ./ffmpeg_script.sh", shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
  • Reading videos with OpenCV(Java) on Linux

    7 novembre 2014, par Antonio Sesto

    I am writing a tool for video processing in Java. My main dev platform is OS X : on that platform everything works. On linux everything works but video decoding : when deployed onto Linux (Ubuntu 12.04.4), my tool is no longer able to decode the video files it processes on OS X.

    What I did on Linux was :

    • install ffmpeg, libav, libav-extras and the dev packages via the apt-get package management system. The codecs needed to decode the videos appears to be among the installed ones.
    • compile OpenCV from source. After running cmake, I see that OpenCV will be compiled with ffmpeg support.
    • I use the jar and the corresponding native library produced by the OpenCV compilation in my Java app.

    I have tried every solution I have found on-line, but no-one seems to work.

    I add that the video processing Java code runs (both on OS X and Linux) as a web app in a Jetty container.

    Cheers

  • rtmp : Always call rtmp_close() on rtmp_open() failure

    18 octobre 2014, par Alexander Drozdov
    rtmp : Always call rtmp_close() on rtmp_open() failure
    

    Prevent possible memory leaks.

    Connect to nginx and request a non-existent resource to
    trigger the issue.

    CC : libav-stable@libav.org

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>
    Signed-off-by : Uwe L. Korn <uwelk@xhochy.com>
    Signed-off-by : Luca Barbato <lu_zero@gentoo.org>

    • [DH] libavformat/rtmpproto.c