
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin 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 (...)
Sur d’autres sites (9931)
-
fftools/cmdutils : fix error message for "ffmpeg -init_hw_device list"
26 mars, par Jun Zhaofftools/cmdutils : fix error message for "ffmpeg -init_hw_device list"
When running 'ffmpeg -init_hw_device list' to display available hardware
devices, it incorrectly shows an error message :
"Failed to set value 'list' for option 'init_hw_device' : Immediate exit requested"This is a regression introduced by commit a50f90f1c23. The command is
actually working as intended - it should exit after listing devices, but
shouldn't display an error message.Signed-off-by : Jun Zhao <barryjzhao@tencent.com>
-
FFmpeg conversion failed with "Subtitle encoding failed" and "canvas_size is too small" [closed]
21 avril, par Hillol TalukdarI'm converting video files using FFmpeg, but the process fails and shows some errors that I don't fully understand the cause of. How can I avoid the error and fix the issue ? Below is the command I used and the output I received.


FFmpeg Command :


ffmpeg -y -hide_banner -i saf:12.VOB -map 0:3 -c:s:0 dvdsub -map 0:2 -map 0:1 -f mp4 -vcodec copy -map_metadata 0:g -acodec aac -async 1 saf:13.mp4



ErrorMessage :


Input #0, mpeg, from 'saf:12.VOB':
 Duration: 00:00:21.99, start: 0.280633, bitrate: 7147 kb/s
 Stream #0:0[0x1bf]: Data: dvd_nav_packet
 Stream #0:1[0x1e0]: Video: mpeg2video, yuv420p(tv, top first), 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn
 Side data:
 cpb: bitrate max/min/avg: 7816000/0/0 buffer size: 1835008 vbv_delay: N/A
 Stream #0:2[0xa0]: Audio: pcm_dvd, 48000 Hz, stereo, s16, 1536 kb/s
 Stream #0:3[0x20]: Subtitle: dvd_subtitle
 Stream #0:4[0x21]: Subtitle: dvd_subtitle

Stream mapping:
 Stream #0:3 -> #0:0 (dvd_subtitle (dvdsub) -> dvd_subtitle (dvdsub))
 Stream #0:2 -> #0:1 (pcm_dvd (native) -> aac (native))
 Stream #0:1 -> #0:2 (copy)

Press [q] to stop, [?] for help

Output #0, mp4, to 'saf:13.mp4':
 Metadata:
 encoder : Lavf60.3.100
 Stream #0:0: Subtitle: dvd_subtitle (mp4s / 0x7334706D), 720x480
 Metadata:
 encoder : Lavc60.3.100 dvdsub
 Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
 Metadata:
 encoder : Lavc60.3.100 aac
 Stream #0:2: Video: mpeg2video (mp4v / 0x7634706D), yuv420p(tv, top first), 720x480 [SAR 32:27 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn
 Side data:
 cpb: bitrate max/min/avg: 7816000/0/0 buffer size: 1835008 vbv_delay: N/A

frame= 15 fps=0.0 q=-1.0 size= 0kB time=00:00:00.73 bitrate= 0.5kbits/s speed= 212x 
frame= 577 fps=0.0 q=-1.0 size= 5120kB time=00:00:19.18 bitrate=2186.2kbits/s speed=38.1x 

[dvdsub @ 0xb400006ffb03dde0] canvas_size(0:0) is too small(719:479) for render
[sost#0:0/dvdsub @ 0xb400006feaec5730] Subtitle encoding failed
[aac @ 0xb400006ffb02f500] Qavg: 36253.348
[aac @ 0xb400006ffb02f500] 2 frames left in the queue on closing

Conversion failed!



-
react cant find ffmpegwasm
18 septembre 2024, par MartinI am trying to create a working example for ffmpeg wasm with react js in my browser.


I have been following this very simple example :
https://www.youtube.com/watch?v=-OTc0Ki7Sv0&ab_channel=Fireship


installed ffmpeg locally inside my react repo node_modules as seen here :



And followed to tutorial video to edit the App.jsx so it looks like this :


import React, { useState, useEffect } from 'react';
import './App.css';

import { createFFmpeg, fetchFile } from '@ffmpeg/ffmpeg';
const ffmpeg = createFFmpeg({
 log: true,
});
function App() {
 
 const [ready, setReady] = useState(false);

 const load = async () => {
 console.log('load()')
 await ffmpeg.load();
 setReady(true);
 }

 useEffect(()=>{
 load();
 }, [])

 return (
 <div classname="App">
 content
 </div>
 );
}

export default App;




But this leads to error messages in my win10 command prompt terminal saying it cant find the ffmpeg files :


[16:07:47] [snowpack] [404] Not Found (/node_modules/@ffmpeg/core/dist/ffmpeg-core.js)
[16:07:47] [snowpack] [404] Not Found (/node_modules/@ffmpeg/core/dist/ffmpeg-core.wasm)
[16:07:47] [snowpack] [404] Not Found (/node_modules/@ffmpeg/core/dist/ffmpeg-core.worker.js)



I've even tried moving the ffmpeg files to my public folder and editing the code to find them like so :


const ffmpeg = createFFmpeg({
 log: true,
 corePath: '../public/@ffmpeg/core/dist/ffmpeg-core.js',
});



But the same error occured. Why doesn't my react App.jsx file correctly find the ffmpeg files in my node_modules folder ?