Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (56)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (8013)

  • ffmpeg low volume - original just fine

    22 juillet 2012, par thevoipman

    For some reason my mp4's I reencode has such low volume, not sure what I'm doing wrong. Please help me if you could :

    ffmpeg -i "\"$FILENAME\"" -sameq -vf "\""movie=/files/logo.png [watermark] ; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10[out]\""" -ac 2 -vcodec libx264 -threads 0 -acodec libfaac -async 2 "\""$OUTPUT_DIRECTORY/abc$OUTPUTFILENAME"

    I hadded a few syntax to keep the audio in sync etc.

  • How can I get the volume of sound of a video in Python using moviepy ?

    15 juillet 2022, par IordanouGiannis

    I want to get the volume of sound of a video so I use the following :

    



    import numpy as np # for numerical operations
from moviepy.editor import VideoFileClip, concatenate

clip = VideoFileClip("soccer_game.mp4")
cut = lambda i: clip.audio.subclip(i,i+1).to_soundarray(fps=22000)
volume = lambda array: np.sqrt(((1.0*array)**2).mean())
volumes = [volume(cut(i)) for i in range(0,int(clip.audio.duration-2))] 


    



    But I get these errors :

    



    Exception AttributeError: "VideoFileClip instance has no attribute &#x27;reader&#x27;" in <bound method="method" of="of" instance="instance" at="at" 0x084c3198="0x084c3198">> ignored&#xA;&#xA;WindowsError: [Error 5] Access is denied&#xA;</bound>

    &#xA;&#xA;

    I am using IPython notebook and Python 2.7. &#xA;I assume something doesn't have the appropriate permissions. I have changed run this program as an administrator for ffmpeg.exe, ffplay.exe, ffprobe.exe.

    &#xA;

  • How can I get the volume of sound of a video in Python using moviepy ?

    24 janvier 2015, par evil_inside

    I want to get the volume of sound of a video so I use the following :

    import numpy as np # for numerical operations
    from moviepy.editor import VideoFileClip, concatenate

    clip = VideoFileClip("soccer_game.mp4")
    cut = lambda i: clip.audio.subclip(i,i+1).to_soundarray(fps=22000)
    volume = lambda array: np.sqrt(((1.0*array)**2).mean())
    volumes = [volume(cut(i)) for i in range(0,int(clip.audio.duration-2))]

    But I get these errors :

    Exception AttributeError: "VideoFileClip instance has no attribute 'reader'" in <bound method="method" of="of" instance="instance" at="at" 0x084c3198="0x084c3198">> ignored

    WindowsError: [Error 5] Access is denied
    </bound>

    I am using IPython notebook and Python 2.7.
    I assume something doesn’t have the appropriate permissions. I have changed run this program as an administrator for ffmpeg.exe, ffplay.exe, ffprobe.exe.