Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (74)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (12495)

  • 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
  • Vidgear write Video not open

    25 août 2020, par MrTuyen

    Source code

    &#xA;&#xA;

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

    &#xA;&#xA;

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

    &#xA;&#xA;

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

    &#xA;&#xA;

    # import required libraries&#xA;from vidgear.gears import CamGear&#xA;from vidgear.gears import WriteGear&#xA;import cv2&#xA;&#xA;# Open live video stream on webcam at first index(i.e. 0) device&#xA;stream = CamGear(source=0).start()&#xA;&#xA;# retrieve framerate from CamGear Stream and pass it as `-input_framerate` parameter&#xA;output_params = {"-input_framerate":stream.framerate}&#xA;&#xA;# Define writer with defined parameters and suitable output filename for e.g. `Output.mp4`&#xA;writer = WriteGear(output_filename = &#x27;Output.mp4&#x27;, **output_params)&#xA;&#xA;# loop over&#xA;while True:&#xA;&#xA;    # read frames from stream&#xA;    frame = stream.read()&#xA;&#xA;    # check for frame if None-type&#xA;    if frame is None:&#xA;        break&#xA;&#xA;&#xA;    # {do something with the frame here}&#xA;&#xA;&#xA;    # write frame to writer&#xA;    writer.write(frame)&#xA;&#xA;    # Show output window&#xA;    cv2.imshow("Output Frame", frame)&#xA;&#xA;    # check for &#x27;q&#x27; key if pressed&#xA;    key = cv2.waitKey(1) &amp; 0xFF&#xA;    if key == ord("q"):&#xA;        break&#xA;&#xA;# close output window&#xA;cv2.destroyAllWindows()&#xA;&#xA;# safely close video stream&#xA;stream.stop()&#xA;&#xA;# safely close writer&#xA;writer.close()&#xA;

    &#xA;

  • avformat/mov : Fix integer overflow in mov_get_stsc_samples()

    5 mars 2018, par Michael Niedermayer
    avformat/mov : Fix integer overflow in mov_get_stsc_samples()
    

    Fixes : runtime error : signed integer overflow : 5 * -2147483647 cannot be represented in type 'int'
    Fixes : Chromium bug 817338
    Reviewed-by : Matt Wolenetz <wolenetz@google.com>
    Reported-by : Matt Wolenetz <wolenetz@google.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/mov.c