Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (91)

  • 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 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (7443)

  • ffmpeg ip camera error invalid data found when processing the input

    4 décembre 2022, par mehdi

    I want to capture images from a remote ip camera (Dahua) using ffmpeg.
I am able to ping the camera ip and see it live on my browser.

    


    Using this command :

    


    ffmpeg -loglevel debug -rtsp_transport tcp -i "rtsp://admin:password@172.28.56.237:37777" -vframes 1 test.jpg


    


    gives this result :

    


    Splitting the commandline.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-rtsp_transport' ... matched as AVOption 'rtsp_transport' with argument 'tcp'.
Reading option '-i' ... matched as input url with argument 'rtsp://admin:password@172.28.56.237:37777/live'.
Reading option '-vframes' ... matched as option 'vframes' (set the number of video frames to output) with argument '1'.
Reading option 'test.jpg' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option hide_banner (do not show program banner) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url rtsp://admin:password@172.28.56.237:37777/live.
Successfully parsed a group of options.
Opening an input file: rtsp://admin:password@172.28.56.237:37777/live.
[tcp @ 0x5563a5c4b540] No default whitelist set
[tcp @ 0x5563a5c4b540] Original list of addresses:
[tcp @ 0x5563a5c4b540] Address 172.28.56.237 port 37777
[tcp @ 0x5563a5c4b540] Interleaved list of addresses:
[tcp @ 0x5563a5c4b540] Address 172.28.56.237 port 37777
[tcp @ 0x5563a5c4b540] Starting connection attempt to 172.28.56.237 port 37777
[tcp @ 0x5563a5c4b540] Successfully connected to 172.28.56.237 port 37777
rtsp://admin:password@172.28.56.237:37777/live: Invalid data found when processing input



    


    in the camera settings the ports are :

    


    tcp: 37777
udp: 37778
rtsp: 554


    


    I also tried below commands, but the result was the same error :

    


    ffmpeg -loglevel debug -rtsp_transport tcp -i "rtsp://admin:admin110@172.28.56.237:37777/live" -vframes 1 test.jpg



    


    ffmpeg -loglevel debug -i "rtsp://admin:admin110@172.28.56.237:554/live" -vframes 1 test.jpg

result: Server returned 404 not found


    


    I tried this in arch linux and windows and got the same error.

    


  • undefind reference to symbol 'avpriv_tak_parse_streaming@@LIBAVCODEC_FFMPEG_56'

    29 septembre 2019, par DJI_lover

    I recently compiled some ffmpeg code, but there were some compilation errors. I’ve solved some of them, but I don’t know how to solve the error below(Picture 1) . I’ve followed some online solutions to add option ’-lavcodec-ffmpeg’ after GCC but can’t solve this problem.I’ve been confused by it for several days.Could someone who konw the solution tell me how to fix this,I will be grateful.I use ubuntu 16.04 and I’ve installed n4.2dev version from ffmpeg git source and the standard libavcodec-ffmpeg56 as well as standard libav*-dev. My gcc version is 5.5.0 (Picture 2) .Thanks

    Picture1
    Picture2

    Update1:To prevent the picture 1 from not showing, I put out the error text here:

    /usr/bin/ld : /usr/local/lib/libavformat.a(takdec.o) : undefined reference to symbol ’avpriv_tak_parse_streaminfo@@LIBAVCODEC_FFMPEG_56’
    /usr/lib//libavcodec-ffmpeg.so.56 : error adding symbols : DSO missing from command line
    collect2 : error : ld returned 1 exit status
    CMakeFiles/simple_opencv_streaming.dir/build.make:145 : recipe for target ’simple_opencv_streaming’ failed
    make2 : * [simple_opencv_streaming] Error 1
    CMakeFiles/Makefile2:67 : recipe for target ’CMakeFiles/simple_opencv_streaming.dir/all’ failed
    make1 : *
    [CMakeFiles/simple_opencv_streaming.dir/all] Error 2
    Makefile:83 : recipe for target ’all’ failed
    make : *** [all] Error 2

    Update2 : My CMAKElist.txt :

    project(simple_opencv_streaming)

    cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR)

    set(CMAKE_CXX_STANDARD 11)

    set(CMAKE_CXX_STANDARD_REQUIRED ON)

    set ( CMAKE_EXE_LINKER_FLAGS_RELEASE "$CMAKE_EXE_LINKER_FLAGS_RELEASE -pthread -lavcodec-ffmpeg")

    set(CMAKE_CXX_FLAGS_RELEASE "$CMAKE_CXX_FLAGS_RELEASE -O3 -std=c++11 -Wall")

    set ( CMAKE_EXE_LINKER_FLAGS_DEBUG "$CMAKE_EXE_LINKER_FLAGS_DEBUG -fsanitize=address -fsanitize=undefined")

    set(CMAKE_CXX_FLAGS_DEBUG "$CMAKE_CXX_FLAGS_DEBUG -std=c++11 -Wall -O0 -fno-omit-frame-pointer -fsanitize=address -fsanitize=undefined -D__FORTIFY_SOURCE=2 -rdynamic -DDEBUG")

    find_package(OpenCV REQUIRED)

    find_package(Qt5 REQUIRED COMPONENTS Core Gui Widgets Test Concurrent)

    get_target_property(QtCore_location Qt5::Core /usr/lib/x86_64-linux-gnu/)

    include(CMakeToolsHelpers OPTIONAL)

    include_directories($OpenCV_INCLUDE_DIRS)

    add_subdirectory(streamer)

    add_executable(simple_opencv_streaming main.cpp)

    find_library(AVCODEC_LIBRARY avcodec)

    find_library(AVFORMAT_LIBRARY avformat)

    find_library(AVUTIL_LIBRARY avutil)

    find_library(SWSCALE_LIBRARY swscale)

    MESSAGE($AVFORMAT_LIBRARY)

    target_link_libraries(simple_opencv_streaming streamer $OpenCV_LIBS $AVCODEC_LIBRARY $AVFORMAT_LIBRARY $AVUTIL_LIBRARY $SWSCALE_LIBRARY Qt5::Core)

  • capture image from IP camera through ffmpeg in command line or opencv getting a gray image

    4 décembre 2015, par rockycai

    Now I have a IP camera. I tried to get a image through ffmpeg (like this : ffmpeg -rtsp_transport tcp -i "my rtsp stream address" -y -f image2 test.jpg ).That’s OK ! Or I tried to do this through opencv,no problem too.But when I open the stream in vlc,At the same time,I tried to capture the image ,oh,I just got a gray image.
    why ? if I open the stream in vlc two times,that’s also OK ! If capturing the image and view the rtsp stream together,just got a gray image.Is the reason of IP camera ?normal imagegray image