Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (92)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (10051)

  • Apache Tika 2.0.9 programm ffmpeg and exiftool not found ?

    6 avril 2024, par mj44

    I use an JavaFX Maven Project to use Apache Tika Version 2.9.0.
The Java Test program will be finished and all methods that I create will done right.
I have in the log file a lot of DEBUG errors and Idon't know why ?
I habe spent many hours to clear the problem.

    


    Here's an excerpt of the logfile

    


    2024-04-03 14:56:12 [main] DEBUG org.apache.tika.parser.external.ExternalParser - exception trying to run  ffmpeg
java.io.IOException: Cannot run program "ffmpeg": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1140) ~[?:?]
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1074) ~[?:?]
...
2024-04-03 14:56:12 [main] DEBUG org.apache.tika.parser.external.ExternalParser - exception trying to run  exiftool
java.io.IOException: Cannot run program "exiftool": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1140) ~[?:?]
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1074) ~[?:?]
...



    


    The message says that ffmpeg and exiftool are not found.

    


    This is my tika-config.xml

    


    &lt;?xml version="1.0" encoding="UTF-8"?>&#xA;<properties>&#xA;    <parsers>&#xA;        <parser class="org.apache.tika.parser.DefaultParser"></parser>&#xA;        <parser class="org.apache.tika.parser.pdf.PDFParser"></parser>&#xA;        &#xA;        <parser class="org.apache.tika.parser.external.ExternalParser">&#xA;            <params>&#xA;                true&#xA;                &#xA;                "D:\Tools\ffmpeg-6.1.1\bin\ffmpeg.exe"&#xA;            </params>&#xA;        </parser>&#xA;        &#xA;        <parser class="org.apache.tika.parser.external.ExternalParser">&#xA;            <params>&#xA;                true&#xA;                &#xA;                "D:\Tools\exiftool.exe"&#xA;            </params>&#xA;        </parser>&#xA;    </parsers>&#xA;    <detector>&#xA;        <detector class="org.apache.tika.detect.DefaultDetector"></detector>&#xA;    </detector>&#xA;</properties>&#xA;

    &#xA;

    I tested the path of the programms in a console ant it worked fine ?&#xA;I don't know what I can do now ?

    &#xA;

    Thanks for Help

    &#xA;

    I have downloaded new copies of the ffmpeg and exiftool and installed them.&#xA;I tested it in a console to run and both tools work fine.&#xA;I tested the permissions, no problems with permissions&#xA;I tested that the tika-config.xml will be loaded, it loaded.

    &#xA;

  • mov : Drop dref when unable to parse

    9 novembre 2015, par Vittorio Giovara
    mov : Drop dref when unable to parse
    

    Some entries might be either empty or contain types we do not parse
    (eg. ’url ’). In both cases, if an ’alis’ is not the first entry,
    external references are not loaded, so make sure that the array starts
    with an ’alis’ dref.

    • [DBH] libavformat/mov.c
  • Babel Loader error when using ffmpeg.wasm in CRA react app

    6 avril 2024, par Sooraj Chandu

    I am trying to implement a video editor using ffmpeg-wasm in CRA react app.

    &#xA;

    Package dependencies :

    &#xA;

    "@ffmpeg/ffmpeg": "^0.12.10",&#xA;"@ffmpeg/util": "^0.12.1",&#xA;

    &#xA;

    Below is a sample class that I am trying to implement :

    &#xA;

    import React, {useRef, useState} from &#x27;react&#x27;;&#xA;import { FFmpeg } from "@ffmpeg/ffmpeg";&#xA;import { toBlobURL, fetchFile } from "@ffmpeg/util";&#xA;&#xA;function Trimmer() {&#xA;    const [loaded, setLoaded] = useState(false);&#xA;    const ffmpegRef = useRef(new FFmpeg());&#xA;    const videoRef = useRef<htmlvideoelement null="null">(null)&#xA;    const messageRef = useRef<htmlparagraphelement null="null">(null)&#xA;&#xA;    const load = async () => {&#xA;        const baseURL = "https://unpkg.com/@ffmpeg/core-mt@0.12.6/dist/esm";&#xA;        const ffmpeg = ffmpegRef.current;&#xA;        ffmpeg.on("log", ({ message }) => {&#xA;            if (messageRef.current) messageRef.current.innerHTML = message;&#xA;        });&#xA;        // toBlobURL is used to bypass CORS issue, urls with the same&#xA;        // domain can be used directly.&#xA;        await ffmpeg.load({&#xA;            coreURL: await toBlobURL(`${baseURL}/ffmpeg-core.js`, "text/javascript"),&#xA;            wasmURL: await toBlobURL(&#xA;                `${baseURL}/ffmpeg-core.wasm`,&#xA;                "application/wasm"&#xA;            ),&#xA;            workerURL: await toBlobURL(&#xA;                `${baseURL}/ffmpeg-core.worker.js`,&#xA;                "text/javascript"&#xA;            ),&#xA;        });&#xA;        setLoaded(true);&#xA;    };&#xA;&#xA;    const transcode = async () => {&#xA;        const videoURL = "https://raw.githubusercontent.com/ffmpegwasm/testdata/master/video-15s.avi";&#xA;        const ffmpeg = ffmpegRef.current;&#xA;        await ffmpeg.writeFile("input.avi", await fetchFile(videoURL));&#xA;        await ffmpeg.exec(["-i", "input.avi", "output.mp4"]);&#xA;        const fileData = await ffmpeg.readFile(&#x27;output.mp4&#x27;);&#xA;        const data = new Uint8Array(fileData);&#xA;        if (videoRef.current) {&#xA;            videoRef.current.src = URL.createObjectURL(&#xA;                new Blob([data.buffer], { type: &#x27;video/mp4&#x27; })&#xA;            )&#xA;        }&#xA;    };&#xA;&#xA;    return loaded ? (&#xA;        &lt;>&#xA;            <video ref="{videoRef}" controls="controls"></video>&#xA;            <br />&#xA;            <button>Transcode avi to mp4</button>&#xA;            <p ref="{messageRef}"></p>&#xA;        >&#xA;    ) : (&#xA;        <button>Load ffmpeg-core</button>&#xA;    );&#xA;}&#xA;&#xA;export default Trimmer;&#xA;</htmlparagraphelement></htmlvideoelement>

    &#xA;

    I have installed the dependencies and when trying to start the application, it throws an error given below :

    &#xA;

    index.js:1 ./node_modules/@ffmpeg/ffmpeg/dist/umd/ffmpeg.js 55:4&#xA;Module parse failed: Unexpected character &#x27;#&#x27; (55:4)&#xA;File was processed with these loaders:&#xA; * ./node_modules/babel-loader/lib/index.js&#xA;You may need an additional loader to handle the result of these loaders.&#xA;|   new Error("failed to import ffmpeg-core.js");&#xA;|   class i {&#xA;>     #e = null;&#xA;|     #t = {};&#xA;|     #s = {};&#xA;

    &#xA;

      &#xA;
    1. React - 16.14.0
    2. &#xA;

    3. NPM - 6.14.5
    4. &#xA;

    5. Babel Loader - 8.1.0
    6. &#xA;

    &#xA;