Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

Sur d’autres sites (4450)

  • Cannot retrieve duration of webm file using ffmpeg

    10 juin 2016, par maximus 69

    I am trying to retrieve the duration of a .webm video file that I recorded using the the video.js plugin (https://github.com/collab-project/videojs-record).

    I am using ffmpeg to get the duration but it always return N/A :

    ffprobe version 3.0.2-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2007-2016 the FFmpeg developers
     built with gcc 5.3.1 (Debian 5.3.1-16) 20160424
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-librtmp --enable-libmfx --enable-libzimg --cc=gcc
     libavutil      55. 17.103 / 55. 17.103
     libavcodec     57. 24.102 / 57. 24.102
     libavformat    57. 25.100 / 57. 25.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 31.100 /  6. 31.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, matroska,webm, from '/home/demoss/public_html/source/bALRt9I697PVQh4zglou.webm':
     Metadata:
       encoder         : Chrome
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0(eng): Video: vp8, yuv420p, 640x480, SAR 1:1 DAR 4:3, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
       Stream #0:1(eng): Audio: opus, 48000 Hz, mono, fltp (default)
    duration=N/A

    I don’t think the video is corrupted as it played in my VideoJS player without issues.

    Any pointers as to why its not returning the duration would be greatly appreciated. I wouldn’t mind using an alternative library as well

    Thanks

  • libFLAC/cpu.c : More cleanup and refactoring

    26 juin 2016, par Erik de Castro Lopo
    libFLAC/cpu.c : More cleanup and refactoring
    

    * Split `FLAC__cpu_info` into CPU specific functions. We now have
    `ia32_cpi_info` and `x86_64_cpu_info` and a simple obvious way
    to add support for other CPUs.
    * Improve handling of Android OS.
    * Remove more #ifdefs where possible.
    * Compile (syntax and type check) DEBUG output code even when debugging
    is disabled.
    * Remove build support for ancient NetBSD version 1.5 (version 1.6 was
    released in 2002).

    • [DH] src/libFLAC/cpu.c
    • [DH] src/libFLAC/include/private/cpu.h
  • 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.