
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (18)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP 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, 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 (...) -
Keeping control of your media in your hands
13 avril 2011, parThe 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 WilkeI 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 theGET
requests instead... -
where is ffmpeg wasm output directory and how to access the files ?
15 juin 2021, par FabiotkI 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"><script>&#xA; const { createFFmpeg, fetchFile } = FFmpeg;&#xA; const ffmpeg = createFFmpeg({&#xA; corePath: &#x27;https://unpkg.com/@ffmpeg/core@0.10.0/dist/ffmpeg-core.js&#x27;,&#xA; log: true,&#xA; });&#xA; &#xA; ffmpeg.setLogger(({ type, message }) => {&#xA; console.log(type, message); &#xA; });&#xA;&#xA; const transcode = async ({ target: { files } }) => {&#xA; console.log(&#x27;Running ffmpeg&#x27;)&#xA; const { name } = files[0];&#xA; await ffmpeg.load();&#xA; ffmpeg.FS(&#x27;writeFile&#x27;, name, await fetchFile(files[0]));&#xA; await ffmpeg.run(&#x27;-i&#x27;, name, &#x27;-hls_time&#x27;, &#x27;10&#x27;, &#x27;-hls_playlist_type&#x27;, &#x27;vod&#x27;, &#x27;-hls_segment_filename&#x27;, &#x27;part_%03d.ts&#x27;, &#x27;master.m3u8&#x27;);&#xA;&#xA; }&#xA; document.getElementById(&#x27;uploader&#x27;).addEventListener(&#x27;change&#x27;, transcode);&#xA;</code></pre>&#xA; &#xA;<p>My question is, where are the <code>part_%03d.ts</code> 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?</p>&#xA;
-
No suitable image found when setting up nendo
17 décembre 2023, par Adel AbdallaI keep running into this error :


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


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