
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (96)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (10320)
-
FFmpeg throwing error during video render process using Remotion
31 mai 2022, par VinceI'm using a tool called Remotion, which allows you to create videos using javascript (node & react). I have the server-side rendering process working, unless I try to include an mp3. Per their docs, I have my audio imported like this :


import goodtimes from '../../music/GoodTimes.mp3';

...

<audio src="{goodtimes}"></audio>



I'm currently trying to troubleshoot this using the CLI, because the error messaging is better. The command runs, and seems to generate the full video – 2400 out of 2400 frames. But then it fails with this output :


(2/3) [====================] Rendered frames (6x) 176540ms
 + [====================] Downloading http://localhost:3000/1ba90857580e6291.mp3
(3/3) [====================] Encoding video 2400/2400
An error occurred:
Error: Command failed with exit code 1: ffprobe -v error -show_entries stream=channels:format=duration -of default=nw=1 /var/folders/6n/_nfb38t53dgdj092_pcnqqmw0000gn/T/remotion-assets-dir2jc2oppruh/7744374580215663.mp3
[mp3 @ 0x7fa78152ec40] Failed to read frame size: Could not seek to 5244.
/var/folders/6n/_nfb38t53dgdj092_pcnqqmw0000gn/T/remotion-assets-dir2jc2oppruh/7744374580215663.mp3: Invalid argument
 at makeError (/Users/voverson/clm-video/server/node_modules/execa/lib/error.js:60:11)
 at handlePromise (/Users/voverson/clm-video/server/node_modules/execa/index.js:118:26)
 at runMicrotasks (<anonymous>)
 at processTicksAndRejections (internal/process/task_queues.js:93:5)
 at async getAudioChannelsAndDuration (/Users/voverson/clm-video/server/node_modules/@remotion/renderer/dist/assets/get-audio-channels.js:17:18)
 at async preprocessAudioTrackUnlimited (/Users/voverson/clm-video/server/node_modules/@remotion/renderer/dist/preprocess-audio-track.js:14:36)
</anonymous>


I'm hoping some ffmpeg experts might recognize this error and have some idea what might be causing it.


-
Evolution #4034 (Fermé) : Filtre ucfirst
28 septembre 2018, par cedric -A priori pas assez exhaustif pour mettre ça dans le core car il y a trop de cas particuliers dans les différents langages, et ça suppose aussi de gérer les cas où le texte commence par une balise html et pas un caractère… Donc un simple (#TEXTE ne marcherait pas :(
Et j’aurais tendance à me reposer sur le filtre majuscule du coup :
https://core.spip.net/projects/spip/repository/entry/spip/ecrire/inc/filtres.php#L1103Mais peut-être plus simplement faire ça en CSS
https://developer.mozilla.org/fr/docs/Web/CSS/::first-letterBref ça peut marcher en contexte de langue pas trop compliquée. A faire en plugin quelque part ?
Mais du coup je ferme pour le core -
import moviepy error issue with python3.9+ and matplotlib on latest MacOS M1
4 décembre 2022, par Arya KeniFor python 3.9+ there seems to be an error when I import moviepy after a pip install for moviepy with the correct command as per docs. I am trying an alternative to save animated plots from matplotlib from .gif format to .mp4 format, but matplotlib on MacOS (M1 chip) supports only .gif due to a lack of the "FFMpeg" process (which stays unresolved after pip installs as well). Any clue what to do here ?


Repeat :


For python 3.9+ there seems to be an error when I import moviepy after a pip install for moviepy with the correct command as per docs. I am trying an alternative to save animated plots from matplotlib from .gif format to .mp4 format, but matplotlib on MacOS (M1 chip) supports only .gif due to a lack of the "FFMpeg" process (which stays unresolved after pip installs as well). Any clue what to do here ?