Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (105)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (14007)

  • Anomalie #4823 (Rejeté) : Problème avec le bouton "Tout enlever" sur la gestion des documents dans...

    16 juin 2021, par Eric Leroy

    Lorsque j’essaie d’utiliser le bouton "Tout enlever", j’ai un message d’erreur...

    Fatal error : Uncaught Error : Call to undefined function objet_info() in .../plugins/auto/linkcheck/linkcheck_pipelines.php:59 Stack trace : #0.../ecrire/inc/utils.php(199) : linkcheck_post_edition(Array) #1.../tmp/cache/charger_pipelines.php(1433) : minipipe(’linkcheck_post_...’, Array) #2 .../ecrire/inc/utils.php(265) : execute_pipeline_post_edition(Array) #3 .../plugins-dist/medias/action/editer_document.php(263) : pipeline(’post_edition’, Array) #4 .../plugins-dist/medias/action/dissocier_document.php(102) : document_instituer(108959) #5 .../plugins-dist/medias/action/dissocier_document.php(178) : supprimer_lien_document(108959, ’evenement’, 7673, false, false) #6 .../medias/action/dissocier_document.php(65) : dissocier_document(’I/document’, ’evenement’, 7673, false, false) # in .../plugins/auto/linkcheck/linkcheck_pipelines.php on line 59

    Spip 3.2 [24473]

  • libavdevice : Improve example in deprecation message for opengl and sdl

    8 avril 2024, par Alexander Strasser
    libavdevice : Improve example in deprecation message for opengl and sdl
    

    When piping ffmpeg into ffplay both programs write a status line in
    the terminal. That causes flickering and invisibility of one or the
    other status line.

    As compromise set ffplay log level to warning, so it doesn't show
    the status line.

    The user is usually testing ffmpeg command lines and want's a
    preview of the result. This way the user can see the ffmpeg output
    and still see errors and warnings from ffplay, should they occur.

    Additionally set PTS to zero in ffplay to lessen the delay until
    the frames are displayed. Without it delay is quite observable
    when e.g. live capturing with low frame rates.

    • [DH] libavdevice/opengl_enc.c
    • [DH] libavdevice/sdl2.c
  • how to resolve Linking error undefined reference to symbol 'avcodec_open2@@LIBAVCODEC_54

    20 septembre 2016, par TobSta

    I’m getting the following linking error

    Linking CXX executable test_decode
    /usr/bin/ld: /home/t/NetBeansProjects/FaceCept3D/WrapFFMPEG/libWrapFFMPEG.a(DecodeFFMPEG.cpp.o): undefined reference to symbol 'avcodec_open2@@LIBAVCODEC_54'
    //usr/lib/x86_64-linux-gnu/libavcodec.so.54: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    make[2]: *** [test_decode] Error 1
    make[1]: *** [CMakeFiles/test_decode.dir/all] Error 2
    make: *** [all] Error 2

    cmake . && make works for WrapFFMPEG, but for test_decode, i get the linking error when building

    My CMakeLists.txt for test_decode :

    cmake_minimum_required (VERSION 2.8)
    #cmake_policy(SET CMP0003 OLD)

    # Add executable
    add_executable(test_decode test_decode.cpp)

    find_package(OpenCV REQUIRED )
    message(STATUS ${OPENCV_INCLUDE_DIRS})
    include_directories (${OPENCV_INCLUDE_DIRS},      "/home/t/NetBeansProjects/FaceCept3D/WrapFFMPEG")
    find_library (WrapFFMPEG WrapFFMPEG "/home/t/NetBeansProjects/FaceCept3D/WrapFFMPEG")


    message(STATUS ${WrapFFMPEG})
    link_directories( ${WrapFFMPEG} )


    # Link to the WrapFFMPEG library
    target_link_libraries(test_decode LINK_PUBLIC ${OpenCV_LIBRARIES} ${WrapFFMPEG})

    add_custom_command(TARGET test_decode POST_BUILD COMMAND xcopy /i /y \"${FFmpeg_RUNTIME_LIBS}\" \"${CMAKE_CURRENT_BINARY_DIR}\")

    and my CMakeLists.txt for WrapFFMPEG :

    cmake_minimum_required (VERSION 2.8)
    file(GLOB sources *.cpp *.h)

    list(APPEND CMAKE_MODULE_PATH "/home/t/NetBeansProjects/FaceCept3D/WrapFFMPEG")

    find_package( avformat REQUIRED)
    find_package( avcodec REQUIRED)
    find_package( avutil REQUIRED )
    find_package( swscale REQUIRED )

    include_directories(    
    ${AVFORMAT_INCLUDE_DIR}
    ${AVCODEC_INCLUDE_DIR}
    ${AVUTIL_INCLUDE_DIR}
    ${SWSCALE_INCLUDE_DIR}
    )


    set(
    FFMPEG_LIBRARIES    
    ${AVFORMAT_LIBRARY}
    ${AVCODEC_LIBRARY}
    ${AVUTIL_LIBRARY}
    ${SWSCALE_LIBRARY}
    )

    add_library(WrapFFMPEG ${sources})

    #add_library(WrapFFMPEG DecodeFFMPEG.cpp DecodeFFMPEG.h )
    set(FFMPEG_INCLUDE_DIR     "/home/t/NetBeansProjects/FaceCept3D/WrapFFMPEG/ffmpeg")
    find_library (FFMPEG FFMPEG "/home/t/NetBeansProjects/FaceCept3D/WrapFFMPEG/ffmpeg")
    message(STATUS ${FFMPEG_LIBRARIES})
    message(STATUS ${FFMPEG})
    include_directories($(FFMPEG_INCLUDE_DIR}))
    message(STATUS ${FFMPEG_INCLUDE_DIR})


    # Make sure the compiler can find include files for our WrapFFMPEG library
    # when other libraries or executables link to WrapFFMPEG
    target_include_directories (WrapFFMPEG PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
    target_link_libraries(WrapFFMPEG avutil avcodec avformat swscale)

    resulting in link.txt :

    /usr/bin/ar cq libWrapFFMPEG.a CMakeFiles/WrapFFMPEG.dir/DecodeFFMPEG.cpp.o CMakeFiles/WrapFFMPEG.dir/Tutorial.cpp.o /usr/bin/ranlib libWrapFFMPEG.a

    did CMake not find ffmpeg ?