Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (69)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

  • Possible bug in OpenCV2.4 capturing frames from video

    23 septembre 2013, par Jav_Rock

    Could it be that there is a bug in OpenCV2.4 highgui for capturing frames from video in windows ?

    I installed both the precompiled libraries, the ones compiled by me, I can compile everything perfectly and I can run my programs if

    they are image based. The problem is only for videos. OpenCV crashes in this function always :

    virtual IplImage* retrieveFrame(int)
       {
           unsigned char* data = 0;
           int step=0, width=0, height=0, cn=0;

           if(!ffmpegCapture ||
              !icvRetrieveFrame_FFMPEG_p(ffmpegCapture,&data,&step,&width,&height,&cn)) <-------CRASHES HERE
              return 0;
           cvInitImageHeader(&frame, cvSize(width, height), 8, cn);
           cvSetData(&frame, data, step);
           return &frame;
       }

    This is inside the class cap_ffmpeg.cpp and is called by VideoCapture.

    I tried versions 2.4.2 and 2.4.9. My programes were working finde with opencv2


    More information

    • Windows 7

    • Build the projects with cmake (important as it could be that cmake is not building/finding the right codecs)

    • VisualStudio 9 2008

    • OpenCV 2.4.2

    EDIT

    It looks like it is actually a bug, so, how can I solve this problem and change my code to be able to read avi files ?

  • ffmpeg how convert mp3 to acc ? [closed]

    21 septembre 2012, par John Smith

    Possible Duplicate :
    ffmpeg how convert audio files in other formats ?

    code :

    $infile=$dir.'file1.mp3';
    $outfile_aac=$dir.'file1.acc';
    shell_exec("ffmpeg -i $infile -ab 256 $outfile_aac");

    code create file .acc with size = 0... Where my error ?

    FFmpeg version SVN-r12216,
    Copyright (c) 2000-2008 Fabrice Bellard,
    et al. configuration: libavutil version: 49.6.0 libavcodec version: 51.50.1
    libavformat version: 52.7.0
    libavdevice version: 52.0.0 built on Feb 25 2008 12:40:30,
    gcc: 4.1.2 20070626 (Red Hat 4.1.2-14)
    invalid new backstep 1008 Input #0, mp3, from '/hsphere/local/home/c292729/testwork.ru/10001/ConcertMedia/1348165273ExPRoG.mp3':
    Duration: 00:01:48.8,
    start: 0.000000,
    bitrate: 319 kb/s
    Stream #0.0: Audio: mp3, 44100 Hz, stereo, 320 kb/s Output #0, adts,
    to '/hsphere/local/home/c292729/testwork.ru/10001/ConcertMedia/1348165273ExPRoG.aac':
    Stream #0.0:
    Audio: 0x0000, 44100 Hz,
    stereo, 64 kb/s
    Stream mapping: Stream #0.0 -> #0.0
    Unsupported codec for output stream #0.0

    what codec me need use ?

  • New builds for PHP 5.4 and PHP 5.3

    29 novembre 2012, par Mikko Koppanen — Imagick

    It’s been a while since I last updated this blog (September 2009 to be exact). Time flies ! Anyway, here comes the actual content : updated imagick binaries for PHP 5.3 and PHP 5.4. The download package also includes ImageMagick 6.8.0 binaries compiled with VC9 (Visual Studio 2008). I noticed that the official ImageMagick builds are now Visual Studio 2010 and that wouldn’t work well with PHP compiled with 2008.

    I am not sure if I am violating any license in distributing ImageMagick binaries but if I do, please let me know and I will remove them. The binaries are just stock ImageMagick 6.8.0, which you can download from http://imagemagick.org/.

    In order to get things running you should add the ImageMagick DLL directory into PATH, add the imagick extension to php.ini and things should be running. At least hopefully.

    The download link for the binaries is here : imagick-php54-php53.tgz.