Recherche avancée

Médias (91)

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (12472)

  • Segmentation Fault error when trying to compare two videos with pHash library and its ruby bindings

    10 juillet 2014, par anado1771

    I have set up my system with the latest ffmpeg and pHash libraries (ffmpeg-2.2.1 and pHash-0.9.6) as well as the pHash ruby gem (https://github.com/toy/pHash).

    I am using ruby and attempting to compare two video files like this :

    require 'phash/video'

    video1 = Phash::Video.new('video1.mp4')
    video2 = Phash::Video.new('video2.mp4')

    video1 % video2

    Executing this script results in a Segmentation fault :

    ..../gems/pHash-1.1.4/lib/phash/video.rb:20: [BUG] Segmentation fault
    ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-darwin13.1.0]

    -- Control frame information -----------------------------------------------
    c:0008 p:---- s:0029 b:0029 l:000028 d:000028 CFUNC  :ph_dct_videohash
    c:0007 p:0042 s:0024 b:0024 l:000023 d:000023 METHOD .../gems/pHash-1.1.4/lib/phash/video.rb:20
    c:0006 p:0038 s:0017 b:0017 l:000016 d:000016 METHOD .../gems/pHash-1.1.4/lib/phash.rb:43
    c:0005 p:0025 s:0014 b:0014 l:000013 d:000013 METHOD .../gems/pHash-1.1.4/lib/phash.rb:39
    c:0004 p:0011 s:0011 b:0011 l:000010 d:000010 METHOD .../gems/pHash-1.1.4/lib/phash.rb:48
    c:0003 p:0050 s:0006 b:0006 l:000128 d:0011b8 EVAL   video_test_phash.rb:3
    c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
    c:0001 p:0000 s:0002 b:0002 l:000128 d:000128 TOP  

    -- Ruby level backtrace information ----------------------------------------
    video_test_phash.rb:3:in `<main>'
    .../gems/pHash-1.1.4/lib/phash.rb:48:in `similarity'
    .../gems/pHash-1.1.4/lib/phash.rb:39:in `phash'
    .../gems/pHash-1.1.4/lib/phash.rb:43:in `compute_phash'
    .../gems/pHash-1.1.4/lib/phash/video.rb:20:in `video_hash'
    .../gems/pHash-1.1.4/lib/phash/video.rb:20:in `ph_dct_videohash'

    ...

    Abort trap: 6
    </main>

    It appears that the crash happens in the ph_dct_videohash function which is part of the pHash library. The function is in file pHash.cpp. I am copying it here in case it would make sense to someone :

    ulong64* ph_dct_videohash(const char *filename, int &amp;Length){

       CImgList *keyframes = ph_getKeyFramesFromVideo(filename);
       if (keyframes == NULL)
       return NULL;

       Length = keyframes->size();

       ulong64 *hash = (ulong64*)malloc(sizeof(ulong64)*Length);
       CImg<float> *C = ph_dct_matrix(32);
       CImg<float> Ctransp = C->get_transpose();
       CImg<float> dctImage;
       CImg<float> subsec;
       CImg currentframe;

       for (unsigned int i=0;i &lt; keyframes->size(); i++){
       currentframe = keyframes->at(i);
       currentframe.blur(1.0);
       dctImage = (*C)*(currentframe)*Ctransp;
       subsec = dctImage.crop(1,1,8,8).unroll('x');
       float med = subsec.median();
       hash[i] =     0x0000000000000000;
       ulong64 one = 0x0000000000000001;
       for (int j=0;j&lt;64;j++){
           if (subsec(j) > med)
           hash[i] |= one;
           one = one &lt;&lt; 1;
       }
       }

       keyframes->clear();
       delete keyframes;
       keyframes = NULL;
       delete C;
       C = NULL;
       return hash;
    }
    </float></float></float></float>

    Any help is very much appreciated !

  • How to Watermark videos on word press site ? [on hold]

    8 août 2017, par Sonia khan

    How can i add water mark to uploaded videos on hosting server , i have used ffmpeg on windows pc to watermark videos with code lines but i dont know how to do that on server/ wordpress site via any plugin or php script or via ffmpeg code line ?

  • Revision 7c579445a42b98748640983f5677d6d901d20558 : oups, retinroduction erronee d’un $f au lieu de $trouver_table ...

    17 septembre 2010, par Cerdic — Log

    oups, retinroduction erronee d’un $f au lieu de $trouver_table git-svn-id : svn ://trac.rezo.net/spip/spip@16188 caf5f3e8-d4fe-0310-bb3e-c32d5e47d55d