Recherche avancée

Médias (91)

Autres articles (72)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

Sur d’autres sites (14600)

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