Recherche avancée

Médias (91)

Autres articles (32)

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

  • 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 not working in google colab

    16 août 2018, par Nikhil Wagh

    I’m trying to use Google Colab to do something. Particularly I want to use ffmpeg package to create a video from a image.

    But ffmpeg doesn’t seems to be working fine. Here is the link to my notebook : https://colab.research.google.com/drive/1YP-DSRoZO-Afz03tjwPfoxA-Kttm-2vK

    The output of this (in the last block) was supposed to be 400 400 instead of 0 0

    frame_width = int(cap.get(3))
    frame_height = int(cap.get(4))
    print frame_width, frame_height

    The same code is working fine with Azure notebooks and also on my local machine.

    What can be the reason for it ? And how to rectify that ?

  • avformat/vobsub : do not create empty streams.

    24 mai 2014, par Clément Bœsch
    avformat/vobsub : do not create empty streams.
    

    Fixes NULL dereference in vobsub_read_packet() on vobsub->q[i]->subs.

    Fixes ticket #3669.

    • [DH] libavformat/mpeg.c