Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (75)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

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

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (3972)

  • How to set the destination folder of a Node.js fluent-ffmpeg screenshot to your AWS S3 bucket using getSignedUrl() ?

    10 juillet 2017, par Madhavi Mohoni

    I’m writing a program to generate .png thumbnails (with the same name, in the same folder) for a set of .mp4 videos in my Amazon S3 bucket. For this example, I’m going to create a /folder/file.png for a /folder/file.mp4 in the bucket. I’ve managed to set the source URL using the s3 object and getSignedUrl as follows :

    var srcurl = s3.getSignedUrl('getObject', {
           Bucket: 'bucket-name',
           Key: '/folder/file.mp4'
         });

    and

    new ffmpeg({ source: srcurl })
        .screenshots({
           count: 1,
           filename: '%f'.substr(0, '%f'.indexOf('.')) + '.png',
           /* To shorten the long string that's returned */
           folder: desturl,
           size: MAX_WIDTH + 'x' + MAX_HEIGHT
         });

    The destination URL has to be the same folder as the source. So I set it as follows :

    var desturl = s3.getSignedUrl('putObject', {
           Bucket: 'bucket-name',
           Key: '/folder/file' + '.png'
         });

    This combination doesn’t work - is there a way to do this correctly ?

  • avformat/dashdec : Check whitelist

    15 janvier, par Michael Niedermayer
    avformat/dashdec : Check whitelist
    

    Fixes : CVE-2023-6602, V. DASH Playlist SSRF

    Found-by : Harvey Phillips of Amazon Element55 (element55)
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/dashdec.c
  • How to fix ffmpeg,js length error in react-js project | fix error in react project

    19 février 2024, par X3R0

    I've tried to import the ffmpeg js library into my react-typescript project, I can't really update my project's react version or react-scripts due to the current code base.

    &#xA;

    Error

    &#xA;

    ./node_modules/@ffmpeg/ffmpeg/dist/umd/ffmpeg.js&#xA;TypeError: REDACTED_PROJECT_ROOT\node_modules\@ffmpeg\ffmpeg\dist\umd\ffmpeg.js: Cannot read properties of undefined (reading &#x27;length&#x27;)&#xA;

    &#xA;

    Code

    &#xA;

    import React, { useEffect, useRef, useState } from &#x27;react&#x27;;&#xA;import { FFmpeg } from &#x27;@ffmpeg/ffmpeg&#x27;;&#xA;&#xA;/* MORE CODE HERE */&#xA;&#xA;const ffmpeg = new FFmpeg();&#xA;const baseURL = &#x27;https://unpkg.com/@ffmpeg/core@0.12.6/dist/umd&#x27;;&#xA;const coreURL = `${baseURL}/ffmpeg-core.js`;&#xA;const wasmURL = `${baseURL}/ffmpeg-core.wasm`;&#xA;const coreData = await fromURLToBlob(coreURL);&#xA;const wasmData = await fromURLToBlob(wasmURL);&#xA;const coreBlob = new Blob([coreData], { type: "text/javascript"});&#xA;const wasmBlob = new Blob([wasmData], { type: "application/wasm"});&#xA;await ffmpeg.load({&#xA;    coreURL: fromBlobToURL(coreBlob),&#xA;    wasmURL: fromBlobToURL(wasmBlob),&#xA;});       &#xA;&#xA;/* MORE CODE HERE */&#xA;

    &#xA;

    Versions

    &#xA;

    npm v8.19.4&#xA;node v16.20.2&#xA;

    &#xA;

    tsconfig.json

    &#xA;

    {&#xA;  "compilerOptions": {&#xA;    "target": "es5",&#xA;    "lib": [&#xA;      "dom",&#xA;      "dom.iterable",&#xA;      "esnext"&#xA;    ],&#xA;    "allowJs": true,&#xA;    "skipLibCheck": true,&#xA;    "esModuleInterop": true,&#xA;    "allowSyntheticDefaultImports": true,&#xA;    "strict": false,&#xA;    "forceConsistentCasingInFileNames": true,&#xA;    "noFallthroughCasesInSwitch": true,&#xA;    "module": "esnext",&#xA;    "moduleResolution": "node",&#xA;    "resolveJsonModule": true,&#xA;    "isolatedModules": true,&#xA;    "noEmit": true,&#xA;    "jsx": "react-jsx"&#xA;  },&#xA;  "include": [&#xA;    "src"&#xA;  ]&#xA;}&#xA;&#xA;

    &#xA;

    package.json

    &#xA;

    {&#xA;  "name": "frontend",&#xA;  "version": "0.1.0",&#xA;  "private": true,&#xA;  "dependencies": {&#xA;    "@emotion/react": "^11.10.4",&#xA;    "@emotion/styled": "^11.10.4",&#xA;    "@ffmpeg/ffmpeg": "^0.12.10",&#xA;    "@material-ui/core": "^4.12.3",&#xA;    "@mui/base": "^5.0.0-beta.36",&#xA;    "@mui/icons-material": "^5.10.3",&#xA;    "@mui/material": "^5.15.10",&#xA;    "@mui/x-data-grid": "^6.19.2",&#xA;    "@mui/x-data-grid-pro": "^6.19.2",&#xA;    "@reduxjs/toolkit": "^1.8.5",&#xA;    "@testing-library/jest-dom": "^5.14.1",&#xA;    "@testing-library/react": "^11.2.7",&#xA;    "@testing-library/user-event": "^12.8.3",&#xA;    "@toast-ui/editor": "^3.1.3",&#xA;    "@toast-ui/react-editor": "^3.1.3",&#xA;    "@types/jest": "^29.0.1",&#xA;    "@types/node": "^18.7.17",&#xA;    "@types/react": "^17.0.49",&#xA;    "@types/react-dom": "^18.0.6",&#xA;    "@zalando/oauth2-client-js": "^0.0.18",&#xA;    "ajv": "^8.12.0",&#xA;    "ajv-errors": "^3.0.0",&#xA;    "apexcharts": "^3.28.1",&#xA;    "arraybuffer-concat": "^0.0.1",&#xA;    "axios": "^1.4.0",&#xA;    "base64-blob": "^1.4.1",&#xA;    "bootstrap": "^5.1.1",&#xA;    "datetime-diff": "^0.2.1",&#xA;    "fuzzy-time": "^1.0.7",&#xA;    "jquery": "^3.6.0",&#xA;    "jso": "^4.1.1",&#xA;    "luxon": "^2.3.0",&#xA;    "pretty-bytes": "^5.6.0",&#xA;    "react": "^17.0.2",&#xA;    "react-apexcharts": "^1.3.9",&#xA;    "react-beautiful-dnd": "^13.1.0",&#xA;    "react-bootstrap": "^2.0.0-rc.0",&#xA;    "react-dom": "^17.0.2",&#xA;    "react-export-excel": "^0.5.3",&#xA;    "react-facebook": "^9.0.12",&#xA;    "react-helmet": "^6.1.0",&#xA;    "react-icons": "^4.3.1",&#xA;    "react-media-recorder": "^1.6.6",&#xA;    "react-notifications": "^1.7.2",&#xA;    "react-pages": "^0.4.4",&#xA;    "react-redux": "^7.2.8",&#xA;    "react-router": "^5.2.1",&#xA;    "react-router-dom": "^5.2.1",&#xA;    "react-scripts": "4.0.3",&#xA;    "react-toastify": "^8.0.2",&#xA;    "react-tooltip": "^4.2.21",&#xA;    "react-webcam": "^6.0.0",&#xA;    "recharts": "^2.1.8",&#xA;    "redux": "^4.2.0",&#xA;    "redux-thunk": "^2.4.1",&#xA;    "typescript": "^4.8.3",&#xA;    "web-vitals": "^1.1.2",&#xA;    "website-popup": "^3.0.0"&#xA;  },&#xA;  "scripts": {&#xA;    "start": "react-scripts start",&#xA;    "build": "set NODE_OPTIONS=--max-old-space-size=4096 &amp;&amp; react-scripts build --GENERATE_SOURCEMAP=false",&#xA;    "test": "react-scripts test",&#xA;    "eject": "react-scripts eject"&#xA;  },&#xA;  "eslintConfig": {&#xA;    "extends": [&#xA;      "react-app"&#xA;    ]&#xA;  },&#xA;  "browserslist": {&#xA;    "production": [&#xA;      ">0.2%",&#xA;      "not dead",&#xA;      "not op_mini all"&#xA;    ],&#xA;    "development": [&#xA;      "last 1 chrome version",&#xA;      "last 1 firefox version",&#xA;      "last 1 safari version"&#xA;    ]&#xA;  },&#xA;  "devDependencies": {&#xA;    "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6"&#xA;  }&#xA;}&#xA;&#xA;

    &#xA;