Recherche avancée

Médias (91)

Autres articles (55)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

Sur d’autres sites (8234)

  • FFMPEG : undefined reference to `avcodec_register_all' does not link

    18 février 2024, par Alex Botev

    So I have a very sample code for trying to decode a FFMPEG video stream.
My problem is avcodec does not want to link, to do so I made a clean installation of Ubuntu 13.04. I have build ffmpeg from source following the guide here : https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

    


    I just want to compile my file. Note that my ubuntu does not have any implementations or header files for avcodec. The command line I use is :

    


    


    gcc -I/home/USER/ffmpeg_build/include -L/home/USER/ffmpeg_build/lib -lavcodec -o test.exe Downloads/auv/src/dronerosvideo/src/ar2.cpp

    


    /tmp/ccKTprFq.o : In function `fetch_and_decode(int, int, bool)' :

    


    ar2.cpp :(.text+0x36e) :
undefined reference to `avcodec_register_all'

    


    ar2.cpp :(.text+0x378) :
undefined reference to `av_log_set_level'

    


    ar2.cpp :(.text+0x382) :
undefined reference to `avcodec_find_decoder'

    


    ar2.cpp :(.text+0x3b1) :
undefined reference to `avcodec_alloc_context3'

    


    ar2.cpp :(.text+0x3d6) :
undefined reference to `avcodec_open2'

    


    ar2.cpp :(.text+0x46d) :
undefined reference to `av_init_packet'

    


    ar2.cpp :(.text+0x50a) :
undefined reference to `avcodec_decode_video2'

    


    ar2.cpp :(.text+0x534) :
undefined reference to `av_free_packet'

    


    /tmp/ccKTprFq.o :(.eh_frame+0x13) : undefined reference to
`__gxx_personality_v0'

    


    collect2 : error : ld returned 1 exit status

    


    


    Just for a sane test if I remove the -L argument compiler says :

    


    /usr/bin/ld: cannot find -lavcodec


    


    Which means that the linker finds the library in /home/USER/ffmpeg_build/lib. Also if we check the library for implementation it exists :

    


    nm ffmpeg_build/lib/libavcodec.a | grep "register_all"
0000000000000000 T avcodec_register_all


    


    Also as advised since it is C++ I have exten "C" around the include of the library.

    


    At this point I'm falling out of any ideas at all, why exactly compilation fails ?

    


  • FFMPEG : undefined reference to `avcodec_register_all' does not link

    30 juin 2014, par Belov

    So I have a very sample code for trying to decode a FFMPEG video stream.
    My problem is avcodec does not want to link, to do so I made a clean installation of Ubuntu 13.04. I have build ffmpeg from source following the guide here : https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

    I just want to compile my file. Note that my ubuntu does not have any implementations or header files for avcodec. The command line I use is :

    gcc -I/home/USER/ffmpeg_build/include -L/home/USER/ffmpeg_build/lib -lavcodec -o test.exe Downloads/auv/src/dronerosvideo/src/ar2.cpp

    /tmp/ccKTprFq.o : In function `fetch_and_decode(int, int, bool)’ :

    ar2.cpp :(.text+0x36e) :
    undefined reference to `avcodec_register_all’

    ar2.cpp :(.text+0x378) :
    undefined reference to `av_log_set_level’

    ar2.cpp :(.text+0x382) :
    undefined reference to `avcodec_find_decoder’

    ar2.cpp :(.text+0x3b1) :
    undefined reference to `avcodec_alloc_context3’

    ar2.cpp :(.text+0x3d6) :
    undefined reference to `avcodec_open2’

    ar2.cpp :(.text+0x46d) :
    undefined reference to `av_init_packet’

    ar2.cpp :(.text+0x50a) :
    undefined reference to `avcodec_decode_video2’

    ar2.cpp :(.text+0x534) :
    undefined reference to `av_free_packet’

    /tmp/ccKTprFq.o :(.eh_frame+0x13) : undefined reference to
    `__gxx_personality_v0’

    collect2 : error : ld returned 1 exit status

    Just for a sane test if I remove the -L argument compiler says :

    /usr/bin/ld: cannot find -lavcodec

    Which means that the linker finds the library in /home/USER/ffmpeg_build/lib. Also if we check the library for implementation it exists :

    nm ffmpeg_build/lib/libavcodec.a | grep "register_all"
    0000000000000000 T avcodec_register_all

    Also as advised since it is C++ I have exten "C" around the include of the library.

    At this point I’m falling out of any ideas at all, why exactly compilation fails ?

  • The Method of Making Video Special Effect

    19 janvier 2019, par szhan

    I’ve been trying to use javacv libraries to make video effects.
    like this screenshot

    I’m trying to use ffmpeg’s watermarking method to cover the head. But I don’t know how to control the transparency and shape of the watermarking.

    watermark = "movie=./girl.png[watermark];[in][watermark]overlay=W-w-300:10:format=rgb[out]";
    FFmpegFrameFilter frameFilter = new FFmpegFrameFilter(watermark, width, height);