Recherche avancée

Médias (91)

Autres articles (76)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (5871)

  • where is this wrong in ffmpeg installation and php configuration

    23 juillet 2015, par sonam Sharma

    hello all i have successfully installed ffmpeg to my computer i can check it by checking ffmpeg-version it returns something logical.

    which means the ffmpeg is running successfully on my pac but when i run this code by php i get error in ffmpeg loading

    <?php
    extension_loaded('ffmpeg') or die('Error in loading ffmpeg');
    // Determine the full path for our video
     $vid = realpath('./test/Sample.mp4');

    // Create the ffmpeg instance and then display the information about the video clip.
    $ffmpegInstance = new ffmpeg_movie($vid);
    echo "getDuration: " . $ffmpegInstance->getDuration() . "<br />".
     "getFrameCount: " . $ffmpegInstance->getFrameCount() . "<br />".
      "getFrameRate: " . $ffmpegInstance->getFrameRate() . "<br />".
      "getFilename: " . $ffmpegInstance->getFilename() . "<br />".
       "getComment: " . $ffmpegInstance->getComment() . "<br />".
      "getTitle: " . $ffmpegInstance->getTitle() . "<br />".
      "getAuthor: " . $ffmpegInstance->getAuthor() . "<br />".
           "getCopyright: " . $ffmpegInstance->getCopyright() . "<br />".
        "getArtist: " . $ffmpegInstance->getArtist() . "<br />".
        "getGenre: " . $ffmpegInstance->getGenre() . "<br />".
        "getTrackNumber: " . $ffmpegInstance->getTrackNumber() . "<br />".
       "getYear: " . $ffmpegInstance->getYear() . "<br />".
     "getFrameHeight: " . $ffmpegInstance->getFrameHeight() . "<br />".
        "getAudioChannels: " . $ffmpegInstance->getAudioChannels() . "<br />".
      "hasAudio: " . $ffmpegInstance->hasAudio();
         ?>

    please tell me where i am doing wrong

  • aacenc : implement Intensity Stereo encoding support

    2 juillet 2015, par Rostislav Pehlivanov
    aacenc : implement Intensity Stereo encoding support
    

    This commit implements intensity stereo coding support
    to the native aac encoder. This is a way to increase the efficiency
    of the encoder by zeroing the right channel’s spectral coefficients
    (in a channel pair) and rederiving them in the decoder using information
    from the scalefactor indices of special band types. This commit
    confomrs to the official ISO 13818-7 specifications, although due to
    their ambiguity certain deviations have been taken to ensure maximum
    sound quality. This commit has been extensively tested and has shown
    to not result in audiable audio artifacts unless in extreme cases.
    This commit also adds an option, aac_is, which has the value of
    0 by default. Intensity Stereo is part of the scalable aac profile
    and is thus non-default.

    The way IS coding works is that it rederives the right channel’s
    spectral coefficients from the left channel via the scalefactor
    index values left in the right channel. Since an entire band’s
    spectral coefficients do not need to be coded, the encoder’s
    efficiency jumps up and it unzeroes some high frequency values
    which it previously did not have enough bits to encode. That way
    less information is lost than the information lost by rederiving
    the spectral coefficients with some error. This is why the
    filesize of files encoded with IS do not decrease significantly.
    Users wishing that IS coding should reduce filesize are expected
    to reduce their encoding bitrates appropriately.

    This is V2 of the commit. The old version did not mark ms_mask as
    0 since M/S and IS coding are incompactible, which resulted in
    distortions with M/S coding enabled. This version also improves
    phase detection by measuring it for every spectral coefficient in
    the band and using a simple majority rule to determine whether the
    coefficients are in or out of phase. Also, the energy values per
    spectral coefficient were changed as to reflect the
    official specifications.

    Reviewed-by : Claudio Freire <klaussfreire@gmail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/aaccoder.c
    • [DH] libavcodec/aacenc.c
    • [DH] libavcodec/aacenc.h
  • 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.