Recherche avancée

Médias (91)

Autres articles (68)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (9856)

  • Can't show image with opencv when importing av

    5 mars, par Flojomojo

    When importing the PyAv module, I am unable to show an image with opencv using imshow()

    


    Code without the PyAv module (works as expected)

    


    import cv2

img = cv2.imread("test_image.jpeg")
cv2.imshow('image', img)
cv2.waitKey(0)


    


    Code with the import (doesn't work, just hangs)

    


    import cv2
import av

img = cv2.imread("test_image.jpeg")
cv2.imshow('image', img)
cv2.waitKey(0)


    


    OS : Linux arch 5.18.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 09 Jun 2022 16:14:10 +0000 x86_64 GNU/Linux

    


    Am I doing something wrong or is this a (un-)known issue ?

    


  • lavfi/delogo : option show shouldn’t affect band

    5 juillet 2013, par Jean Delvare
    lavfi/delogo : option show shouldn’t affect band
    

    Options "show" and "band" are unrelated and should thus be
    independent. However, setting "show" to 1 currently resets "band" to
    its default value of 4. While this is documented, this still
    surprising and confusing IMHO.

    Change this behavior and make "show" and "band" independent from each
    other. Update the documentation accordingly.

    Signed-off-by : Jean Delvare <khali@linux-fr.org>
    Reviewed-by : Stefano Sabatini <stefasab@gmail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] doc/filters.texi
    • [DH] libavfilter/version.h
    • [DH] libavfilter/vf_delogo.c
  • Opencv VideoCapture always returns false on Heroku

    27 juin 2022, par Dacian Mujdar

    I'm using the following code to open a video stream :

    &#xA;

    import cv2&#xA;video = cv2.VideoCapture()&#xA;video.open("some_m3u8_link")&#xA;success, image = video.read()&#xA;

    &#xA;

    However, even if the code works as intended locally, on Heroku success is always false.

    &#xA;

    I'm using cedar-14 stack with the following buildpacks :

    &#xA;

    &#xA;

    heroku/python

    &#xA;

    https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git

    &#xA;

    &#xA;

    (I tried several buildpack options for ffmpeg)

    &#xA;

    Running ffmpeg --version on heroku instance will return ffmpeg version 4.0-static https://johnvansickle.com/ffmpeg/

    &#xA;

    Is there any setting/configuration I missed in order to make it work on deployment ? Thank you !

    &#xA;

    Later edit : I tried several links for "some_m3u8_link" including from twitch and other streaming services (including traffic streaming li&#xA;An example for reproducing :

    &#xA;

    python -c "import cv2; video=cv2.VideoCapture(); video.open(&#x27;https://hddn01.skylinewebcams.com/live.m3u8?a=5tm6kfqrhqbpblan9j5d4bmua4&#x27;); success, image = video.read(); print(success)"&#xA;

    &#xA;

    Returns True on local machine and False on Heroku.

    &#xA;

    (the link is taken from here)

    &#xA;