Recherche avancée

Médias (91)

Autres articles (51)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

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

Sur d’autres sites (10302)

  • Vidgear write Video not open

    25 août 2020, par MrTuyen

    Source code

    



    Command : (https://drive.google.com/file/d/14YGKIhftAidQVvR_nMWY3oIhcWFzLERE/view?usp=sharing)

    



    No errors occurred. I have been trying to figure out how to write videos with Vidgear. I am working with windows and webcam.

    



    Error : "Output.mp4" Opened is a black color. (https://drive.google.com/file/d/11x-q_w59gdaAECtRIqi0MNGIOZ-Vuati/view?usp=sharing)

    



    # import required libraries
from vidgear.gears import CamGear
from vidgear.gears import WriteGear
import cv2

# Open live video stream on webcam at first index(i.e. 0) device
stream = CamGear(source=0).start()

# retrieve framerate from CamGear Stream and pass it as `-input_framerate` parameter
output_params = {"-input_framerate":stream.framerate}

# Define writer with defined parameters and suitable output filename for e.g. `Output.mp4`
writer = WriteGear(output_filename = 'Output.mp4', **output_params)

# loop over
while True:

    # read frames from stream
    frame = stream.read()

    # check for frame if None-type
    if frame is None:
        break


    # {do something with the frame here}


    # write frame to writer
    writer.write(frame)

    # Show output window
    cv2.imshow("Output Frame", frame)

    # check for 'q' key if pressed
    key = cv2.waitKey(1) & 0xFF
    if key == ord("q"):
        break

# close output window
cv2.destroyAllWindows()

# safely close video stream
stream.stop()

# safely close writer
writer.close()


    


  • avformat/oggparseogm : Check lb against psize

    9 mars 2018, par Michael Niedermayer
    avformat/oggparseogm : Check lb against psize
    

    No testcase, this was found during code review

    Found-by : Matt Wolenetz <wolenetz@google.com>
    Reviewed-by : Matt Wolenetz <wolenetz@google.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/oggparseogm.c
  • avformat/mov : Fix integer overflows related to sample_duration

    9 mars 2018, par Michael Niedermayer
    avformat/mov : Fix integer overflows related to sample_duration
    

    Fixes : runtime error : signed integer overflow : -9166684017437101870 + -2495066639299164439 cannot be represented in type

    Fixes : Chromium bug 791349

    Reported-by : Matt Wolenetz <wolenetz@google.com>
    Reviewed-by : Matt Wolenetz <wolenetz@google.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/mov.c