Recherche avancée

Médias (0)

Mot : - Tags -/médias

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (66)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (8310)

  • Révision 19225 : Ferme #2634 : #ENV{left} et non left dans la css

    10 avril 2012, par cedric -
  • Révision 20301 : Report de r20300 : LEFT est un mot clé reservé (LEFT JOIN) du coup la définition...

    13 mars 2013, par cedric -
  • Install ffmpeg-light with cabal

    20 septembre 2016, par WirflBirfl

    I want to install the ffmpeg-light library from hackage via cabal on Windows 10 (64 bit). So I downloaded ffmpeg and extracted it to C :\FFmpeg.

    At first pkg-config was complaining that it could not find various packages. I solved this problem with .pc files.

    When I tried to use the command : cabal install ffmpeg-light cabal complained about missing C-libraries, being exactly those for which I created the .pc files.

    Then I tried the command : cabal install ffmpeg-light --extra-lib-dirs=C:\FFmpeg\lib. Now I have a different error message, which says :

    Enums.hsc:7:32: fatal error: libavcodec/avcodec.h: No such file or directory

    Edit :
    Then I tried the following command :

    cabal install ffmpeg-light --extra-lib-dirs=C:\FFmpeg\lib \
                              --extra-include-dirs=C:\FFmpeg\include

    Now first the compiler gives some warnings about deprecated functions in ffmpeg and redundant imports in ffmpeg-light, but compiles 11 of 11. But the build is still not successfull.

    In-place registering ffmpeg-light-0.11.1...
    setup-Simple-Cabal-1.22.5.0-x86_64-windows-ghc-7.10.3.exe:
    'C:\Haskell\bin\ghc-pkg.exe' exited with an error:
    ffmpeg-light-0.11.1: Warning: haddock-interfaces:
    C:\Users\HOLEYC~1\AppData\Local\Temp\cabal-tmp-2824\ffmpeg-light-0.11.1\dist\doc\html\ffmpeg-light\ffmpeg-light.haddock
    doesn't exist or isn't a file
    ffmpeg-light-0.11.1: Warning: haddock-html:
    C:\Users\HOLEYC~1\AppData\Local\Temp\cabal-tmp-2824\ffmpeg-light-0.11.1\dist\doc\html\ffmpeg-light
    doesn't exist or isn't a directory
    ffmpeg-light-0.11.1: library-dirs: C:FFmpeglib is a relative path which makes
    no sense (as there is nothing for it to be relative to). You can make paths
    relative to the package database itself by using ${pkgroot}. (use --force to
    override)
    ffmpeg-light-0.11.1: include-dirs: C:FFmpeginclude is a relative path which
    makes no sense (as there is nothing for it to be relative to). You can make
    paths relative to the package database itself by using ${pkgroot}. (use
    --force to override)
    cabal: Error: some packages failed to install:
    ffmpeg-light-0.11.1 failed during the building phase. The exception was:
    ExitFailure 1

    Some additional information :

    cabal version: cabal-install version 1.22.6.0
    using version 1.22.5.0 of the Cabal library
    gcc version of my installed Haskell platform: 5.2.0

    Example .pc file I used for pkg-config :

    Name: libavcodec
    Description: Library for ffmpeg
    Version: 57
    Cflags: -IC:\FFmpeg\include
    Libs: -LC:\FFmpeg\lib -llibavcodec