
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (17)
-
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
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 (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (4059)
-
avcodec/ffwavesynth : Avoid undefined operation on ts overflow
13 juin 2020, par Michael Niedermayeravcodec/ffwavesynth : Avoid undefined operation on ts overflow
Alternatively these conditions could be treated as errors
Fixes : 23147/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFWAVESYNTH_fuzzer-5639254549200896
Fixes : signed integer overflow : 9223372036854775807 + 1 cannot be represented in type 'int64_t' (aka 'long')Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
How to record a single bitmap image using segment time option in ffmpeg
16 juillet 2020, par jfowkesWe have an application using ffmpeg to record an RTSP stream. We split this stream into timestamped segments using the following options :


-f segment -segment_time 60 -strftime 1 "+%Y-%m-%d_%H-%M-%S.mp4"


We now have a requirement to replace this stream with a "blank screen" under certain conditions (for privacy reasons).


I know it is possible to encode a bitmap for a certain length of time using ffmpeg (Creating a video from a single image for a specific duration in ffmpeg).


Is it possible to treat this single bitmap as a "stream" that can be recorded using the segment feature ?


I have tried combining the two commands :


ffmpeg -loop -i black_1280x720.bmp -c:v libx264 -pix_fmt yuv420p -vf scale=1280:720 -f segment -segment_time 60 -strftime 1 "+%Y-%m-%d_%H-%M-%S.mp4"


where
black_1280x720.bmp
is a 1280x720 all-black bitmap. I get aOutput file #0 does not contain any stream
error.

-
Deploying on google App Engine : An error occurred : ffmpeg was killed with signal SIGABRT Error : ffmpeg was killed with signal SIGABRT
27 août 2020, par Jérémy GachonI wrote a node-js api, with node-js and fluent-ffmpeg :


'use strict';
require('babel-register');
const path = require('path'); 
const ffmpeg = require('fluent-ffmpeg');



[...]


var infs = new ffmpeg

infs.addInput(doc.data().url).outputOptions([
 '-preset slow', '-g 48', '-sc_threshold 0',
 '-map 0:0', '-map 0:1', '-map 0:0', '-map 0:1',
 '-s:v:0 1280x720', '-c:v:0 libx264', '-b:v:0 2000k',
 // "-var_stream_map", "'v:0,a:0 v:1,a:1'",
 '-master_pl_name ./' + req.params.id + '/master' + req.params.id + '.m3u8',
 '-f hls', '-hls_time 6', '-hls_list_size 0',
 '-hls_segment_filename ./' + req.params.id + '/fileSequence|' + req.params.id + '|%d|v%v.ts',
 '-max_muxing_queue_size 1024',
 ]).output('./' + req.params.id + '/video' + req.params.id + '.m3u8')
 .on('start', function (commandLine) {
 console.log('Spawned Ffmpeg with command: ' + commandLine);
 })
 .on('error', function (err, stdout, stderr) {
 console.log('An error occurred: ' + err.message, err, stderr);
 })
 .on('progress', function (progress) {
 console.log('Processing: ' + progress.percent + '% done')
 })
 .on('end', function (err, stdout, stderr) {

 console.log('Finished processing!' /*, err, stdout, stderr*/)
 })
 .run()
 res.status(200).send('GG').end();
 } 
 });



[...]


That work with




node app.js




on my macbook pro, but when i do




gcloud app deploy




and I call the public url, I have this logs :


Processing: undefined% done
An error occurred: ffmpeg was killed with signal SIGABRT Error: ffmpeg was killed with signal SIGABRT 



Here is my app.yaml :


# Copyright 2017, Google, Inc.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# [START gae_flex_quickstart_yaml]
runtime: nodejs
env: flex

# This sample incurs costs to run on the App Engine flexible environment.
# The settings below are to reduce costs during testing and are not appropriate
# for production use. For more information, see:
# https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml
manual_scaling:
 instances: 1
resources:
 cpu: 1
 memory_gb: 6
 disk_size_gb: 30

# [END gae_flex_quickstart_yaml]





How can I do to deploy correctly my node-js api on google app engine ?


Thank's in advance.


Jérémy.