Recherche avancée

Médias (0)

Mot : - Tags -/masques

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

Autres articles (29)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (4063)

  • Making some simple video editing in python [closed]

    21 décembre 2023, par billy 356

    So I have a background.mp4 file, music.mp3
And a list of mp4 files like this : [1.mp4, 2.mp4, 3.mp4...] (these files are basically small images with a sound over them)

    


    In my python program, I want to add the music to the background.mp4 file, then for each file in my list, I want the file to be overlayed in the video (one after another at each time), and scaled at 75% and be placed at Y400, knowing that Y0 is the center.
The video will stop when there are no more files to add.

    


    I want to do this in python.
I tried using moviepy to do it, but exporting it took hours.
So I heard about ffmpeg-python, but I don't know how to use it.
I think it is easy, because that's some basic editing, but I don't know how to do it fast with python, any help would be appreciated !

    


  • Google Colab Runtime Error please install ffmpeg (version 4.2 is currently supported) andbuild torchvision from source

    4 juillet 2021, par Iman

    I'm using Google Colab to write a program using torch vision to extract frames from an mp4 video in my google drive. Thus far, I haven't wrote the full code yet but have been experimenting with torch vision.io library. Upon running the code, I get the following errors.

    


    Mounted at /content/gdrive&#xA;---------------------------------------------------------------------------&#xA;RuntimeError                              Traceback (most recent call last)&#xA; in <module>()&#xA;      6 &#xA;      7 video_path = "/content/drive/MyDrive/Training-Data-Videos/MASKED/00_MASKED_0_0.mp4"&#xA;----> 8 reader = torchvision.io.VideoReader(video_path, "video")&#xA;      9 reader.seek(2.0)&#xA;     10 frame = next(reader)&#xA;&#xA;/usr/local/lib/python3.7/dist-packages/torchvision/io/__init__.py in __init__(self, path, stream)&#xA;    106                 &#x2B; "to enable video_reader support, please install "&#xA;    107                 &#x2B; "ffmpeg (version 4.2 is currently supported) and"&#xA;--> 108                 &#x2B; "build torchvision from source."&#xA;    109             )&#xA;    110         self._c = torch.classes.torchvision.Video(path, stream)&#xA;&#xA;RuntimeError: Not compiled with video_reader support, to enable video_reader support, please install ffmpeg (version 4.2 is currently supported) andbuild torchvision from source.&#xA;&#xA;</module>

    &#xA;

    The code that I have written in the notebook so far is the following :

    &#xA;

    import os &#xA;import torchvision &#xA;from google.colab import drive&#xA;drive.mount(&#x27;/content/gdrive&#x27;, force_remount=True)&#xA;&#xA;video_path = "/content/drive/MyDrive/Training-Data-Videos/MASKED/00_MASKED_0_0.mp4"&#xA;reader = torchvision.io.VideoReader(video_path, "video")&#xA;reader.seek(2.0)&#xA;frame = next(reader)&#xA;print (frame)&#xA;&#xA;

    &#xA;

    To solve the problem, I tried to install ffmpeg on colab as this post says but it did not work. Can someone tell me what is the error ?

    &#xA;

  • Enable FFMPEG extension on google app engine

    23 mars 2015, par manish1706

    I am searching for the feature/cmd that can enable FFMPEG extension for php application over App Engine.