Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (64)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9110)

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

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

  • ffmpeg concat videos with own audio and add a soundtrack 50% volume

    17 novembre 2020, par fedep11

    I have a list of file in a txt, I need to concat (files are same codec and size and have sound), than i need to add a soundtrack with 50% volume. Thanks

    &#xA;

    This is the command I use to concat but this substitute the audio with the new soundtrack, instead I need to mix with the original sound in the file, and I need to control the volume of the soundtrack.&#xA;ffmpeg -f concat -safe 0 -i "concat:file.txt" -i "soundtrack.mp3" -c copy "output.mp4"

    &#xA;