Recherche avancée

Médias (91)

Autres articles (56)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (6018)

  • Installing Opencv on mac with brew link error

    18 mars 2016, par Pieter Bosma

    I am having trouble installing openCV on mac os. ffmpeg was not installed, so I did :

    frew install ffmpeg

    Error : You must ’brew link x264 lame libvo-aacenc xvid’ before ffmpeg can be installed.

    So I did :

    brew link x264 lame libvo-aacenc xvid

    It keeps saying,
    /usr/local/lib/ is not writable.

    I already tried :

    sudo chown -R $USER /usr/local/lib

    still the same error. I am not familiar with Mac os, so any help is welcome !

    When I run :

    brew doctor

    I get the following :

    Please note that these warnings are just used to help the Homebrew maintainers
    with debugging if you file an issue. If everything you use Homebrew for is
    working fine : please don’t worry and just ignore them. Thanks !

    Warning: /usr/local/lib isn't writable.

    This can happen if you "sudo make install" software that isn't managed by
    by Homebrew. If a formula tries to write a file to this directory, the
    install will fail during the link step.

    You should probably `chown` /usr/local/lib

    Warning: /usr/local/lib/pkgconfig isn't writable.

    This can happen if you "sudo make install" software that isn't managed by
    by Homebrew. If a formula tries to write a file to this directory, the
    install will fail during the link step.

    You should probably `chown` /usr/local/lib/pkgconfig

    Warning: Broken symlinks were found. Remove them with `brew prune`:
     /usr/local/lib/libopencv_calib3d.2.4.dylib
     /usr/local/lib/libopencv_calib3d.dylib
     /usr/local/lib/libopencv_contrib.2.4.dylib
     /usr/local/lib/libopencv_contrib.dylib
     /usr/local/lib/libopencv_core.2.4.dylib
     /usr/local/lib/libopencv_core.dylib
     /usr/local/lib/libopencv_features2d.2.4.dylib
     /usr/local/lib/libopencv_features2d.dylib
     /usr/local/lib/libopencv_flann.2.4.dylib
     /usr/local/lib/libopencv_flann.dylib
     /usr/local/lib/libopencv_gpu.2.4.dylib
     /usr/local/lib/libopencv_gpu.dylib
     /usr/local/lib/libopencv_highgui.2.4.dylib
     /usr/local/lib/libopencv_highgui.dylib
     /usr/local/lib/libopencv_imgproc.2.4.dylib
     /usr/local/lib/libopencv_imgproc.dylib
     /usr/local/lib/libopencv_legacy.2.4.dylib
     /usr/local/lib/libopencv_legacy.dylib
     /usr/local/lib/libopencv_ml.2.4.dylib
     /usr/local/lib/libopencv_ml.dylib
     /usr/local/lib/libopencv_nonfree.2.4.dylib
     /usr/local/lib/libopencv_nonfree.dylib
     /usr/local/lib/libopencv_objdetect.2.4.dylib
     /usr/local/lib/libopencv_objdetect.dylib
     /usr/local/lib/libopencv_ocl.2.4.dylib
     /usr/local/lib/libopencv_ocl.dylib
     /usr/local/lib/libopencv_photo.2.4.dylib
     /usr/local/lib/libopencv_photo.dylib
     /usr/local/lib/libopencv_stitching.2.4.dylib
     /usr/local/lib/libopencv_stitching.dylib
     /usr/local/lib/libopencv_superres.2.4.dylib
     /usr/local/lib/libopencv_superres.dylib
     /usr/local/lib/libopencv_video.2.4.dylib
     /usr/local/lib/libopencv_video.dylib
     /usr/local/lib/libopencv_videostab.2.4.dylib
     /usr/local/lib/libopencv_videostab.dylib

    Warning: "config" scripts exist outside your system or Homebrew directories.
    `./configure` scripts often look for *-config scripts to determine if
    software packages are installed, and what additional flags to use when
    compiling and linking.

    Having additional scripts in your path can confuse software installed via
    Homebrew if the config script overrides a system or Homebrew provided
    script of the same name. We found the following "config" scripts:

     /opt/local/bin/curl-config
     /opt/local/bin/freetype-config
     /opt/local/bin/libpng-config
     /opt/local/bin/libpng16-config
     /opt/local/bin/ncurses5-config
     /opt/local/bin/ncursesw5-config
     /opt/local/bin/pkg-config
     /opt/local/bin/python2.7-config
     /opt/local/bin/sdl-config
     /opt/local/bin/xml2-config
     /opt/local/bin/xslt-config
     /Library/Frameworks/Python.framework/Versions/2.7/bin/python-config
     /Library/Frameworks/Python.framework/Versions/2.7/bin/python2-config
     /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config

    Warning: Your XQuartz (2.7.5) is outdated
    Please install XQuartz 2.7.7:
     https://xquartz.macosforge.org

    Warning: Python is installed at /Library/Frameworks/Python.framework

    Homebrew only supports building against the System-provided Python or a
    brewed Python. In particular, Pythons installed to /Library can interfere
    with other software installs.

    Warning: You have MacPorts or Fink installed:
     /opt/local/bin/port

    This can cause trouble. You don't have to uninstall them, but you may want to
    temporarily move them out of the way, e.g.

     sudo mv /opt/local ~/macports

    Warning: Unbrewed dylibs were found in /usr/local/lib.
    If you didn't put them there on purpose they could cause problems when
    building Homebrew formulae, and may need to be deleted.

    Unexpected dylibs:
       /usr/local/lib/libdc1394.22.dylib
       /usr/local/lib/libtcl8.6.dylib
       /usr/local/lib/libtk8.6.dylib

    Warning: Unbrewed header files were found in /usr/local/include.
    If you didn't put them there on purpose they could cause problems when
    building Homebrew formulae, and may need to be deleted.

    Unexpected header files:
       /usr/local/include/fakemysql.h
       /usr/local/include/fakepq.h
       /usr/local/include/fakesql.h
       /usr/local/include/itcl.h
       /usr/local/include/itcl2TclOO.h
       /usr/local/include/itclDecls.h
       /usr/local/include/itclInt.h
       /usr/local/include/itclIntDecls.h
       /usr/local/include/itclMigrate2TclCore.h
       /usr/local/include/itclTclIntStubsFcn.h
       /usr/local/include/mysqlStubs.h
       /usr/local/include/odbcStubs.h
       /usr/local/include/pqStubs.h
       /usr/local/include/tcl.h
       /usr/local/include/tclDecls.h
       /usr/local/include/tclOO.h
       /usr/local/include/tclOODecls.h
       /usr/local/include/tclPlatDecls.h
       /usr/local/include/tclThread.h
       /usr/local/include/tclTomMath.h
       /usr/local/include/tclTomMathDecls.h
       /usr/local/include/tdbc.h
       /usr/local/include/tdbcDecls.h
       /usr/local/include/tdbcInt.h
       /usr/local/include/tk.h
       /usr/local/include/tkDecls.h
       /usr/local/include/tkPlatDecls.h

    Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
    If you didn't put them there on purpose they could cause problems when
    building Homebrew formulae, and may need to be deleted.

    Unexpected .pc files:
       /usr/local/lib/pkgconfig/tcl.pc
       /usr/local/lib/pkgconfig/tk.pc

    Warning: Unbrewed static libraries were found in /usr/local/lib.
    If you didn't put them there on purpose they could cause problems when
    building Homebrew formulae, and may need to be deleted.

    Unexpected static libraries:
       /usr/local/lib/libtclstub8.6.a
       /usr/local/lib/libtkstub8.6.a

    Warning: You have unlinked kegs in your Cellar
    Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
    those kegs to fail to run properly once built. Run `brew link` on these:

       apple-gcc42
       eigen
       gcc
       gdbm
       gmp
       isl
       jpeg
       lame
       libmpc
       libvo-aacenc
       mpfr
       python
       x264
       xvid

    Warning: Some installed formula are missing dependencies.
    You should `brew install` the missing dependencies:

       brew install libxml2

    Run `brew missing` for more details.

    Warning: You have a non-Homebrew 'pkg-config' in your PATH:
     /opt/local/bin/pkg-config

    `./configure` may have problems finding brew-installed packages using
    this other pkg-config.
  • Running FFMpeg on the server (to save the user from waiting)

    26 juin 2013, par Tom

    I have made a simple page that lets a user upload videoes for then to display all the videoes uploaded using the HTML5 <video></video> tags. But to provide the user with full browser support I need to transcode all the videoes that are being uploaded into a few new formats. The problem is then that now I am transcoding all vidoes into two different formats, which in turn takes a long time and it makes the user have to wait for the video being transcoded. Is there a simple way that anyone know of that lets me run this script in "the background" so that the user experience is in no way being compromised with long wait times ?

    I am running the FFMpeg scripts using PHP with the exec command.

  • Imagemagick transitions between multiple images — need idea

    5 juillet 2015, par user3650185

    I am using Fred’s Imagemagick scripts, particularly, fxtransitions to create a transition effect between two images. I am creating jpeg image frames. Later, I will use ffmpeg to turn them into video. It is my third day with Imagemagick and currently I can successfully apply the transition effect between two images with the following script. However, I also need to meet two following criteria :

    $result = shell_exec("bash /cygdrive/path/to/fxtransitions -e  explode -f 50 -d 1 -p 1 -r first.jpg second.jpg output.jpg");
    echo $result;
    1. Each image must stay for some 9 seconds without distortion and then quickly transforms into the next image.

    2. Currently, Fred’s script allows two image inputs. Is it possible to use more than two images within the script ? How can I loop through multiple images with php ?