Recherche avancée

Médias (91)

Autres articles (21)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (3607)

  • Can't download Accord NuGet in VS 2015 nor VS 2017

    26 juin 2017, par John Leone

    Here is the package,,, NuGet Accord.Video.FFMPEG

    Here is the error,,,
    Package restore failed. Rolling back package changes for ’EssentialTimeLapseVideo’.

    I used this NuGet in a Windows Form app I am working on, and had no issues. Then something came up with Time Lapse, and I wanted to use it in a UWP, but, for some reason it won’t install.

    I tried the mirror suggested, and got the following.
    enter image description here

    Any help would be appreciated. Thanks, John.

  • Python Lambda function and ffmpeg command with stdout from jpg to ts file

    28 juillet 2021, par Sflagg

    I have a AWS Lambda Python function setup to process jpg and convert it to a ts file.

    


    I followed these instructions https://aws.amazon.com/blogs/media/processing-user-generated-content-using-aws-lambda-and-ffmpeg/ but changed the command from vfr to cfr conversion to a jpg to ts conversion.

    


    This is the command I am using

    


    ffmpeg_cmd = "/opt/bin/ffmpeg -r 30000/1001 -loop 1 -i \"" + s3_source_signed_url + "\" -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=48000 -t 30 -vcodec libx264 -crf 23 -s 1920x1080 -r 30000/1001 -g 150 -pix_fmt yuv420p -acodec aac -b:a 96k -ar 48000 -"

    


    Everything else is basically the same from the AWS article besides having s3 triggers in my Lambda look for jpeg and jpg suffixes.

    


    But this results in 0 byte ts file.

    


    I have a hunch that I need to modify the command that has a seekable output format (e.g. mpegts) when writing to stdout ; currently my command is likely not working for stdout and that is why I get an empty ts file. But I am having trouble formatting the command correctly. Any help with this would be greatly appreciated !

    


  • Creating Thumbnails From Ffmpeg Hangs Php

    30 octobre 2012, par Piyush Arora

    I have been working on a php webservice, which receives videos(uploaded) from iphone and upload them to Amazon cloudFront. After uploading videos, I need to generate thumbnails for video from the Amazon link generated. I am using ffmpeg with shell_exec command for it. Here is the code for the same :

    public function createThumbnail($userId,$fileUrl,$imageName){
       //$imageUrl = 'http://184.168.116.177:81/json_api/json/bin/';
       if(!is_dir("images/".$userId)){
           mkdir("images/".$userId);
       }
       // path of installed ffmpeg
       $ffmpeg = $_SERVER['DOCUMENT_ROOT'] .'bin/ffmpeg';
       $cmd = "$ffmpeg  -itsoffset -1 -i $fileUrl -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 images/".$userId."/".$imageName;

       shell_exec($cmd);

       return "images/".$userId."/".$imageName;
    }

    The above code generates the thumbnail, but script does not execute after shell_exec command. So, there is no response sent to iphone end about the thumbnail link. This function works well video is uploaded from web browser of pc. If I comment, shell_exec command, then response is sent to iphone end, but obviousely image is not created.

    Thanks in advance.