
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (54)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (9646)
-
PHP-FFMpeg filters()->resize() throw Use of undefined constant RESIZEMODE_INSET
17 avril 2017, par Angus SimonsI’m using
PHP-FFMpeg
to use FFMpeg with php, unfortunately I can’t set resize filter.This is my code :
$video = $ffmpeg->open('video.mov');
$dimension = new FFMpeg\Coordinate\Dimension(1920, 1080);
$video->filters()
->resize($dimension, RESIZEMODE_INSET, true, 1)
->synchronize();
$format = new FFMpeg\Format\Video\X264('aac', 'libx264');
$format->setAudioChannels(2)->setAudioKiloBitrate(256);
$video->save($format, 'video.mp4');But it throws this error :
Use of undefined constant RESIZEMODE_INSET - assumed 'RESIZEMODE_INSET'
I tried also :
->resize($dimension, 'RESIZEMODE_INSET', true, 1)
and
->resize($dimension, 'inset', true, 1)
But I can’t get the video converted without stretching.
Thanks in advance
-
Why ffmpeg launched on a google cloud function can throw "Error : Output stream error : Maximum call stack size exceeded" ?
15 décembre 2020, par Stepan ShilinI'm trying to process video files with ffmpeg running on google cloud functions. Video files are downloaded from a google file storage, processed in stream by fluent-ffmpeg and streamed to a new google storage file. It works on smaller files but throws an "Output stream error : Maximum call stack size exceeded" on larger files.



I tried running the code on a normal pc, and I haven't encountered this error, even with larger files.



These are the parameters I deploy the function with



gcloud functions deploy $FUNCTION_NAME --runtime nodejs8 --trigger-http --timeout=180 --memory 256




This is the code that processes video



function cutVideo({videoUrl, startTime, duration, dist}) {
 return ffmpeg(videoUrl)
 .outputOptions('-movflags frag_keyframe+empty_moov')
 .videoCodec('copy')
 .audioCodec('copy')
 .format('mp4')
 .setStartTime(startTime)
 .setDuration(duration);
}

const sectionStream = cutVideo({
 videoUrl,
 startTime,
 duration,
 dist: tempFilePath,
});

const outputStream = bucket.file(sectionPath)
.createWriteStream({
 metadata: {
 contentType: config.contentType,
 },
 public: true,
});




Actual error stack looks like this



Error: Output stream error: Maximum call stack size exceeded
 at Pumpify.<anonymous> (/srv/node_modules/fluent-ffmpeg/lib/processor.js:498:34)
 at emitOne (events.js:121:20)
 at Pumpify.emit (events.js:211:7)
 at Pumpify.Duplexify._destroy (/srv/node_modules/duplexify/index.js:191:15)
 at /srv/node_modules/duplexify/index.js:182:10
 at _combinedTickCallback (internal/process/next_tick.js:132:7)
 at process._tickDomainCallback (internal/process/next_tick.js:219:9)
 RangeError: Maximum call stack size exceeded
 at replaceProjectIdToken (/srv/node_modules/@google-cloud/projectify/build/src/index.js:28:31)
 at replaceProjectIdToken (/srv/node_modules/@google-cloud/projectify/build/src/index.js:37:30)
 at replaceProjectIdToken (/srv/node_modules/@google-cloud/projectify/build/src/index.js:37:30)
 at value.map.v (/srv/node_modules/@google-cloud/projectify/build/src/index.js:30:32)
 at Array.map (<anonymous>)
 at replaceProjectIdToken (/srv/node_modules/@google-cloud/projectify/build/src/index.js:30:23)
 at replaceProjectIdToken (/srv/node_modules/@google-cloud/projectify/build/src/index.js:37:30)
 at replaceProjectIdToken (/srv/node_modules/@google-cloud/projectify/build/src/index.js:37:30)
 at value.map.v (/srv/node_modules/@google-cloud/projectify/build/src/index.js:30:32)
 at Array.map (<anonymous>)
</anonymous></anonymous></anonymous>



What could cause this error on a google cloud function ?


-
fluent-ffmpeg throw er when concatenate videos
2 mai 2020, par Romualdo Arrechea HernándezI'm using fluent-ffmpeg version 2.1.2.
When I execute the current code the output show off a error message :



var ffmpeg = require('fluent-ffmpeg');
var glob= require('glob');
ffmpeg.setFfmpegPath("/usr/bin/ffmpeg");
ffmpeg.setFfprobePath("/usr/bin/ffprobe");
var command = ffmpeg();

const path='/home/username/somefolder/*/output.mp4';

var videos=glob.sync(path);
var output="./output.mp4";
videos.map(video=>command.addInput(video));
command.mergeToFile(output);




the console output>



**events.js:287
 throw er; // Unhandled 'error' event
 ^

Error: ffmpeg exited with code 1: Conversion failed!

 at ChildProcess.<anonymous> (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:182:22)
 at ChildProcess.emit (events.js:310:20)
 at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
Emitted 'error' event on FfmpegCommand instance at:
 at emitEnd (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:424:16)
 at endCB (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:544:13)
 at handleExit (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:170:11)
 at ChildProcess.<anonymous> (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:182:11)
 at ChildProcess.emit (events.js:310:20)
 at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)**
</anonymous></anonymous>



The video should be created, but it's unable to concat. Some clue ?