Recherche avancée

Médias (91)

Autres articles (14)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (4274)

  • python ff-mpeg not working on VM

    2 août 2013, par Bob

    I have two Windows 2008 R2 64 bit servers with two different host providers (GoDaddy and company B). My python script runs successfully on GoDaddy's server. It doesn't run successfully on the server with company B.

    I installed the same software on both servers :

    • Python 2.7 for Windows 32 bit
    • NumPY module
    • SetupTools
    • EchoNest API for Windows

    The company B server is giving me an error related to an executable called en-ffmpeg.exe that uses the python ff-mpeg module. The exact error message is

    [dv @ 0x1449690]Can't determine profile of DV input stream.
    C :\Music\song1.mp3 : Error while opening file

    The song.mp3 file exists. I installed the latest Windows updates on the server with Company B but still I get the error. I believe the error is because something is not configured properly on this server (missing libraries or drivers ?). However, I don't know what that is !

    Please help :)

    UPDATED TO INCLUDE COMMAND AND ERROR OUTPUT FROM FFMPEG

    COMMAND :

    c :\Python27>en-ffmpeg -i "C :\Music\song1.mp3" -y -ac 2 -ar 44100
    "c :\users\x07 dmini 1\x07ppdata\local\temp\x02\tmpax82jf.wav"

    FULL ERROR :

    FFmpeg version SVN-r17988-Komeil, Copyright (c) 2000-2009 Fabrice Bellard, et al
    .
     configuration: --enable-memalign-hack --extra-cflags=-fno-common --enable-stat
    ic --disable-shared --disable-debug --enable-gpl --enable-nonfree --enable-avfil
    ter --enable-avfilter-lavf --enable-avisynth --enable-postproc --enable-pthreads
    --enable-libamr-nb --enable-libamr-wb --enable-libgsm --enable-libfaac --enable
    -libfaad --enable-libmp3lame --enable-libschroedinger --enable-libspeex --enable
    -libtheora --enable-libvorbis --enable-libx264 --enable-libxvid
     libavutil     50. 0. 0 / 50. 0. 0
     libavcodec    52.21. 0 / 52.21. 0
     libavformat   52.31. 1 / 52.31. 1
     libavdevice   52. 1. 0 / 52. 1. 0
     libavfilter    0. 4. 0 /  0. 4. 0
     libswscale     0. 7. 1 /  0. 7. 1
     libpostproc   51. 2. 0 / 51. 2. 0
     built on Mar 15 2009 18:16:31, gcc: 4.3.0 20080305 (alpha-testing) mingw-20080
    502
    [dv @ 0x1449690]Can't determine profile of DV input stream.
    C:\\Music\\song1.mp3: Error while opening file

    I also tried removing the double back slashes from the command but got the same error.

  • Evolution #3012 (Nouveau) : Crawl-delay dans robots.txt

    3 juin 2013, par b b

    Dernièrement j’avais un site qui faisait monter énormément la charge serveur lors du passage du robot crawler de bing. Il y a pas mal d’articles sur le web qui causent du comportement "chelou" de ce bot et des problèmes de charge qu’il engendre. Perso, j’ai appliqué la règle suivante dans le robots.txt du site et depuis ce jour mon serveur ne se fait plus harceler par ce le bot de Bing (qui avant lançait jusqu’à 7requêtes/seconde) :

    1. calmer ce chacal de bingbot
    2. http://www.bing.com/blogs/site_blogs/b/webmaster/archive/2009/08/10/crawl-delay-and-the-bing-crawler-msnbot.aspx
      User-agent : bingbot
      Crawl-delay : 1

    http://www.lestaxinomes.org/robots.txt

    Cela serait peut être intéressant d’ajouter cette règle au robots.txt de SPIP ?

  • FFMPEG running in Command Line but not PHP

    17 avril 2013, par Freeman

    I am using ffmpeg build for windows to make video thumbnails . The command works well in command line but not from PHP exec method. am using PHP 5.2.11

    Here is the command.

    "E:/Documents and Settings/x/WINDOWS/ffmpeg" -itsoffset -4 -v "E:/Program Files/Apache Software Foundation/Apache2.2/htdocs/bs/files/videogal/c08c3d20eeb9083ed033577bd154cba6.flv" -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 "E:/Program Files/Apache Software Foundation/Apache2.2/htdocs/bs/files/gallery/8ff43b72b932d2a34e7a6733672ad4d6.jpg" 2>&1

    Can somebody help. I checked the permissions they seem fine. GD is installed.

    The error msg is 'E:/Documents' is not recognized as an internal or external command, operable program or batch file

    Am using forward slashes in my paths except when escaping double quotes

    The PHP function

    function ExtractThumb($in, $out)
    {$path=dbconf::FFMPEG_PATH;
       $thumb_stdout;
       $errors;
       $retval = 0;
    echo $in;
       // Delete the file if it already exists
       if (file_exists($out)) { unlink($out); }

       // Use ffmpeg to generate a thumbnail from the movie
       $cmd = "$path -itsoffset -4 -i $in -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 $out 2>&1";
      echo $cmd;

      exec($cmd, $thumb_stdout, $retval);

       // Queue up the error for processing
       if ($retval != 0) { $errors[] = "FFMPEG thumbnail generation failed"; }

       if (!empty($thumb_stdout))
       {
           foreach ($thumb_stdout as $line)
           {
               echo $line . "\n";
           }
       }

       if (!empty($errors))
       {
           foreach ($errors as $error)
           {
               echo $error . "\n";
           }
       }
    }

    funny enough if I run without the $in and $out absolute path this is what I get

    Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --extra-cflags=-fno-common --enable-memalign-hack --enable-pthreads --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libfaac --enable-libgsm --enable-libx264 --enable-libschroedinger --enable-avisynth --enable-swscale --enable-gpl libavutil 49.12. 0 / 49.12. 0 libavcodec 52.10. 0 / 52.10. 0 libavformat 52.23. 1 / 52.23. 1 libavdevice 52. 1. 0 / 52. 1. 0 libswscale 0. 6. 1 / 0. 6. 1 built on Jan 13 2009 02:57:09, gcc: 4.2.4 822ae86a93810dade2843e822390d723.flv: no such file or directory