Recherche avancée

Médias (91)

Autres articles (87)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (14147)

  • ffmpeg video stream output multiply when I modify viedo in OpenCV

    30 mars 2017, par trojek

    I try to implement a proof of concept program which : (1)get video from webcam, (2)do some operations on it, (3)stream modified video on a web page.

    I do it as follows :

    1) In open CV : open webcam stream and output frames as a rawvideo, capture.py looks :

     import cv2
     import sys

     cap = cv2.VideoCapture(0)
     while(cap.isOpened()):
       ret, frame = cap.read()
       if(ret):
         sys.stdout.write(frame.tostring())
       else:
         break

    2) Run ffmpeg server by execute : python2 capture.py | ffmpeg -framerate 30 -f rawvideo -pixel_format bgr24 -video_size 640x480 -i - -f mpegts -codec:v mpeg1video -s 640x480 -b:v 2500k -bf 0 http://localhost:8081/supersecret

    3) Run Websocket relay and http-server according to the instruction on page : https://github.com/phoboslab/jsmpeg, in order to stream video in a browser.

    I get the stream in browser, but when I apply any change(e.g. frame = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)) on the frame inside capture.py file I get 9 small stream instead of one.enter image description here

    The same situation occurs when I change video resolution while starting ffmpeg server. When I stream directly from /dev/video0 insted of pipe I get the proper stream.

    How can I do some operations on the video and get the single image stream ?

  • avcodec/iff : Fix several integer overflows

    10 mai 2020, par Michael Niedermayer
    avcodec/iff : Fix several integer overflows
    

    Fixes : negation of -2147483648 cannot be represented in type 'int32_t' (aka 'int') ; cast to an unsigned type to negate this value to itself
    Fixes : signed integer overflow : -2147483648 - 1 cannot be represented in type 'int32_t' (aka 'int')
    Fixes : 20492/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5764066459254784

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/iff.c
  • avformat/rtpdec : explicit timestamp wraparound handling

    8 juin, par Clément Péron
    avformat/rtpdec : explicit timestamp wraparound handling
    

    Change delta_timestamp to int32_t and add explicit cast to handle
    RTP timestamp wraparound correctly. This fixes implementation-defined
    behavior when computing negative timestamp differences due to 32-bit
    wraparound.

    Signed-off-by : Clément Péron <peron.clem@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/rtpdec.c