Recherche avancée

Médias (91)

Autres articles (56)

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

  • 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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9696)

  • ffmpeg configure always returns "not found" when using sysroot and cross-prefix options - how to use them correctly ?

    5 août 2014, par user2212461

    I try to build ffmpeg with a cross-compiler. When setting the configure flags I am getting the following errors :

    WARNING: Compiler does not indicate floating-point ABI, guessing soft.
    build_it.sh: 29: build_it.sh: --sysroot=/home/android/android-ndk-r9/platforms/
       android-9/arch-arm/: not found
    build_it.sh: 32: build_it.sh.sh: --cross-prefix=/home/android/android-ndk-r9/
       toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-and
       roideabi-: not found

    The error message "not found" sounds like the paths dont exist but they are all correct and existing. How can I resolve this error ?

    build_it.sh :

    NDK=/home/android/android-ndk-r9
    SYSROOT=$NDK/platforms/android-9/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86
    CPU=arm
    PREFIX=test
    ADDI_CFLAGS="-marm"
    platform="android-9"

    ./configure \
       --disable-asm \
       --enable-shared \
       --target-os=linux \
       --arch=arm \
       --enable-cross-compile \
       --disable-static \
       --sysroot=$SYSROOT \
       --extra-cflags="-Os -fpic $ADDI_CFLAGS" \
       --extra-ldflags="$ADDI_LDFLAGS"
       --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
       --prefix=$PREFIX \

    ##configure fails here
    ...
  • lavf/dump.c : Print mastering display metadata

    1er mars 2016, par Neil Birkbeck
    lavf/dump.c : Print mastering display metadata
    

    Signed-off-by : Neil Birkbeck <neil.birkbeck@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/dump.c
  • Opencv VideoCapture not streaming RTSP link and returns "no frame !"

    6 septembre 2023, par Asadullah Naeem

    I am trying to stream my HikVision IP camera throough python. I am using cv2.VideoCapture("rtsp_link") which works fine on my Laptop but when I try to run the same python script with same Opencv and FFmpeg version it gives me following error :

    &#xA;

    Error :

    &#xA;

    [h264 @ 000002124c7f9a40] missing picture in access unit with size 47&#xA;[h264 @ 000002124c7f9a40]&#xA0;no&#xA0;frame!&#xA;

    &#xA;

    I have so far tried to run this script on 5 computer devices but it gives the same error. I am using the following python script and my Opencv version is 4.6.0.66 and ffmpeg version 2022-06-20-git-56419428a8-essentials_build-www.gyan.dev :

    &#xA;

    Python Script :

    &#xA;

    import cv2&#xA;&#xA;# RTSP stream URL&#xA;rtsp_url = "rtsp://username:password@ip_address:port/Streaming/Channels/501"&#xA;&#xA;# Open the RTSP stream&#xA;cap = cv2.VideoCapture(rtsp_url)&#xA;&#xA;# Check if the stream was successfully opened&#xA;if not cap.isOpened():&#xA;    print("Failed to open RTSP stream.")&#xA;    exit()&#xA;&#xA;# Read and display frames from the stream&#xA;while True:&#xA;    # Read a frame from the stream&#xA;    ret, frame = cap.read()&#xA;&#xA;    # Check if the frame was successfully read&#xA;    if not ret:&#xA;        print("Failed to read frame from RTSP stream.")&#xA;        break&#xA;&#xA;    # Display the frame&#xA;    cv2.imshow("RTSP Stream", frame)&#xA;&#xA;    # Exit if &#x27;q&#x27; is pressed&#xA;    if cv2.waitKey(1) &amp; 0xFF == ord(&#x27;q&#x27;):&#xA;        break&#xA;&#xA;# Release the resources&#xA;cap.release()&#xA;cv2.destroyAllWindows()&#xA;&#xA;

    &#xA;

    Update :

    &#xA;

    Code runs on a laptop on both wifi and mobile internet (4G) but on other devices rtsp link is accessible only with mobile internet (4G).

    &#xA;