Recherche avancée

Médias (91)

Autres articles (50)

  • 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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (10800)

  • Generate blank mp4 video of a specific size (in MB) in python

    7 avril 2020, par FlyingAura

    I want to generate a blank (black, white, content doesnt matter) MP4 video of a specific size, say 50 MB. How do I do this in python or using any other tool ?

    



    I have searched around but have only gotten code snippets to generate videos of specific dimensions.

    


  • Get video file from m3u8 playlist with ffmpeg-python

    26 octobre 2019, par Federico Morrone

    I have a m3u8 playlist from which I want to exract the video file.
    Right now I achieve this by downloading the playlist in a file called index.m3u8 and running this command :

    ffmpeg -protocol_whitelist "concat,file,subfile,http,https,tls,rtp,tcp,udp,crypto" -allowed_extensions ALL -i index.m3u8 -c copy video.mp4

    Instead of downloading the file and running ffmpeg I’d rather use ffmpeg-python with the index.m3u8 content stored in a variable but I couldn’t figure out how to execute the above command using this library

  • Need to hide error logs used on video capture with Open CV and Python

    16 août 2024, par Rodrigo Aliaga

    Title : How to hide OpenCV RTSP connection errors in Python ?

    


    I am using OpenCV (4.8.0) with Python to test some RTSP connections. When I run the code, I see these logs on the console :

    


    [rtsp @ 0000029b73b233c0] method SETUP failed: 500 Internal Server Error
[rtsp @ 0000029b73b233c0] method SETUP failed: 500 Internal Server Error
[rtsp @ 0000029b73b218c0] method SETUP failed: 500 Internal Server Error
...
...


    


    I want to hide these errors (or any other warnings) from OpenCV. Below is the function I am using :

    


    cap = cv2.VideoCapture(url)
if not cap.isOpened():
    # print(f"Failed to open RTSP stream: {url}")
    result = False


    


    I know that in OpenCV with C++, there is an option to set cv::utils::logging::LogLevel LOG_LEVEL_SILENT = 0. Is there something similar available in Python ? Or is there another way to suppress these warnings and errors ?

    


    Thanks in advance !