Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (87)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (4582)

  • How can I get Python to find ffprobe ?

    23 décembre 2016, par Gloin

    I have ffmpeg and ffprobe installed on my mac (macOS Sierra), and I have added their path to PATH. I can run them from terminal.

    I am trying to use ffprobe to get the width and height of a video file using the following code :

    import subprocess
    import shlex
    import json


    # 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

    h, w = findVideoResolution("/Users/tomburrows/Documents/qfpics/user1/order1/movie.mov")
    print(h, w)

    I am sorry I cannot provide a MCVE, as I didn’t write this code, and I don’t really know how it works.

    It gives the following error :

    Traceback (most recent call last):
     File "/Users/tomburrows/Dropbox/Moviepy Tests/get_dimensions.py", line 21, in <module>
       h, w = findVideoResolution("/Users/tomburrows/Documents/qfpics/user1/order1/movie.mov")
     File "/Users/tomburrows/Dropbox/Moviepy Tests/get_dimensions.py", line 12, in findVideoResolution
       ffprobeOutput = subprocess.check_output(args).decode('utf-8')
     File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 626, in check_output
       **kwargs).stdout
     File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 693, in run
       with Popen(*popenargs, **kwargs) as process:
     File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 947, in __init__
       restore_signals, start_new_session)
     File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 1551, in _execute_child
       raise child_exception_type(errno_num, err_msg)
    FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'
    </module>

    If python is not reading from the PATH file, how can I specify where ffprobe is ?

    EDIT :
    It appears the python path is not aligned with my shell path.
    Using os.environ["PATH"]+=":/the_path/of/ffprobe/dir" at the beginning of each program allows me to use ffprobe, but why might my python path not be the same as my shell path ?

  • Cannot decode RAW .Y4M video : "Operation not permitted"

    25 janvier 2020, par Ham789

    I am running ffmpeg version 4.2.2 on macOS Sierra and I cannot decode a RAW video.

    First I create the .Y4M video :

    ffmpeg -y -i inputfolder/GH012088.MP4 temp_raw_video.Y4M

    Then I try to input it to ffmpeg :

    ffmpeg -i temp_raw_video.Y4M

    However I get the following error in the terminal : temp_raw_video.Y4M: Operation not permitted

    I have tried the above in Windows and it works fine. I have checked the permissions for the ’temp_raw_video.Y4M’ file and I have both read and write permissions.

    What is going on here ?

  • avcodec/vmdvideo : Fix NULL + 0

    26 mars 2021, par Andreas Rheinhardt
    avcodec/vmdvideo : Fix NULL + 0
    

    Affected the FATE tests filter-gradfun-sample and sierra-vmd-video.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/vmdvideo.c