Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (105)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

Sur d’autres sites (16061)

  • ffmpeg : fix transcoding dvbsub to dvbsub

    22 juin 2014, par Anshul Maheshwari
    ffmpeg : fix transcoding dvbsub to dvbsub
    

    fix ticket #2024

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] ffmpeg.c
  • mpegts muxer, DVB subtitles encoder : common DVB subtitles payload

    11 janvier 2014, par Serhii Marchuk
    mpegts muxer, DVB subtitles encoder : common DVB subtitles payload
    

    Improved DVB subtitles encoder to generate AVPacket.data in the same
    format as generates MPEGTS demuxer + DVB subtitles parser. So now single
    format of DVB subtitles data is used across all the components of FFmpeg :
    only subtitles payload WITHOUT 0x20 0x00 bytes at the beginning and 0xFF
    trailing byte.

    Improved MPEGTS muxer to support format of DVB subtitles in
    AVPacket.data described above : while muxing we add two bytes 0x20 0x00 to
    the beginning of and 0xFF to the end of DVB subtitles payload.

    The patch fixes DVB subtitle copy problems : tickets #2989 fully and #2024
    partly.

    Signed-off-by : Clément Bœsch <u@pkh.me>

    • [DH] libavcodec/dvbsub.c
    • [DH] libavcodec/version.h
    • [DH] libavformat/mpegtsenc.c
    • [DH] libavformat/version.h
  • How to install Ffmpeg fluent in LAMBDA ?

    9 octobre 2020, par Jhony code

    Hi, can you help how did you set up the library (node-fluent-ffmpeg) in a lambda function correctly ?

    &#xA;

    Because i already set up the :

    &#xA;

      &#xA;
    • Serverless file with it's layer parameters
    • &#xA;

    • Uploaded the binaries to the lambda function as a layer
    • &#xA;

    • Already set up the FFPROBE_PATH AND FFMPEG_PATH from the lambda function
    • &#xA;

    &#xA;

    Also the weird thing is that : the lambda function just finish working, like sending a normal response.

    &#xA;

    https://user-images.githubusercontent.com/35440957/95387637-ff99a580-08be-11eb-9fc9-1498aea2e2c1.png

    &#xA;

    I mean also if you could show me step by step how did you make it work in a lambda function ?

    &#xA;

    You will see the following example of how i have everything setup and it still does not work :

    &#xA;

    1- This is from the lambda console

    &#xA;

    https://user-images.githubusercontent.com/35440957/95386867-ee03ce00-08bd-11eb-91ae-29b45bd90471.png

    &#xA;

    https://user-images.githubusercontent.com/35440957/95386217-f60f3e00-08bc-11eb-9fd8-b51d1b04a81e.png

    &#xA;

    2- My json dependencies

    &#xA;

     "dependencies": {&#xA;    "aws-sdk": "^2.764.0",&#xA;    "aws-serverless-express": "^3.3.8",&#xA;    "fluent-ffmpeg": "^2.1.2",&#xA;    "lambduh-execute": "^1.3.0"&#xA;  }&#xA;

    &#xA;

    3- My serverless file

    &#xA;

    `service: functionName&#xA;&#xA;provider:&#xA;  name: aws&#xA;  runtime: nodejs12.x&#xA;  memorySize: 3008&#xA;  timeout: 300&#xA;  stage: live&#xA;  region: us-east-1&#xA;  environment:&#xA;    FFMPEG_PATH: /opt/ffmpeg/ffmpeg&#xA;    FFPROBE_PATH: /opt/ffmpeg/ffprobe&#xA;&#xA;functions:&#xA;  api:&#xA;    handler: lambda.handler&#xA;    events:&#xA;      - s3: ${self:custom.bucket}&#xA;    layers:&#xA;      - { Ref: FfmpegLambdaLayer }&#xA;&#xA;layers:&#xA;  ffmpeg:&#xA;    path: layer&#xA;&#xA;custom:&#xA;  bucket: buckename&#xA;&#xA;

    &#xA;

    4- The directory of the layer

    &#xA;

    https://user-images.githubusercontent.com/35440957/95386502-6918b480-08bd-11eb-95e6-1b0b78f3a230.png

    &#xA;

    5- Javascript file

    &#xA;

    &#xA;const fs = require("fs");&#xA;const AWS = require("aws-sdk");&#xA;const ffmpeg = require("fluent-ffmpeg");&#xA;const s3 = new AWS.S3();&#xA;&#xA;exports.handler = async (event, context, callback) => {&#xA;&#xA;ffmpeg({&#xA;        source: `**Object file which i already verified it exists**`&#xA;      })&#xA;        .on("filenames", async (filenames) => {&#xA;          console.log("Uploading please wait");&#xA;        })&#xA;        .on("error", function (err) {&#xA;          console.log("Error in filenames section: " &#x2B; JSON.stringify(err));&#xA;        })&#xA;        .on("end", function () {&#xA;          console.log("Screenshots taken");&#xA;        })&#xA;        .screenshots({&#xA;          count: 10,&#xA;          folder: "tmp/",&#xA;          filename: "thumbnail-at-%i.png",&#xA;          size: "1600x900",&#xA;        })&#xA;        .on("end", function (stdout, stderr) {&#xA;&#xA;&#xA;        })&#xA;        .on("error", function (err) {&#xA;          console.log("Error writing video to disk: " &#x2B; JSON.stringify(err));&#xA;          throw "An error: " &#x2B; err.message;&#xA;        });&#xA;&#xA;};&#xA;&#xA;

    &#xA;

    Expected results

    &#xA;

    The dependecy must work as expected in a AWS lambda function.

    &#xA;

    Observed results

    &#xA;

    When using enviroment variables

    &#xA;

    https://user-images.githubusercontent.com/35440957/95548905-154cbf00-09d4-11eb-8f46-f06cd012b05b.png

    &#xA;

    When not using enviroment variables

    &#xA;

    Lambda function just finish it's job without showing any log (Error) messages&#xA;In the cloudwatch console it just show the log that lambda finished de function succesfully (Not the expected from the dependency)

    &#xA;

    I already used this dependecy locally, and it works ! but in LAMBDA it is too hard

    &#xA;

    Checklist

    &#xA;

      &#xA;
    • [ X] I have read the FAQ
    • &#xA;

    • [ X] I have included full stderr/stdout output from ffmpeg
    • &#xA;

    • [ X] I have included the binaries from the static build and deployed it to the lambda function
    • &#xA;

    • [ X] I have set the enviroment variables&#xA;FFMPEG_PATH : /opt/ffmpeg/ffmpeg&#xA;FFPROBE_PATH : /opt/ffmpeg/ffprobe
    • &#xA;

    &#xA;

    Version information

    &#xA;

      &#xA;
    • fluent-ffmpeg version : ^2.1.2
    • &#xA;

    • ffmpeg version or build : ffmpeg-git-20190925-amd64-static.tar.xz
    • &#xA;

    • OS : Lambda (Linux enviroment) / Node 12.x
    • &#xA;

    &#xA;