Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (63)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (7018)

  • avisynth : Support pix_fmts added to AviSynth+

    27 octobre 2016, par Stephen Hutchinson
    avisynth : Support pix_fmts added to AviSynth+
    

    A number of new pix_fmts* have been added to AviSynth+ :
    16-bit packed RGB and RGBA
    10-, 12-, 14, and 16-bit YUV 4:2:0, 4:2:2, and 4:4:4
    8-, 10-, 12-, 14-, and 16-bit Planar RGB
    8-, 10-, 12-, 14-, and 16-bit Planar YUVA and Planar RGBA
    10-, 12-, 14-, and 16-bit GRAY variants
    32-bit floating point Planar YUV(A), Planar RGB(A), and GRAY

    *some of which are not currently available pix_fmts here and were
    not added to the demuxer due to this

    Signed-off-by : Diego Biurrun <diego@biurrun.de>

    • [DBH] libavformat/avisynth.c
  • How to make FFMPEG video grayscale ?

    15 octobre 2018, par Aang

    In my program I am using the subprocess Python module in my script to call on FFMPEG to turn a sequence of images into a video (grayscale). It works and a video is created, but upon further inspection I see that the video itself has encoded the different intensities incorrectly.

    Here is my code :

                   subprocess.call(['/usr/local/bin/ffmpeg', '-framerate', \
                                framerate, '-f', 'image2','-pattern_type', \
                                'glob', '-i', self.directory + '/orbit_*.png', \
                                '-r', '10', '-s', '620x380', '-flags', 'gray', self.directory +
                                ".avi"])

    Here is a link to the video that’s created : https://drive.google.com/open?id=0Bxt1siua2KQma0JaMVBMcE9TOEE

    If you’ll look at the scale bar on the right in the video, which normally looks like this
    in color, you’ll see that the same color shows up twice on the scale bar. I think it’s because FFMPEG is reading colors with the same intensities (for example, yellow and blue) the same way and therefore when the photo is encoded into grayscale it looks like this.

    What can I do ? Is this a matter of changing the "-flags", "gray" parameters of my subprocess call ?

  • OpenCV 3 Python 3.5 Anaconda

    1er juillet 2016, par Sridhar Thiagarajan

    I have tried installing opencv 3 in anaconda virtual env.I used the following binstar package..

    conda

    source activate (envname)

    conda install -c https://conda.binstar.org/menpo opencv

    conda list

    cv__version__ also gives the correct output 3.1.0

    This is my first sample code

    import numpy as np
    import cv2

    cap = cv2.VideoCapture(0)

     while(True):
    # Capture frame-by-frame
    ret, frame = cap.read()

    # Our operations on the frame come here
    gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)

    # Display the resulting frame
    cv2.imshow('frame',gray)
    if cv2.waitKey(1) &amp; 0xFF == ord('q'):
       break

    # When everything done, release the capture
    cap.release()
    cv2.destroyAllWindows()

    I get the following errors on run ./fp.py : line 1 : import : command not found
    ./fp.py : line 2 : import : command not found
    ./fp.py : line 4 : syntax error near unexpected token

    ('
    ./fp.py: line 4:

    cap = cv2.VideoCapture(0)’

    Whenever i used import video as video, i get errors saying error:video module not found.I think this has something todo with ffmpeg not being present in the binstar package i downloaded.