Recherche avancée

Médias (91)

Autres articles (33)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (3518)

  • Is it possible to use the ffmpeg that imageio automatically installs, and if so, how ?

    21 décembre 2016, par Gloin

    I am running macOS Sierra.

    The module moviepy has imageio as one of its dependencies, and the first time you run it, it installs ffmpeg, which it uses to read and write video files.
    I am now trying to use ffprobe without imageio, but still in python, however it cannot find it. It gives the error

    FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'

    Running ffmpeg or ffprobe from the terminal gives the error

    -bash: ffprobe: command not found

    FFmpeg obviously is somewhere on my mac, as moviepy/imageio uses it, but only that can find it.

    This is the code I am trying to run :

    # function to find the resolution of the input video file
    def findVideoResolution(pathToInputVideo):
       cmd = "ffprobe -v quiet -print_format json -show_streams"
       args = shlex.split(cmd)
       args.append(pathToInputVideo)
       # run the ffprobe process, decode stdout into utf-8 & convert to JSON
       ffprobeOutput = subprocess.check_output(args).decode('utf-8')
       ffprobeOutput = json.loads(ffprobeOutput)

       # find height and width
       height = ffprobeOutput['streams'][0]['height']
       width = ffprobeOutput['streams'][0]['width']

       return height, width

    which cannot find ffprobe.

    Is there a way to use the installed version ffmpeg/ffprobe from python or the terminal, or do I have to install ffmpeg from ffmpeg.org ?

    EDIT : @LordNeckBeard
    In /Users/mynae/Library
    I have added the following to .bash_profile using this tutorial :

    PATH="/Users/myname/Library/Application Support/imageio/ffmpeg:${PATH}"
    export PATH

    /Users/myname/Library/Application Support/imageio/ contains a single folder called ffmpeg, which contains a single file called ffmpeg.osx. If I run ffmpeg.osx I get the message :

    Killed: 9

    I’ve never changed PATH before, and neither of these work. I still get the same errors as before. Have I done this correctly ? If so, is there anything else that might be wrong ?

  • Keep converting video when quitting ssh session [on hold]

    13 août 2015, par JimZer

    I have a dedicated server with Debian Jessie, I connect to it with ssh.
    I launched a list of video conversion with ffmpeg using my terminal with ssh. More precisely it convert a list of videos contained in a folder using this command :

    for file in *.avi; do ffmpeg -i "$file" "${file%.avi}".webm; done

    However I would like the list of tasks to continue even if I close my ssh session.
    Is that possible ?

    Thank you in advance for helping me.

  • streaming webcam via rtp protocol

    18 août 2016, par vasu gupta

    i am trying to stream and receive my webcam feed on two terminal on same laptop.For this purpose I am using the following commands :-

    foo.sdp :

    SDP:
    v=0
    o=- 0 0 IN IP4 127.0.0.1
    s=No Name
    c=IN IP4 127.0.0.1
    t=0 0
    a=tool:libavformat 55.2.100
    m=video 1235 RTP/AVP 96
    a=rtpmap:96 H264/90000
    a=fmtp:96 packetization-mode=1

    Transmitting :

    ffmpeg -re -i /dev/video0 -r 24 -b 50k -s 858x500 -f mulaw -f rtp rtp://127.0.0.1:3000> foo.sdp

    Receiving :

    ffplay -i foo.sdp

    While transmission seems to be working fine , but when i am using receiving command I am getting en error :

    Protocol not on whitelist 'file,crypto'!/0  
    foo.sdp: Invalid data found when processing input