Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (18)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules 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 (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (3373)

  • When creating a Xing or Info tag in an MP3, may I use any MP3 header or does it have to match other frames ?

    13 décembre 2019, par Alexis Wilke

    I have a set of bare MP3 files. Bare as in I removed all tags (no ID3, no Xing, no Info) from those files.

    Just before sending one of these files to the client, I want to add an Info tag. All of my files are CBR so we will use an Info tag (no Xing).

    Right now I get the first 4 bytes of the existing MP3 to get the Version (MPEG-1, Layer III), Bitrate, Frequency, Stereo Mode, etc. and thus determine the size of one frame. I create the tag that way, reusing these 4 bytes for the Info tag and determining the size of the frame.

    For those wondering, these 4 bytes may look like this :

    FF FB 78 04

    To me it felt like you are expected to use the exact same first 4 bytes in the Info tag as found in the other audio frames of the MP3, but when using ffmpeg, they stick an Info tag with a hard coded header (wrong bitrate, wrong frequency, etc.)

    My question is : Is ffmpeg really doing it right ? (LAME doesn’t do that) Could I do the same, skipping the load of the first 4 bytes and still have the greater majority of the players out there play my files as expected ?

    Note : since I read these 4 bytes over the network, it would definitely save a lot of time and some bandwidth to not have to load these 4 bytes on a HEAD request. Resources I could use for the GET requests instead...

  • where is ffmpeg wasm output directory and how to access the files ?

    15 juin 2021, par Fabiotk

    I have the following code where I convert a video file into HLS stream format. I'm doing this in browser javascript so I don't load a lot of processing into the server. Now, the code seems to be working fine according to the logs however I can't see the output. The code is :

    


    <code class="echappe-js">&lt;script&gt;&amp;#xA;   const { createFFmpeg, fetchFile } = FFmpeg;&amp;#xA;   const ffmpeg = createFFmpeg({&amp;#xA;       corePath: &amp;#x27;https://unpkg.com/@ffmpeg/core@0.10.0/dist/ffmpeg-core.js&amp;#x27;,&amp;#xA;       log: true,&amp;#xA;   });&amp;#xA;   &amp;#xA;   ffmpeg.setLogger(({ type, message }) =&gt; {&amp;#xA;       console.log(type, message);  &amp;#xA;   });&amp;#xA;&amp;#xA;   const transcode = async ({ target: { files } }) =&gt; {&amp;#xA;       console.log(&amp;#x27;Running ffmpeg&amp;#x27;)&amp;#xA;       const { name } = files[0];&amp;#xA;       await ffmpeg.load();&amp;#xA;       ffmpeg.FS(&amp;#x27;writeFile&amp;#x27;, name, await fetchFile(files[0]));&amp;#xA;       await ffmpeg.run(&amp;#x27;-i&amp;#x27;, name, &amp;#x27;-hls_time&amp;#x27;, &amp;#x27;10&amp;#x27;, &amp;#x27;-hls_playlist_type&amp;#x27;, &amp;#x27;vod&amp;#x27;, &amp;#x27;-hls_segment_filename&amp;#x27;, &amp;#x27;part_%03d.ts&amp;#x27;, &amp;#x27;master.m3u8&amp;#x27;);&amp;#xA;&amp;#xA;   }&amp;#xA;   document.getElementById(&amp;#x27;uploader&amp;#x27;).addEventListener(&amp;#x27;change&amp;#x27;, transcode);&amp;#xA;&lt;/code&gt;&lt;/pre&gt;&amp;#xA;   &amp;#xA;&lt;p&gt;My question is, where are the &lt;code&gt;part_%03d.ts&lt;/code&gt; files (part_001.ts, etc)? I want to loop through every one of them and pass their content to another function. How to do this?&lt;/p&gt;&amp;#xA;
  • No suitable image found when setting up nendo

    17 décembre 2023, par Adel Abdalla

    I keep running into this error :

    &#xA;

    /Users/adelabdalla/.pyenv/versions/3.8.12/lib/python3.8/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn&#x27;t find ffmpeg or avconv - defaulting to ffmpeg, but may not work&#xA;  warn("Couldn&#x27;t find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)&#xA;Traceback (most recent call last):&#xA;  File "ML_Models/music_gen.py", line 22, in <module>&#xA;    nd = Nendo(config=NendoConfig(plugins=["nendo_plugin_musicgen"]))&#xA;  File "/Users/adelabdalla/.pyenv/versions/3.8.12/lib/python3.8/site-packages/nendo/main.py", line 73, in __init__&#xA;    self._load_plugins(plugin_names=plugin_names)&#xA;  File "/Users/adelabdalla/.pyenv/versions/3.8.12/lib/python3.8/site-packages/nendo/main.py", line 141, in _load_plugins&#xA;    plugin_instance = self._load_plugin(module_name=module_name)&#xA;  File "/Users/adelabdalla/.pyenv/versions/3.8.12/lib/python3.8/site-packages/nendo/main.py", line 129, in _load_plugin&#xA;    raise schema.NendoPluginLoadingError(&#xA;nendo.schema.exception.NendoPluginLoadingError: Failed to import plugin &#x27;nendo_plugin_musicgen&#x27;. Error: dlopen(/Users/adelabdalla/.pyenv/versions/3.8.12/lib/python3.8/site-packages/av/_core.cpython-38-darwin.so, 2): Library not loaded: @loader_path/libX11.6.dylib&#xA;  Referenced from: /Users/adelabdalla/.pyenv/versions/3.8.12/lib/python3.8/site-packages/av/.dylibs/libavformat.60.3.100.dylib&#xA;  Reason: no suitable image found.  Did find:&#xA;        /Users/adelabdalla/.pyenv/versions/3.8.12/lib/python3.8/site-packages/av/.dylibs/libX11.6.dylib: cannot load &#x27;libX11.6.dylib&#x27; (load command 0x80000034 is unknown)&#xA;        /Users/adelabdalla/.pyenv/versions/3.8.12/lib/python3.8/site-packages/av/.dylibs/libX11.6.dylib: cannot load &#x27;libX11.6.dylib&#x27; (load command 0x80000034 is unknown)&#xA;</module>

    &#xA;

    I've tried a bunch of stuff including upgrading Python, upgrading brew, downloading ffmpeg etc. but cannot figure this out.

    &#xA;