Recherche avancée

Médias (91)

Autres articles (89)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

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

  • How to read remote video on Amazon S3 using ffmpeg

    9 septembre 2024, par virtualize

    I need to create poster frames from videos hosted on Amazon S3 via ffmpeg.

    



    So is there a way to use the remote video file directly in ffmpeg command line like this :
    
ffmpeg -i "http://bucket.s3.amazonaws.com/video.mp4" -ss 00:00:10 -vframes 1 -f image2 "image%03d.jpg"

    



    ffmpeg just returns :
    &#xA;http://bucket.s3.amazonaws.com/video.mp4: I/O error occurred<br />&#xA;Usually that means that input file is truncated and/or corrupted.

    &#xA;&#xA;

    I also tried forcing ffmpeg to use the videos mp4 container for reading :
    &#xA;ffmpeg -f mp4 -i "http://bucket.s3.amazonaws.com/video.mp4" ...
    &#xA;But no luck.

    &#xA;&#xA;

    Wget this video from S3 and processing it locally works fine of course,
    &#xA;as well as reading the file remotely from other 'standard' http servers.
    &#xA;So I know that ffmpeg supports remote file reading, but why not on S3 ?

    &#xA;

  • Get video duration of file hosted on Amazon S3

    10 janvier 2020, par Michi

    I’m starting a portal which distributes videos. The idea is to upload the videos to Amazon S3 and gather the necessary data using PHP from my server. So far everything works fine... the only thing I could not manage to get is the duration of the video :-( Could anybody give me a hint on how to accomplish it ?

    Thanks,
    Miguel

    UPDATE :

    I finally opted to do it using FFmpeg. I have already installed FFmpeg on the server and I’m now trying to execute the command in the shell prior to execute it with PHP. I’m passing it the URL from Amazon (I tried both the cloudfront URL and the S3 URL) but it says that there is not such a directory or file. I’ve seen examples on the web using external files so I expected it to work.

    The command I’m using is

    ffmpeg -i https://s3-eu-west-1.amazonaws.com/path/to/file.m4v

    Is there something I need to configure in order to use external URLs ?

  • Videos written with moviepy on amazon aws S3 are empty

    10 avril 2019, par cellistigs

    I am working on processing a dataset of large videos ( 100 GB) for a collaborative project. To make it easier to share data and results, I am keeping all videos remotely on an amazon S3 bucket, and processing it by mounting the bucket on an EC2 instance.

    One of the processing steps I am trying to do involves cropping the videos, and rewriting them into smaller segments. I am doing this with moviepy, splitting the video with the subclip method and calling :

    subclip.write_videofile("PathtoS3Bucket"+VideoName.split('.')[0]+'part' +str(segment)+ '.mp4',codec = 'mpeg4',bitrate = "1500k",threads = 2)

    I found that when the videos are too large (parameters set as above) calls to this function will sometimes generate empty files in my S3 bucket ( 10% of the time). Does anyone have insight into features of moviepy/ffmpeg/S3 that would lead to this ?