Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (75)

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

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

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

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

  • 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
  • PHP - Executing ffmpeg using exec() and shell_exec() does nothing

    27 avril 2012, par 8vius

    I'm trying to convert an audio file in PHP using ffmpeg, I get the audio file via post as a m4a and I want to turn it into mp3. I do the following to do this :

    $commandOutput = shell_exec('ffmpeg -i '.$filePath.' -ar 8000 -ab 16000 '.str_replace('m4a', 'mp3', $filePath));

    Yet it does nothing, and commandOutput also contains nothing. The file is saved properly but not converted to mp3, when I run the same command in terminal it converts the file properly. Any idea what might be happening ?