Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (56)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

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

Sur d’autres sites (8050)

  • malloc error ubuntu ffmpeg server not streaming

    21 septembre 2012, par user1509326

    enter code hereI was following this tutorial http://jeremyblythe.blogspot.com/2012/05/raspberry-pi-webcam.html and when i run the following command from root

    ffserver -f /root/ffserver.conf & ffmpeg -v 2 -r 5 -s 640x480 -f video4linux2 -i /dev/video1` http://localhost:8090/webcam.ffm

    The camera is turned on and everything is fine, except it does not stream, i checked the terminal and it says the following.

    from video 1 i get the following error
    bind(port 8090): Address already in use
    *** glibc detected *** ffmpeg: malloc(): smallbin double linked list corrupted: 0x0000000000e5ac00 **

    when i another port like 5000 i get the same result

    ffserver -f /root/ffserver.conf & ffmpeg -v 2 -r 5 -s 640x480 -f video4linux2 -i /dev/video1 http://localhost:8090/webcam.ffm
    [2] 3795
    avserver version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
     built on Jun 12 2012 16:52:09 with gcc 4.6.3
    *** glibc detected *** ffmpeg: malloc(): smallbin double linked list corrupted: 0x0000000000b77c00 ***
  • Transcoding wmv file to mp4 using Jave

    17 mai 2013, par Fawkes

    I am trying to use Jave to convert a wmv file into h264(mp4).
    The final version created by Jave plays fine with VLC player but when I try to use it inside the HTML5 video tag, it is not able to play the file.

    I am guessing that the issue is with the attributes I am setting for the video attributes.

    Java Code :

       videoAttributes.setCodec("mpeg4");
       videoAttributes.setTag("mpeg4");
       videoAttributes.setBitRate(new Integer(5000));
       videoAttributes.setFrameRate(new Integer(30));
       videoAttributes.setSize(new VideoSize(512, 384));
       encodingAttributes.setVideoAttributes(videoAttributes);
       encodingAttributes.setFormat("mp4");

    HTML code :

       <video controls="true" width="400" height="200">
           <source src="path_to_converted_mp4_file" type="video/mp4"></source>
           Not Supported
       </video>
  • Ffmpeg change height with fixed width

    2 mars 2012, par Dmitry

    I'm trying to change video dimensions using ffmpeg.
    For example, user is uploading video 1280*960.

    And i need to get video 640*480 in return.

    I tried this code and it works

    exec($ffmpegPath." -i ".$srcFile." -ar 22050 -ab 32 -f flv -s 640x480".$destFile,$tmp);

    but this method d't keep width/height balance of video (i.e. video 5000*480 becomes 640*480 and looks compressed from left and right).

    In case of this dimensions (5000*480) i need to get video on exit like 640*61
    i mean fixed height is not suitable for me.

    I look over the internet and found this topics
    http://superuser.com/questions/201051/resize-videos-with-different-widths-to-a-fixed-height-preserving-aspect-ratio-wi
    http://delogics.blogspot.com/2011/11/ffmpeg-maintain-aspect-ratio-with-fixed.html

    but neither of them works for me (ffmpeg even not works with this code, maybe i've made mistake when adding theirs code parts in my ffmpeg string)

    Help me to improve my code pls

    Thanks