
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (49)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 (5490)
-
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 ?


-
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
-
ffserver : Throw ffm.h out its not used except for a constant that is part of the...
28 octobre 2016, par Michael Niedermayer