Recherche avancée

Médias (91)

Autres articles (45)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (7548)

  • avformat/matroskaenc : Update the default version of WavPack

    14 décembre 2019, par Andreas Rheinhardt
    avformat/matroskaenc : Update the default version of WavPack
    

    The Matroska muxer currently assumed WavPack version 4.03 in case it was
    not explicitly signalled via extradata ; but following a recommendation
    from David Bryant, the WavPack creator, this is changed to 4.10.

    Reviewed-by : David Bryant <david@wavpack.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/matroskaenc.c
  • Including objects to a shared library from a C++ archive (.a)

    1er septembre 2021, par El Sampsa

    I am trying to include some object files into a shared library I am building. Take the following command (things in [ETC] have been omitted for brevity) :

    &#xA;&#xA;

    &#xA;

    /usr/bin/c++ -fPIC -std=c++14 -pthread -Iinclude/ext/liveMedia -Iinclude/ext/groupsock [ETC] -g -shared -Wl,-soname,libValkka.so -o lib/libValkka.so CMakeFiles/Valkka.dir/src/avthread.cpp.o CMakeFiles/Valkka.dir/src/opengl.cpp.o [ETC] CMakeFiles/Valkka.dir/src/decoders.cpp.o -lX11 -lGLEW -lGLU -lGL -Wl,—whole-archive lib/libavcodec.a -Wl,—no-whole-archive

    &#xA;

    &#xA;&#xA;

    So basically I am just creating a shared library where most of the objects come from my own source code (i.e. CMakeFiles/Valkka.dir/src/*.o), but some of them come from an external static library, located at "lib/libavcodec.a". I get the following error :

    &#xA;&#xA;

    &#xA;

    /usr/bin/ld : lib/libavcodec.a(h264_cabac.o) : relocation R_X86_64_PC32 against symbol 'ff_h264_cabac_tables' can not be used when making a shared object ; recompile with -fPIC&#xA; /usr/bin/ld : final link failed : Bad value&#xA; collect2 : error : ld returned 1 exit status

    &#xA;

    &#xA;&#xA;

    But that is so untrue ! I can extract "libavcodec.a" with

    &#xA;&#xA;

    ar x libavcodec.a&#xA;

    &#xA;&#xA;

    And after that check that

    &#xA;&#xA;

    readelf --relocs h264_cabac.o | egrep &#x27;(GOT|PLT|JU?MP_SLOT)&#x27; &#xA;

    &#xA;&#xA;

    does give some **it :

    &#xA;&#xA;

    &#xA;

    00000000175d 003100000004 R_X86_64_PLT32 0000000000000000 __stack_chk_fail - 4&#xA; 000000001926 003100000004 R_X86_64_PLT32 0000000000000000 __stack_chk_fail - 4

    &#xA; &#xA;

    ...

    &#xA;

    &#xA;&#xA;

    As does

    &#xA;&#xA;

    objdump -r h264_cabac.o | grep -i "relocation"&#xA;

    &#xA;&#xA;

    So, indeed, the object files in "libavcodec.a" have been compiled to get PIC (position independent code).

    &#xA;&#xA;

    Why does the linker believe otherwise !?

    &#xA;&#xA;

    Related links :

    &#xA;&#xA;

    How to include all objects of an archive in a shared object ?

    &#xA;&#xA;

    Linking archives (.a) into shared object (.so)

    &#xA;&#xA;

    Is there a way to determine that a .a or .so library has been compiled as position indepenent code ?

    &#xA;&#xA;

    How can I tell, with something like objdump, if an object file has been built with -fPIC ?

    &#xA;

  • Revision 15639 : La liste des bases disponibles en PG avait sauté lors de la révision ...

    26 avril 2010, par esj@… — Log

    La liste des bases disponibles en PG avait sauté lors de la révision générale des erreurs SQL de [14543].