Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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, par

    MediaSPIP 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, 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 (...)

Sur d’autres sites (9931)

  • fftools/cmdutils : fix error message for "ffmpeg -init_hw_device list"

    26 mars, par Jun Zhao
    fftools/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>

    • [DH] fftools/cmdutils.c
  • FFmpeg conversion failed with "Subtitle encoding failed" and "canvas_size is too small" [closed]

    21 avril, par Hillol Talukdar

    I'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.

    &#xA;

    FFmpeg Command :

    &#xA;

    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&#xA;

    &#xA;

    ErrorMessage :

    &#xA;

    Input #0, mpeg, from &#x27;saf:12.VOB&#x27;:&#xA;  Duration: 00:00:21.99, start: 0.280633, bitrate: 7147 kb/s&#xA;  Stream #0:0[0x1bf]: Data: dvd_nav_packet&#xA;  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&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 7816000/0/0 buffer size: 1835008 vbv_delay: N/A&#xA;  Stream #0:2[0xa0]: Audio: pcm_dvd, 48000 Hz, stereo, s16, 1536 kb/s&#xA;  Stream #0:3[0x20]: Subtitle: dvd_subtitle&#xA;  Stream #0:4[0x21]: Subtitle: dvd_subtitle&#xA;&#xA;Stream mapping:&#xA;  Stream #0:3 -> #0:0 (dvd_subtitle (dvdsub) -> dvd_subtitle (dvdsub))&#xA;  Stream #0:2 -> #0:1 (pcm_dvd (native) -> aac (native))&#xA;  Stream #0:1 -> #0:2 (copy)&#xA;&#xA;Press [q] to stop, [?] for help&#xA;&#xA;Output #0, mp4, to &#x27;saf:13.mp4&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf60.3.100&#xA;  Stream #0:0: Subtitle: dvd_subtitle (mp4s / 0x7334706D), 720x480&#xA;    Metadata:&#xA;      encoder         : Lavc60.3.100 dvdsub&#xA;  Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s&#xA;    Metadata:&#xA;      encoder         : Lavc60.3.100 aac&#xA;  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&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 7816000/0/0 buffer size: 1835008 vbv_delay: N/A&#xA;&#xA;frame=   15 fps=0.0 q=-1.0 size=       0kB time=00:00:00.73 bitrate=   0.5kbits/s speed= 212x    &#xA;frame=  577 fps=0.0 q=-1.0 size=    5120kB time=00:00:19.18 bitrate=2186.2kbits/s speed=38.1x    &#xA;&#xA;[dvdsub @ 0xb400006ffb03dde0] canvas_size(0:0) is too small(719:479) for render&#xA;[sost#0:0/dvdsub @ 0xb400006feaec5730] Subtitle encoding failed&#xA;[aac @ 0xb400006ffb02f500] Qavg: 36253.348&#xA;[aac @ 0xb400006ffb02f500] 2 frames left in the queue on closing&#xA;&#xA;Conversion failed!&#xA;

    &#xA;

  • react cant find ffmpegwasm

    18 septembre 2024, par Martin

    I am trying to create a working example for ffmpeg wasm with react js in my browser.

    &#xA;

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

    &#xA;

    installed ffmpeg locally inside my react repo node_modules as seen here :&#xA;enter image description here

    &#xA;

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

    &#xA;

    import React, { useState, useEffect } from &#x27;react&#x27;;&#xA;import &#x27;./App.css&#x27;;&#xA;&#xA;import { createFFmpeg, fetchFile } from &#x27;@ffmpeg/ffmpeg&#x27;;&#xA;const ffmpeg = createFFmpeg({&#xA;  log: true,&#xA;});&#xA;function App() {&#xA;  &#xA;  const [ready, setReady] = useState(false);&#xA;&#xA;  const load = async () => {&#xA;      console.log(&#x27;load()&#x27;)&#xA;      await ffmpeg.load();&#xA;      setReady(true);&#xA;  }&#xA;&#xA;  useEffect(()=>{&#xA;    load();&#xA;  }, [])&#xA;&#xA;  return (&#xA;    <div classname="App">&#xA;      content&#xA;    </div>&#xA;  );&#xA;}&#xA;&#xA;export default App;&#xA;&#xA;

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;