Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (74)

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

  • Reading from RTSP stream via opencv+ffmpeg results in "method SETUP failed : 501 Not Implemented"

    7 novembre 2023, par bearyTheBear

    I have a camera setup and running in my local network.
I can see the video stream via VLC without any issues.
Now I am trying to run the following code to also observe the stream with python + opencv.

    


    I am using :

    


      

    • Python 3.11
    • 


    • opencv-python 4.8.1.78
    • 


    


    import cv2

cap = cv2.VideoCapture(
    "rtsp://192.168.234.127:8554/h264", 
)

while cap.isOpened():
    status, frame = cap.read()
    
    cv2.namedWindow("frame", cv2.WINDOW_NORMAL)
    cv2.imshow("frame", frame)
    
    if cv2.waitKey(20) & 0xFF == ord('q'):
        break

cap.release()
cv2.destroyAllWindows()


    


    This results in the script being stuck at cap.read() with the following error occuring in the background : [rtsp @ 0000020008b7cd40] method SETUP failed: 501 Not Implemented. Note that cap.isOpened() returns True.

    


    I tried :

    


      

    • downgrading to Python 3.11 from 3.12
    • 


    • running this in jupyter notebook
    • 


    • running this directly from script
    • 


    • force reinstalling opencv-python
    • 


    • using "rtsp ://192.168.234.127:8554/jpeg" instead of "rtsp ://192.168.234.127:8554/h264"

        

      • note that both methods work in the VLC player
      • 


      


    • 


    


    edit :

    


      

    • simplified code, same result.
    • 


    


  • Why failes ffmpeg with "Failed to inject frame into filter network : Internal bug, should not have happened" ?

    17 octobre 2023, par StackOverRigge

    I want to convert a MP4 video file into an animated gif file using ffmpeg. I am trying to do this in two steps :

    


      

    1. Create a palette image
    2. 


    3. Convert the MP4 with the help of the palette image to a GIF file
    4. 


    


    I'm using ffmpeg 6.0 essentials_build.

    


    First, I create a palette image :

    


    ffmpeg -v warning -i video.mp4 -vf "fps=15,scale=1366:768:flags=lanczos,palettegen=stats_mode=diff" -y palette.png


    


    Then, I'm trying to convert the MP4 to GIF :

    


    ffmpeg -i video.mp4 -i palette.png -lavfi "fps=15,scale=1366:768:flags=lanczos,paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" -y video.gif


    


    This command ends in this error message :

    


    Error while filtering: Internal bug, should not have happeneditrate=4279.9kbits/s speed=0.742x
Failed to inject frame into filter network: Internal bug, should not have happened
Error while processing the decoded data for stream #0:0


    


  • ffmpeg and libaom compilation failed "unable to open include file `third_party/x86inc/x86inc.asm"

    7 octobre 2023, par sam

    I'm trying to build ffmpeg using this guide :
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu

    


    the problem is when i try to compile libaom using the following commands :

    


    cd ~/ffmpeg_sources && \
git -C aom pull 2> /dev/null || git clone --depth 1 https://aomedia.googlesource.com/aom && \
mkdir -p aom_build && \
cd aom_build && \
PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_TESTS=OFF -DENABLE_NASM=on ../aom && \
PATH="$HOME/bin:$PATH" make && \
make install


    


    i get the following error :

    


    /root/ffmpeg_sources/aom/aom_dsp/x86/sad4d_sse2.asm:14: fatal: unable to open include file `third_party/x86inc/x86inc.asm'
CMakeFiles/aom_dsp_encoder_sse2.dir/build.make:62: recipe for target 'CMakeFiles/aom_dsp_encoder_sse2.dir/aom_dsp/x86/sad4d_sse2.asm.o' failed
make[2]: *** [CMakeFiles/aom_dsp_encoder_sse2.dir/aom_dsp/x86/sad4d_sse2.asm.o] Error 1
CMakeFiles/Makefile2:842: recipe for target 'CMakeFiles/aom_dsp_encoder_sse2.dir/all' failed
make[1]: *** [CMakeFiles/aom_dsp_encoder_sse2.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2


    


    Is there any fix for this issue ?