Recherche avancée

Médias (91)

Autres articles (66)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (12468)

  • avfilter/lavfutils : Don't use uninitialized pointers for freeing

    10 septembre 2020, par Andreas Rheinhardt
    avfilter/lavfutils : Don't use uninitialized pointers for freeing
    

    Happened on several error conditions, e.g. if there is just no decoder
    for the format (like with svg images).

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavfilter/lavfutils.c
  • 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 Gachon

    I wrote a node-js api, with node-js and fluent-ffmpeg :

    &#xA;

    &#x27;use strict&#x27;;&#xA;require(&#x27;babel-register&#x27;);&#xA;const path = require(&#x27;path&#x27;);    &#xA;const ffmpeg = require(&#x27;fluent-ffmpeg&#x27;);&#xA;

    &#xA;

    [...]

    &#xA;

    var infs = new ffmpeg&#xA;&#xA;infs.addInput(doc.data().url).outputOptions([&#xA;            &#x27;-preset slow&#x27;, &#x27;-g 48&#x27;, &#x27;-sc_threshold 0&#x27;,&#xA;            &#x27;-map 0:0&#x27;, &#x27;-map 0:1&#x27;, &#x27;-map 0:0&#x27;, &#x27;-map 0:1&#x27;,&#xA;            &#x27;-s:v:0 1280x720&#x27;, &#x27;-c:v:0 libx264&#x27;, &#x27;-b:v:0 2000k&#x27;,&#xA;            // "-var_stream_map", "&#x27;v:0,a:0 v:1,a:1&#x27;",&#xA;            &#x27;-master_pl_name ./&#x27; &#x2B; req.params.id &#x2B; &#x27;/master&#x27; &#x2B; req.params.id &#x2B; &#x27;.m3u8&#x27;,&#xA;            &#x27;-f hls&#x27;, &#x27;-hls_time 6&#x27;, &#x27;-hls_list_size 0&#x27;,&#xA;            &#x27;-hls_segment_filename ./&#x27; &#x2B; req.params.id &#x2B; &#x27;/fileSequence|&#x27; &#x2B; req.params.id &#x2B; &#x27;|%d|v%v.ts&#x27;,&#xA;            &#x27;-max_muxing_queue_size 1024&#x27;,&#xA;        ]).output(&#x27;./&#x27; &#x2B; req.params.id &#x2B; &#x27;/video&#x27; &#x2B; req.params.id &#x2B; &#x27;.m3u8&#x27;)&#xA;            .on(&#x27;start&#x27;, function (commandLine) {&#xA;                console.log(&#x27;Spawned Ffmpeg with command: &#x27; &#x2B; commandLine);&#xA;            })&#xA;            .on(&#x27;error&#x27;, function (err, stdout, stderr) {&#xA;                console.log(&#x27;An error occurred: &#x27; &#x2B; err.message, err, stderr);&#xA;            })&#xA;            .on(&#x27;progress&#x27;, function (progress) {&#xA;                console.log(&#x27;Processing: &#x27; &#x2B; progress.percent &#x2B; &#x27;% done&#x27;)&#xA;            })&#xA;            .on(&#x27;end&#x27;, function (err, stdout, stderr) {&#xA;&#xA;                console.log(&#x27;Finished processing!&#x27; /*, err, stdout, stderr*/)&#xA;            })&#xA;            .run()&#xA;        res.status(200).send(&#x27;GG&#x27;).end();&#xA;    } &#xA;   });&#xA;

    &#xA;

    [...]

    &#xA;

    That work with

    &#xA;

    &#xA;

    node app.js

    &#xA;

    &#xA;

    on my macbook pro, but when i do

    &#xA;

    &#xA;

    gcloud app deploy

    &#xA;

    &#xA;

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

    &#xA;

    Processing: undefined% done&#xA;An error occurred: ffmpeg was killed with signal SIGABRT Error: ffmpeg was killed with signal SIGABRT &#xA;

    &#xA;

    Here is my app.yaml :

    &#xA;

        # Copyright 2017, Google, Inc.&#xA;# Licensed under the Apache License, Version 2.0 (the "License");&#xA;# you may not use this file except in compliance with the License.&#xA;# You may obtain a copy of the License at&#xA;#&#xA;#    http://www.apache.org/licenses/LICENSE-2.0&#xA;#&#xA;# Unless required by applicable law or agreed to in writing, software&#xA;# distributed under the License is distributed on an "AS IS" BASIS,&#xA;# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#xA;# See the License for the specific language governing permissions and&#xA;# limitations under the License.&#xA;&#xA;# [START gae_flex_quickstart_yaml]&#xA;runtime: nodejs&#xA;env: flex&#xA;&#xA;# This sample incurs costs to run on the App Engine flexible environment.&#xA;# The settings below are to reduce costs during testing and are not appropriate&#xA;# for production use. For more information, see:&#xA;# https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml&#xA;manual_scaling:&#xA;  instances: 1&#xA;resources:&#xA;  cpu: 1&#xA;  memory_gb: 6&#xA;  disk_size_gb: 30&#xA;&#xA;# [END gae_flex_quickstart_yaml]&#xA;

    &#xA;

    enter image description here

    &#xA;

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

    &#xA;

    Thank's in advance.

    &#xA;

    Jérémy.

    &#xA;

  • How to record a single bitmap image using segment time option in ffmpeg

    16 juillet 2020, par jfowkes

    We have an application using ffmpeg to record an RTSP stream. We split this stream into timestamped segments using the following options :

    &#xA;

    -f segment -segment_time 60 -strftime 1 "&#x2B;%Y-%m-%d_%H-%M-%S.mp4"

    &#xA;

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

    &#xA;

    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).

    &#xA;

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

    &#xA;

    I have tried combining the two commands :

    &#xA;

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

    &#xA;

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

    &#xA;