
Recherche avancée
Médias (1)
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (53)
-
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (2856)
-
Apache Tika 2.0.9 programm ffmpeg and exiftool not found ?
6 avril 2024, par mj44I 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


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



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


Thanks for Help


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


-
mov : Drop dref when unable to parse
9 novembre 2015, par Vittorio Giovara -
Babel Loader error when using ffmpeg.wasm in CRA react app
6 avril 2024, par Sooraj ChanduI am trying to implement a video editor using ffmpeg-wasm in CRA react app.


Package dependencies :


"@ffmpeg/ffmpeg": "^0.12.10",
"@ffmpeg/util": "^0.12.1",



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


import React, {useRef, useState} from 'react';
import { FFmpeg } from "@ffmpeg/ffmpeg";
import { toBlobURL, fetchFile } from "@ffmpeg/util";

function Trimmer() {
 const [loaded, setLoaded] = useState(false);
 const ffmpegRef = useRef(new FFmpeg());
 const videoRef = useRef<htmlvideoelement null="null">(null)
 const messageRef = useRef<htmlparagraphelement null="null">(null)

 const load = async () => {
 const baseURL = "https://unpkg.com/@ffmpeg/core-mt@0.12.6/dist/esm";
 const ffmpeg = ffmpegRef.current;
 ffmpeg.on("log", ({ message }) => {
 if (messageRef.current) messageRef.current.innerHTML = message;
 });
 // toBlobURL is used to bypass CORS issue, urls with the same
 // domain can be used directly.
 await ffmpeg.load({
 coreURL: await toBlobURL(`${baseURL}/ffmpeg-core.js`, "text/javascript"),
 wasmURL: await toBlobURL(
 `${baseURL}/ffmpeg-core.wasm`,
 "application/wasm"
 ),
 workerURL: await toBlobURL(
 `${baseURL}/ffmpeg-core.worker.js`,
 "text/javascript"
 ),
 });
 setLoaded(true);
 };

 const transcode = async () => {
 const videoURL = "https://raw.githubusercontent.com/ffmpegwasm/testdata/master/video-15s.avi";
 const ffmpeg = ffmpegRef.current;
 await ffmpeg.writeFile("input.avi", await fetchFile(videoURL));
 await ffmpeg.exec(["-i", "input.avi", "output.mp4"]);
 const fileData = await ffmpeg.readFile('output.mp4');
 const data = new Uint8Array(fileData);
 if (videoRef.current) {
 videoRef.current.src = URL.createObjectURL(
 new Blob([data.buffer], { type: 'video/mp4' })
 )
 }
 };

 return loaded ? (
 <>
 <video ref="{videoRef}" controls="controls"></video>
 <br />
 <button>Transcode avi to mp4</button>
 <p ref="{messageRef}"></p>
 >
 ) : (
 <button>Load ffmpeg-core</button>
 );
}

export default Trimmer;
</htmlparagraphelement></htmlvideoelement>


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


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



- 

- React - 16.14.0
- NPM - 6.14.5
- Babel Loader - 8.1.0