Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (72)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (7996)

  • Undefined symbol : ___darwin_check_fd_set_overflow

    23 mars 2021, par iOS

    I'm getting this error when I try to run my project.

    


    Undefined symbol: ___darwin_check_fd_set_overflow 


    


    Here, I'm included pod 'mobile-ffmpeg-full', '4.3.2' this frame work for video streaming.

    


    Complete error :

    


    Undefined symbols for architecture arm64:
  "___darwin_check_fd_set_overflow", referenced from:
      _read_key in mobileffmpeg(libmobileffmpeg_la-fftools_ffmpeg.o)
      _xmlNanoFTPCheckResponse in libxml2(nanoftp.o)
      _xmlNanoFTPCloseConnection in libxml2(nanoftp.o)
      _xmlNanoFTPList in libxml2(nanoftp.o)
      _xmlNanoFTPGet in libxml2(nanoftp.o)
      _OUTLINED_FUNCTION_8 in libxml2(nanoftp.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


    


    enter image description here

    


    Frame work Git link : https://github.com/tanersener/mobile-ffmpeg

    


  • Undefined symbol despite libraries being linked

    17 septembre 2020, par Areopag

    currently I'm trying to write a JNI function using ffmpeg features, but when I'm trying to run my java executable after a clean compile I get the following error :

    


    /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java: symbol lookup error: /lib/libmediaserv_ffmpeg.so: undefined symbol: _Z19avformat_open_inputPP15AVFormatContextPKcP13AVInputFormatPP12AVDictionary


    


    I can't figure out why ffmpeg is not linked correctly.

    


    mediaserv_ffmpeg.cpp :

    


    #include <iostream>&#xA;#include <libavformat></libavformat>avformat.h>&#xA;#include <libavutil></libavutil>avutil.h>&#xA;&#xA;JNIEXPORT jobject JNICALL Java_mediaserv_ffmpeg_getMetadata&#xA;        (JNIEnv* env, jclass cls, jstring path) { ... }&#xA;</iostream>

    &#xA;

    What I've tried so far is inspecting libmediaserv_ffmpeg.so :

    &#xA;

     nm libmediaserv_ffmpeg.so --format=sysv | grep avformat&#xA;_Z19avformat_open_inputPP15AVFormatContextPKcP13AVInputFormatPP12AVDictionary|                |   U  |            NOTYPE|                |     |*UND*&#xA;_Z20avformat_close_inputPP15AVFormatContext|                |   U  |            NOTYPE|                |     |*UND*&#xA;_Z25avformat_find_stream_infoP15AVFormatContextPP12AVDictionary|                |   U  |            NOTYPE|                |     |*UND*&#xA;

    &#xA;

    Which, I think, is just another way of saying that there are undefined symbols in the .so file.

    &#xA;

    The commands used to build the lib (taken from make VERBOSE=1) :

    &#xA;

    /usr/bin/c&#x2B;&#x2B;  -Dmediaserv_ffmpeg_EXPORTS -I/usr/lib/jvm/java-11-openjdk-amd64/include -I/usr/lib/jvm/java-11-openjdk-amd64/include/linux -I/mnt/g/Workspace/mediaserv/third-party/ffmpeg  -fPIC   -std=gnu&#x2B;&#x2B;1z -o CMakeFiles/mediaserv_ffmpeg.dir/mediaserv_ffmpeg.cpp.o -c /mnt/g/Workspace/mediaserv/third-party/mediaserv_ffmpeg.cpp&#xA;/usr/bin/c&#x2B;&#x2B; -fPIC   -shared -Wl,-soname,libmediaserv_ffmpeg.so -o /mnt/g/Workspace/mediaserv/build/libs/libmediaserv_ffmpeg.so CMakeFiles/mediaserv_ffmpeg.dir/mediaserv_ffmpeg.cpp.o  -Wl,-rpath,/usr/lib/jvm/java-11-openjdk-amd64/lib:/usr/lib/jvm/java-11-openjdk-amd64/lib/server:/mnt/g/Workspace/mediaserv/third-party/ffmpeg/libavutil:/mnt/g/Workspace/mediaserv/third-party/ffmpeg/libavformat /usr/lib/jvm/java-11-openjdk-amd64/lib/libjawt.so /usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so ../ffmpeg/libavutil/libavutil.so ../ffmpeg/libavformat/libavformat.so&#xA;

    &#xA;

    I've already tried to seek for errors in GCC's trace option for the linker and it lists me which libraries it tries to link / is linking but the result stays the same.

    &#xA;

    /usr/bin/ld: mode elf_x86_64&#xA;/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o&#xA;/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o&#xA;CMakeFiles/mediaserv_ffmpeg.dir/mediaserv_ffmpeg.cpp.o&#xA;/usr/lib/jvm/java-11-openjdk-amd64/lib/libjawt.so&#xA;/usr/lib/jvm/java-11-openjdk-amd64/lib/server/libjvm.so&#xA;../ffmpeg/libavutil/libavutil.so&#xA;../ffmpeg/libavformat/libavformat.so&#xA;-lstdc&#x2B;&#x2B; (/usr/lib/gcc/x86_64-linux-gnu/7/libstdc&#x2B;&#x2B;.so)&#xA;/lib/x86_64-linux-gnu/libm.so.6&#xA;/lib/x86_64-linux-gnu/libmvec.so.1&#xA;libgcc_s.so.1 (/usr/lib/gcc/x86_64-linux-gnu/7/libgcc_s.so.1)&#xA;/lib/x86_64-linux-gnu/libc.so.6&#xA;/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2&#xA;/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2&#xA;libgcc_s.so.1 (/usr/lib/gcc/x86_64-linux-gnu/7/libgcc_s.so.1)&#xA;/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o&#xA;/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o&#xA;

    &#xA;

    CMakeLists.txt :

    &#xA;

    cmake_minimum_required(VERSION 3.17)&#xA;project(mediaserv_ffmpeg)&#xA;&#xA;set(CMAKE_CXX_STANDARD 17)&#xA;set(BUILD_SHARED_LIBS ON)&#xA;add_library(${PROJECT_NAME} SHARED mediaserv_ffmpeg.cpp mediaserv_ffmpeg.h)&#xA;&#xA;find_package(JNI REQUIRED)&#xA;&#xA;find_path(AVUTIL_INCLUDE_DIR libavutil/avutil.h HINTS ffmpeg REQUIRED)&#xA;find_library(AVUTIL_LIBRARY avutil HINTS ${PROJECT_SOURCE_DIR}/ffmpeg/libavutil PATHS REQUIRED)&#xA;&#xA;find_path(AVFORMAT_INCLUDE_DIR libavformat/avformat.h HINTS ffmpeg REQUIRED)&#xA;find_library(AVFORMAT_LIBRARY avformat HINTS ${PROJECT_SOURCE_DIR}/ffmpeg/libavformat REQUIRED)&#xA;&#xA;target_include_directories(${PROJECT_NAME} PRIVATE ${JNI_INCLUDE_DIRS} ${AVUTIL_INCLUDE_DIR} ${AVFORMAT_INCLUDE_DIR})&#xA;&#xA;target_link_libraries(${PROJECT_NAME} ${JNI_LIBRARIES} ${AVUTIL_LIBRARY} ${AVFORMAT_LIBRARY})&#xA;

    &#xA;

    Neither ffmpeg taken from the official ubuntu bionic repository nor a self-compiled version with configure --enable-shared works for me.

    &#xA;

    Where is my mistake or what could I still inspect ?

    &#xA;

    Thanks in advance.

    &#xA;

  • ffmpeg - avformat_alloc_context error in linker - ld : symbol(s) not found for architecture x86_64 - building on Mac [duplicate]

    29 septembre 2020, par QRrabbit

    I'm writing my first program - attempt at avformat libraries inside my C++ code. Linker errors on this line :

    &#xA;

        AVFormatContext* av_format_ctx = avformat_alloc_context();&#xA;

    &#xA;

    The error appears as such:&#xA;Undefined symbols for architecture x86_64:&#xA;  "_avformat_alloc_context", referenced from:&#xA;      load_frame(char const*, int*, int*, unsigned char**) in load_frame.cpp.o&#xA;  "_avformat_open_input", referenced from:&#xA;      load_frame(char const*, int*, int*, unsigned char**) in load_frame.cpp.o&#xA;ld: symbol(s) not found for architecture x86_64&#xA;

    &#xA;

    Almost feels like I have some conflicting libraries, but I don't know how to isolate the right one. Any help is greatly appreciated.

    &#xA;