Recherche avancée

Médias (91)

Autres articles (29)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (5445)

  • How to link libavcodec, libavformat in automake ?

    15 juillet 2014, par user2212461

    I am using the libavcodec and libavformat libraries from ffmpeg in a C++ project. Linking -lavcodec -lavformat with the g++ compiler works fine, but I’m not sure what goes wrong when I try to use the same code compiled in an automake project.

    Working fine :

    g++ -o test -D__STDC_CONSTANT_MACROS -lavcodec -lavformat test.cpp

    Not working Makefile.am :

    binaryname_LDFLAGS= -lavcodec -lavformat

    Error :

    ....
    /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libavformat.a(nut.o):function
    ff_nut_add_sp: error: undefined reference to 'av_tree_node_size'
    /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libavformat.a(nut.o):function
    ff_nut_add_sp: error: undefined reference to 'av_tree_insert'
    /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libavformat.a(nut.o):function
    ff_nut_free_sp: error: undefined reference to 'av_tree_enumerate'
    /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libavformat.a(nut.o):function
    ff_nut_free_sp: error: undefined reference to 'av_tree_destroy'
    /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libavformat.a(rtp.o):function
    ff_rtp_get_payload_type: error: undefined reference to 'av_opt_get_int'
    ...

    also not working :

    LDFLAGS=...-lavcodec -lavformat

    Error :

    src/dsp/audioDecoder.cpp:99: error: undefined reference to 'av_register_all'
    src/dsp/audioDecoder.cpp:101: error: undefined reference to 'avcodec_find_decoder'
    src/dsp/audioDecoder.cpp:109: error: undefined reference to 'avcodec_alloc_context'
    src/dsp/audioDecoder.cpp:120: error: undefined reference to 'avcodec_open2'
    src/dsp/audioDecoder.cpp:125: error: undefined reference to 'av_init_packet'
    src/dsp/audioDecoder.cpp:188: error: undefined reference to 'avcodec_decode_audio3'

    In the second case, if I don’t set any linker, the include header cannot be found so the linker seems somehow recognized.

    make V=1 returns :

    make  all-am
    make[1]: Go to '/path/to/trunk'
    /bin/bash ./libtool --tag=CXX   --mode=link g++  -O2 -lrt -D__STDC_CONSTANT_MACROS   -o binaryname progsrc/binaryname/binaryname-binaryname.o    -lm  -lpthread -ldl -lmygeneratedlibrary
    libtool: link: g++ -O2 -D__STDC_CONSTANT_MACROS -o binaryname progsrc/binaryname/binaryname-binaryname.o  -lm /path/to//trunk/.libs/lmygeneratedlibrary.a -lrt -lavutil -lavcodec -lavformat -lpthread -ldl
    make[1]: Leave '/path/to/trunk'

    What am I doing wrong here ?

  • How to link -lavcodec -lavformat in automake ?

    10 juillet 2014, par user2212461

    I am using the libavcodec and libavformat libraries from ffmpeg in a C++ project. Linking -lavcodec -lavformat with the g++ compiler works fine, but I’m not sure what goes wrong when I try to use the same code compiled in an automake project.

    Working fine :

    g++ -o test -D__STDC_CONSTANT_MACROS -lavcodec -lavformat test.cpp

    Not working Makefile.am :

    export CPPFLAGS="...-lavcodec -lavformat"

    Error :

    ....
    /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libavformat.a(nut.o):function
    ff_nut_add_sp: error: undefined reference to 'av_tree_node_size'
    /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libavformat.a(nut.o):function
    ff_nut_add_sp: error: undefined reference to 'av_tree_insert'
    /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libavformat.a(nut.o):function
    ff_nut_free_sp: error: undefined reference to 'av_tree_enumerate'
    /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libavformat.a(nut.o):function
    ff_nut_free_sp: error: undefined reference to 'av_tree_destroy'
    /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libavformat.a(rtp.o):function
    ff_rtp_get_payload_type: error: undefined reference to 'av_opt_get_int'
    ...

    also not working :

    export LDFLAGS="...-lavcodec -lavformat"

    Error :

    src/dsp/audioDecoder.cpp:99: error: undefined reference to 'av_register_all'
    src/dsp/audioDecoder.cpp:101: error: undefined reference to 'avcodec_find_decoder'
    src/dsp/audioDecoder.cpp:109: error: undefined reference to 'avcodec_alloc_context'
    src/dsp/audioDecoder.cpp:120: error: undefined reference to 'avcodec_open2'
    src/dsp/audioDecoder.cpp:125: error: undefined reference to 'av_init_packet'
    src/dsp/audioDecoder.cpp:188: error: undefined reference to 'avcodec_decode_audio3'

    I am using the following Makefile.am :

    ...
    ./autogen.sh ;
    ./autogen.sh ;
    ...
    export CXXFLAGS="..."
    export CFLAGS="..."
    export CPPFLAGS="..."
    echo ./configure
    ./configure
    chmod +x update_build_version.sh
    ./update_build_version.sh
    make clean &&
    make -j8 ; make install
    ...

    What am I doing wrong here ?

  • Revision 7c43fb67ae : Fix decoder handling of intra-only frames This patch fixes bug 633 : https://cod

    10 juin 2014, par Adrian Grange

    Changed Paths :
     Modify /test/test-data.sha1


     Modify /test/test.mk


     Modify /test/test_vectors.cc


     Modify /vp9/common/vp9_onyxc_int.h


     Modify /vp9/decoder/vp9_decodeframe.c


     Modify /vp9/decoder/vp9_decodeframe.h


     Modify /vp9/decoder/vp9_decoder.c


     Modify /vp9/decoder/vp9_decoder.h


     Modify /vp9/vp9_dx_iface.c



    Fix decoder handling of intra-only frames

    This patch fixes bug 633 :
    https://code.google.com/p/webm/issues/detail?id=633

    The first decoded frame does not have to be a keyframe,
    it could be an inter-frame that is coded intra-only.

    This patch fixes the handling of intra-only frames.

    A test vector has also been added that encodes 3
    intra-only frames at the start of the clip. The
    test vector was generated using the code in the
    following patch :
    https://gerrit.chromium.org/gerrit/#/c/70680/

    Change-Id : Ib40b1dbf91aae2bc047e23c626eaef09d1860147