Recherche avancée

Médias (91)

Autres articles (74)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (12873)

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

  • FATE : Add FITS tests

    29 août 2017, par Paras Chadha
    FATE : Add FITS tests
    

    Signed-off-by : Paras Chadha <paraschadha18@gmail.com>

    • [DH] tests/Makefile
    • [DH] tests/fate/avformat.mak
    • [DH] tests/fate/demux.mak
    • [DH] tests/fate/fits.mak
    • [DH] tests/lavf-regression.sh
    • [DH] tests/ref/fate/fits-demux
    • [DH] tests/ref/fate/fitsdec-bitpix-32
    • [DH] tests/ref/fate/fitsdec-bitpix-64
    • [DH] tests/ref/fate/fitsdec-blank_bitpix32
    • [DH] tests/ref/fate/fitsdec-ext_data_min_max
    • [DH] tests/ref/fate/fitsdec-gbrap16
    • [DH] tests/ref/fate/fitsdec-gbrp
    • [DH] tests/ref/fate/fitsdec-gbrp16
    • [DH] tests/ref/fate/fitsdec-gray
    • [DH] tests/ref/fate/fitsdec-multi
    • [DH] tests/ref/fate/fitsenc-gbrap
    • [DH] tests/ref/fate/fitsenc-gbrap16be
    • [DH] tests/ref/fate/fitsenc-gbrp
    • [DH] tests/ref/fate/fitsenc-gbrp16be
    • [DH] tests/ref/fate/fitsenc-gray
    • [DH] tests/ref/fate/fitsenc-gray16be
    • [DH] tests/ref/lavf/fits