
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (77)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (8051)
-
How to resolve "ffmpeg was killed with signal SIGSEGV" in docker container
25 juin 2024, par GmanicusI have a Node.js application deployed to a docker container with
fluent-ffmpeg
,@ffmpeg-installer/ffmpeg
, and@ffprobe-installer/ffmprobe
.

Here is the
fluent-ffmpeg
init script :

import ffmpeg = require('fluent-ffmpeg');
const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path;
const ffprobePath = require('@ffprobe-installer/ffprobe').path;

ffmpeg.setFfmpegPath(ffmpegPath);
ffmpeg.setFfprobePath(ffprobePath);

export default ffmpeg;



This gets used to take a snapshot of a video and save that image to file :


ffmpeg('ism manifest here')
 .inputOption(`-ss timestamp`)
 .outputOptions([
 '-vframes 1',
 '-vf crop=640:230:320:490,eq=saturation=0:contrast=1000,negate'
 ])
 .output('test.png')
 .run();



Whenever any configuration of ffmpeg command is run, it nearly instantaneously fails with :


Error: ffmpeg was killed with signal SIGSEGV
 at ChildProcess.<anonymous> (/app/node_modules/fluent-ffmpeg/lib/processor.js:180:22)
 at ChildProcess.emit (node:events:517:28)
 at Process.ChildProcess._handle.onexit (node:internal/child_process:292:12)
</anonymous>


I have attempted to raise the memory and CPU usage limits of the server in the docker-compose file :


...
 deploy:
 resources:
 limits:
 cpus: '0.75'
 memory: 2G
 reservations:
 cpus: '0.50'
 memory: 1G



But nothing has worked. Running this on my local machine works just fine. Help ?


UPDATE :


I just attempted running a small dockerized ffmpeg test script on its own in its own brand new container. Same issue. So, it doesn't seem to have anything to do with my server's configuration.


-
Make 2 videos on top of each other in a 1080×1920 scene
6 octobre 2023, par Byte meI am trying to make two videos on top of each other. Right now i am scaling both to 1080x960 using ffmpeg and putting them together using vstack. Unfortunetely no success. Can anyone help me ?


ffmpeg()
 .input('./placeholder.mp4').videoCodec('copy')
 .input("./scaled_YT.mp4").videoCodec('copy')
 .complexFilter([
 `[0:v]scale=1080x960[v0];[1:v]scale=1080x960[v1];[v0][v1]vstack=inputs=2[v]`
 ], ['v'])
 .toFormat('mp4')
 .on('end', () => {
 console.log('Files have been merged!');
 })
 .on('error', (err) => {
 console.error('Error:', err)
 })
 .save(outputPath);



Error: Error: ffmpeg exited with code 1: 
 at ChildProcess.<anonymous> (D:\Discord Bots\TEMP_TEST\done_projects\videoEditor_bot\node_modules\fluent-ffmpeg\lib\processor.js:182:22) 
 at ChildProcess.emit (node:events:513:28)
 at ChildProcess._handle.onexit (node:internal/child_process:291:12)
</anonymous>


-
Merge Videos using fluent-ffmpeg
25 octobre 2023, par Andronik NazaryanI'm trying to merge two videos, the following code works perfectly on windows 10, but it gives me an error when trying to run it on linux/ubuntu, same on wsl


async joinVideo(): Promise<boolean> {
 return new Promise((resolve, reject) => {
 signale.info('Joining video')
 const profile = path.join(__dirname, '../videos/input/profile.mp4')
 const sb = path.join(__dirname, '../videos/input/sb.mp4')

 const joined = path.join(__dirname, '../videos/profile-sb.mp4')
 const tempFolder = path.join(__dirname, '../videos/temp')

 ffmpeg({ source: profile })
 .input(sb)
 .on('end', () => {
 signale.success('Video joined')
 resolve(true)
 })
 .on('error', err => {
 signale.error(err)
 reject(false)
 })
 .mergeToFile(joined, tempFolder)
 })
 }
</boolean>


The error i get


Error: ffmpeg exited with code 1: Error reinitializing filters! 
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #1:0
Conversion failed!

 at ChildProcess.<anonymous> (/mnt/c/Users/Anri/Desktop/lead-gif-generator/node_modules/.pnpm/fluent-ffmpeg@2.1.2/node_modules/fluent-ffmpeg/lib/processor.js:182:22)
 at ChildProcess.emit (node:events:517:28)
 at ChildProcess.emit (node:domain:489:12)
 at Process.ChildProcess._handle.onexit (node:internal/child_process:292:12)
</anonymous>


the installation of fluent-ffmpeg should be correct as other operations are working, only mergeToFile function is erroring out


also strange thing is that if i put same file in both inputs it works fine, my guess it happens because of differance between videos, but why it works on windows