Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (90)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (10326)

  • ffmpeg - ffmpeg aws lamnda function error

    30 novembre 2018, par Pramod Gehlot

    I am getting error

    Execution result : failed(logs)
    Details

    The area below shows the result returned by your function execution. Learn more about returning results from your function.

    {
     "errorMessage": "RequestId: eb7906af-f46d-11e8-ae3b-45487c02a68e Process exited before completing request"
    }

    Summary

    Code SHA-256
    ca50xloHl4xLOSWox2xidHxC1VHyNqwq3kECKraw7/c=
    Request ID
    eb7906af-f46d-11e8-ae3b-45487c02a68e
    Duration
    38.73 ms
    Billed duration
    100 ms
    Resources configured
    128 MB
    Max memory used
    19 MB

    Log output

    The section below shows the logging calls in your code. These correspond to a single row within the CloudWatch log group corresponding to this Lambda function. Click here to view the CloudWatch log group.

    START RequestId: eb7906af-f46d-11e8-ae3b-45487c02a68e Version: $LATEST
    2018-11-30T07:02:38.509Z    eb7906af-f46d-11e8-ae3b-45487c02a68e    TypeError: Cannot create property 'stack' on string 'Could not find ffmpeg executable, tried "/var/task/node_modules/@ffmpeg-installer/linux-x64/ffmpeg" and "/var/task/node_modules/@ffmpeg-installer/ffmpeg/node_modules/@ffmpeg-installer/linux-x64/ffmpeg"'

    END RequestId: eb7906af-f46d-11e8-ae3b-45487c02a68e
    REPORT RequestId: eb7906af-f46d-11e8-ae3b-45487c02a68e  Duration: 38.73 ms  Billed Duration: 100 ms     Memory Size: 128 MB Max Memory Used: 19 MB  
    RequestId: eb7906af-f46d-11e8-ae3b-45487c02a68e Process exited before completing request
  • lavc/hevcdec : move active VPS from HEVCParamSets to HEVCContext

    5 juin 2024, par Anton Khirnov
    lavc/hevcdec : move active VPS from HEVCParamSets to HEVCContext
    

    Active VPS is a property of the decoding process, not of the list of
    parameter sets.

    Check that the VPS can only change in a base layer - while this can
    never happen currently (as no other layers can exist in the decoder), it
    will become useful when multilayer decoding is supported.

    • [DH] libavcodec/hevc/hevcdec.c
    • [DH] libavcodec/hevc/hevcdec.h
    • [DH] libavcodec/hevc/ps.c
    • [DH] libavcodec/hevc/ps.h
  • PHP $_FILE Temp Location open_basedir Conflict PHP-FPM/Nginx

    16 septembre 2017, par xendi

    I have a script for uploading files to my site. It works great but now I’m wanting to extract meta data from video files using the ffmpeg/ffprobe library. My code :

    if (!empty($_FILES)) {
               $requestAr = requestCheck(['title', 'description']);
               $assetName = randomString(11);
               $assetSalt = randomString(3);

               $bucket = "videos";
               $fileTmpPath = $_FILES['qqfile']['tmp_name'];
               $filenameOrig = $_FILES['qqfile']['name'];
               $fileExtension = pathinfo($filenameOrig, PATHINFO_EXTENSION);
               $assetFilename = $assetName . "_$assetSalt.$fileExtension";

               $trustedExtensions = ['webm', 'mp4', 'ogg'];
               if(array_search($fileExtension, $trustedExtensions) !== false) {
                   $ffprobe = FFMpeg\FFProbe::create([
                       'ffprobe.binaries' => '/usr/bin/ffprobe'
                   ]);
                   $fileInfo = $ffprobe
                       ->format($fileTmpPath) // extracts file informations
                       ->get('duration');             // returns the duration property
                   print_r($fileInfo);
               }
    }

    I wind up with this error :

    file_exists(): open_basedir restriction in effect. File(/usr/bin/ffprobe) is not within the allowed path(s): <lists all="all" the="the" directories="directories" in="in" variable="variable">
    </lists>

    I have passed the ffmpeg library the absolute path to ffprobe so it knows where it is. I was searching around and some people were saying this is because the lib can’t access the tmp directory with the uploaded file. In either case, I’ve been trying to disable open_basedir or at least add the paths I need to it to get this to work.

    I tried setting open_basedir to none in my php.ini but it didn’t work. When I view phpinfo(), it still lists a bunch of paths for that setting. I tried to grep where open_basedir exists on the server. Indeed, it’s the php.ini files and I shouldn’t need to modify any other than the one reported in phpinfo().