Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (63)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (14461)

  • CMake specifies link libraries in wrong order [duplicate]

    18 janvier 2021, par Jamie Royer

    I'm following a youtube video on building a project with CMake and FFmpeg. The author is using a Mac and I'm using Ubuntu 20.04. I've been following along successfully until hitting this problem. cmake —version returns 3.16.3

    


    For some reason it is specifying the libraries too early so nothing is imported :

    


    ~/video-app/build# cmake ..
~/video-app/build# make VERBOSE=1
...
/usr/bin/c++ \
   -lavcodec -lavformat \                            # << Too early
   CMakeFiles/video-app.dir/src/main.cpp.o \
   CMakeFiles/video-app.dir/src/load_frame.cpp.o \
   -o video-app \                                    # << Should be here
   lib/glfw/src/libglfw3.a \
   -lGL -lGLU -lpthread /usr/lib/x86_64-linux-gnu/librt.so -lm -ldl


    


    If I manually run the command with the -l (dash ell) reordered, it compiles successfully.

    


    Here is the contents of the two CMakeLists.txt files.

    


    # video-app/CMakeLists.txt
cmake_minimum_required(VERSION 3.14)
project(video-app C CXX)
set(CMAKE_CXX_STANDARD 14)
add_subdirectory(lib/glfw)
add_subdirectory(lib/FFmpeg)
list(APPEND EXTRA_LIBS "-lGL -lGLU")
list(APPEND SOURCES src/main.cpp src/load_frame.cpp)
add_executable(video-app ${SOURCES})
target_link_libraries(video-app FFmpeg glfw ${EXTRA_LIBS})


    


    # video-app/lib/CMakeLists.txt
cmake_minimum_required(VERSION 3.14)
project(FFmpeg)
find_package(PkgConfig REQUIRED)
# There are seven libraries in original - only two shown here for brevity.
pkg_check_modules(AVCODEC   REQUIRED IMPORTED_TARGET libavcodec)
pkg_check_modules(AVFORMAT  REQUIRED IMPORTED_TARGET libavformat)
add_library(FFmpeg INTERFACE IMPORTED GLOBAL)
target_include_directories(FFmpeg INTERFACE
    ${AVCODEC_INCLUDE_DIRS}
    ${AVFORMAT_INCLUDE_DIRS})
target_link_options(FFmpeg INTERFACE
    ${AVCODEC_LDFLAGS}
    ${AVFORMAT_LDFLAGS})


    


    I tried :

    


      

    • Changing the order of target_link_libraries in top CMake file. Funny thing is, it worked once.
    • 


    • I tried adding target_link_libraries to FFmpeg CMake file.
    • 


    • Searching for stackover.com for answers and reading CMake documentation.
    • 


    


  • how too download this link with ffmpeg

    27 décembre 2020, par Behrad kabiri
  • lld-link error compiling chromium with ffmpeg additional calls

    1er décembre 2020, par michal-b

    After adding some calls to ffmpeg from the ffmpeg_decoding_loop, I have errors when compiling on Windows (both directly on Windows and when cross-compiling from linux).
    
What I don't understand is that it works without an issue on linux/macos.

    


    I have multiple calls to ffmpeg code but let's boil it down to a representative example.

    


    I call this :

    


    const AVFilter *buffer_src = avfilter_get_by_name("buffer");


    


    On linux/macos : no problems.
    
On windows :

    


    lld-link: error: undefined symbol: avfilter_get_by_name
>>> referenced by .\..\..\media\ffmpeg\ffmpeg_decoding_loop.cc:111
>>>               obj/media/ffmpeg/ffmpeg/ffmpeg_decoding_loop.obj:(public: void __cdecl media::FFmpegDecodingLoop::InitFilterGraph(struct AVFrame *))
>>> referenced by .\..\..\media\ffmpeg\ffmpeg_decoding_loop.cc:112
>>>               obj/media/ffmpeg/ffmpeg/ffmpeg_decoding_loop.obj:(public: void __cdecl media::FFmpegDecodingLoop::InitFilterGraph(struct AVFrame *))



    


    Is there some additional configuration to be made on windows ?
    
I use visual studio 2019, windows 10.0.19041.0 sdk, llvm 10.0.0.