Recherche avancée

Médias (91)

Autres articles (99)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

Sur d’autres sites (8974)

  • lavc : Add Content Light Level side metadata found in HEVC

    3 avril 2017, par Steve Lhomme
    lavc : Add Content Light Level side metadata found in HEVC
    

    These data are necessary when transmitting HDR over HDMI.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] doc/APIchanges
    • [DH] libavcodec/avcodec.h
    • [DH] libavcodec/avpacket.c
    • [DH] libavcodec/hevc_sei.c
    • [DH] libavcodec/hevcdec.c
    • [DH] libavcodec/hevcdec.h
    • [DH] libavcodec/utils.c
    • [DH] libavcodec/version.h
  • Can't compile project with ffmpeg-light

    27 octobre 2016, par wowofbob

    Compilation of any project which uses openFile function from Codec.FFmpeg.Decode fails with error :

    Couldn't match type ‘GHC.IO.Exception.IOException’ with ‘[Char]’
               arising from a functional dependency between:
                 constraint ‘mtl-2.2.1:Control.Monad.Error.Class.MonadError
                               String IO’
                   arising from a use of ‘openFile’
                 instance ‘mtl-2.2.1:Control.Monad.Error.Class.MonadError
                             GHC.IO.Exception.IOException IO’
                   at <no location="location" info="info"></no>

    As an example, compilation of this fails :

    openVideoFile :: String -> IO ()
    openVideoFile filePath = do

     initFFmpeg

     avFmtCtx &lt;- openFile filePath

     return ()

    I guess the reason is that there is no ready instance of MonadError String IO. But, when I add a dummy instance like this :

    instance MonadError String IO where
     throwError _   = undefined
     catchError _ _ = undefined

    I’m getting another error :

    Functional dependencies conflict between instance declarations:
     instance MonadError String IO
       -- Defined at src/Video/Play/Base.hs:20:10
     instance [safe] MonadError GHC.IO.Exception.IOException IO
       -- Defined in ‘Control.Monad.Error.Class’

    I don’t know how to force compiler to use MonadError String IO instace here.

  • 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