Recherche avancée

Médias (91)

Autres articles (30)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (6846)

  • ffmpeg, download video stream from url

    5 juillet 2021, par samiullah

    I am developing application to save any online webinar(video or audio) given the url using ffmpeg library. Url usually contain other contents like text, images as well. So i have problem, how to separately get video stream from url using ffmpeg(or some other better free library). Url may be for any site, not only for youtube, but as an example, link may be like

    


    http://www.youtube.com/watch?v=wnrJJYm7qIw

    


  • How to use IContainer with frame-by-frame data ?

    12 novembre 2014, par AnilJ

    We have implemented a video client where it captures N number of pictures (from web cam), encodes them and packs them as a block. This block is delivered to the decoder, which then initializes a new IContainer object each time with a buffer containing this received block.

    Although this design works well, by its design it introduces a time delay in the stream delivery. Since we are capturing N frames to build a block for delivery, the delay is N times the frame rate. Also we are not sure what is the cost (time) of creating and initializing IContainer object each time.

    To improve on this, we thinking of sending frame-by-frame encoded data to the receiver. However, creating new IContainer object in this case won’t work since it can not open/initialize with a P or B frame - It always requires an I-frame to initialize else open fails.

    Now my question is, how do we use the IContainer APIs for such a requirement ? We do not want to initialize/open the IContainer object each time. We want to know if it is possible to reuse the same IContainer object while we keep feeding it the received frames one by one in sequence. This way we completely avoid the source buffering as well as receiver buffering (we however will require a de-jitter buffer).

    We are using this APIs.
    http://www.xuggle.com/public/documentation/java/api/com/xuggle/xuggler/IContainer.html

    /anil.

  • MoviePy failing to execute because it cannot find ffmpeg on my macOS

    1er décembre 2023, par altiinberiisha

    I have a macbook pro running sonoma latest version, i have installed ffmpeg with brew and its located at /opt/homebrew/bin/ffmpeg

    


    Im trying to run this script but i get the error :

    


    from moviepy.editor import *
from moviepy.video.tools.subtitles import SubtitlesClip
from moviepy.config import change_settings
import os

os.environ["OMP_NUM_THREADS"] = 1
os.environ["IMAGEIO_FFMPEG_EXE"] = r"/opt/homebrew/bin/ffmpeg"

generator = lambda txt: TextClip(txt, font='Arial', fontsize=24, color='white')
subs = [((0, 4), 'subs1'),
        ((4, 9), 'subs2'),
        ((9, 12), 'subs3'),
        ((12, 16), 'subs4')]

subtitles = SubtitlesClip(subs, generator)

video = VideoFileClip("video.mp4")
result = CompositeVideoClip([video, subtitles.set_pos(('center', 'bottom'))])

result.write_videofile("output.mp4", fps=video.fps, temp_audiofile="temp-audio.m4a", remove_temp=True, codec="libx264",
                       audio_codec="aac")



    


    error :
RuntimeError: No ffmpeg exe could be found. Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.

    


    I tried reinstalling ffmpeg and installing it in the env of the project but still no luck.