Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (40)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (5858)

  • Flutter ffmpeg kit : Invalid size error when trying to scale video

    27 juillet 2023, par veryepicdude

    I'm trying to resize a video to match instagram's video format requirements. I'm using the ffmpeg_kit_flutter_full_gpl: ^5.1.0 package to do so and this is the function I'm calling :

    


    Future<void> resizeVideo(String input, String output) async {&#xA;&#xA;  final command = &#x27;-i $input -c:v libx264 -aspect 16:9 -crf 18 -vf "scale=iw*min(1280/iw\,720/ih):ih*min(1280/iw\,720/ih),pad=1280:720:(1280-iw)/2:(720-ih)/2" -fpsmax 60 -preset ultrafast -c:a aac -b:a 128k -ac 1 -use_editlist false -ar 48000 -pix_fmt yuv420p -movflags &#x2B;faststart -t 59 -y $output&#x27;;&#xA;  final session = await FFmpegKit.execute(command);&#xA;  print("resize done with ${await session.getReturnCode()}");&#xA;}&#xA;</void>

    &#xA;

    However I get this error every time :

    &#xA;

     Stream #0:0[0x1](und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 60 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2023-07-27T15:30:28.000000Z&#xA;      handler_name    : Core Media Audio&#xA;      vendor_id       : [0][0][0][0]&#xA;  Stream #0:1[0x2](und): Video: hevc (hvc1 / 0x31637668), yuv420p(tv, smpte170m/bt709/bt709), 720x1280, 2085 kb/s, 30 fps, 30 tbr, 600 tbn (default)&#xA;    Metadata:&#xA;      creation_time   : 2023-07-27T15:30:28.000000Z&#xA;      handler_name    : Core Media Video&#xA;      vendor_id       : [0][0][0][0]&#xA;Stream mapping:&#xA;  Stream #0:1 -> #0:0 (hevc (native) -> h264 (libx264))&#xA;  Stream #0:0 -> #0:1 (aac (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[Parsed_scale_0 @ 0x2834a53f0] Invalid size &#x27;iw*min(1280/iw&#x27;&#xA;[AVFilterGraph @ 0x28278e3a0] Error initializing filter &#x27;scale&#x27;[AVFilterGraph @ 0x28278e3a0]  with args &#x27;iw*min(1280/iw&#x27;[AVFilterGraph @ 0x28278e3a0] &#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: Invalid argument&#xA;Error while processing the decoded data for stream #0:1&#xA;[aac @ 0x105334290] Qavg: 461.613&#xA;[aac @ 0x105334290] 2 frames left in the queue on closing&#xA;

    &#xA;

    Removing the scale filter makes the function work fine, but it fails the instagram video requirements listed here.&#xA;Any help will be greatly appreciated.

    &#xA;

  • Matomo NAMED 2023 Hi-Tech Awards finalist

    1er août 2023, par Lance — Press Releases

    WELLINGTON, N.Z., April 20, 2023 – InnoCraft, the makers of world-leading open-source web analytics platform Matomo, has been named an ASX Hi-Tech Emerging Company of the Year finalist in the 2023 Hi-Tech Awards. 



    Matomo founder Matthieu Aubry says, “At Matomo, we believe in empowering individuals and organizations to make informed decisions about their digital presence. By providing an open-source website analytics platform, we have created a more transparent and trustworthy digital ecosystem. We are proud to be recognised as a finalist for the Hi-Tech Awards, and we will continue to work towards a more open and ethical digital landscape, and grow the business in New Zealand and worldwide.”



    About Matomo

    Matomo, launched in 2007 as an open-source, privacy-friendly Google Analytics alternative, is trusted by over 1.5 million websites in 220 countries and has been translated in over 50 languages. Matomo tracks and analyses online visits and traffic to give users a deeper understanding of their website visitors to drive conversions and revenue ; while keeping businesses compliant with privacy laws worldwide, such as the EU’s General Data Protection Regulation (GDPR) and The California Consumer Privacy Act (CCPA).

    Aubry says Matomo is performing extremely well internationally as consumers and organizations look for privacy-focused analytics solutions, with several European countries already ruling the use of Google Analytics illegal due to data transfers to the US. In addition, Matomo’s user increase was recognized earlier this year with W3Tech’s award for the best web analytics software in its Web Technologies of the Year 2022 – with previous winners including Google Analytics and Facebook Pixel.



    A record number of companies entered the 2023 Hi-Tech Awards, with entries coming in from across the country and from all areas of the Hi-Tech sector. This depth is reflected in the line-up of finalists this year, according to David Downs, Chair of the Hi-Tech Trust, who says the standard of entries continue to grow every year.

”

    The hi-tech sector continues to flourish and it’s fantastic to see the success that so many of our companies enjoy on the international stage. This sector continues to prove its resilience and is at the forefront of our export economy in turbulent times,” says Downs.



    The Hi-Tech Awards Gala Dinner will take place on Friday, the 23rd of June, in Christchurch. 


     

  • 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;