
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (42)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
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 (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (4550)
-
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 #4730 : Rendre le plug 100% traduisable
15 avril 2021Pour les format de date, plusieurs remarques :
1) on utilise les chaines de langues de d3js time-format : https://git.spip.net/spip/statistiques/src/branch/master/lib/d3/time-format/locale
2) ici ça se passe beaucoup en JS et JS sait maintenant traduire (la plupart des navigateurs) différents formats de date https://caniuse.com/mdn-javascript_builtins_intl_locale_script https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/script donc au pire on aurait pu utiliser ça (et d3 l’utilisera probablement un jour qui sait mais pas pour le moment https://github.com/d3/d3-time-format/issues/57)La traduction qui manque pour le moment est "Visites" j’ai aperçu, et faut que je vois pourquoi.
-
mp4 video fragmented using ffmpeg takes long time to start playing
14 mai 2020, par daldoyWhen using ffmpeg, to stream the output file to S3, it is required to use "-movflags frag_keyframe", and the generated file will be a fragmented mp4.



When I try to play this files from S3 it takes a long time to start playing. I have tried the recommended movflags from MDN Docs and all the possible combinations.



ffmpeg -i https://notreal-bucket.s3-us-west-1.amazonaws.com/video/video.mp4 -f mp4 -movflags frag_keyframe+empty_moov pipe:1 | aws s3 cp - s3://notreal-bucket/video/output.mp4



Link of the file : https://happy-testing.s3-eu-west-1.amazonaws.com/stack-overflow/help.mp4