
Recherche avancée
Autres articles (89)
-
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 (...) -
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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (9473)
-
avcodec/exr : stop using deprecated avcodec_set_dimensions()
1er novembre 2013, par Paul B Mahol -
avcodec/c93 : stop using deprecated avcodec_set_dimensions
5 novembre 2013, par Paul B Mahol -
Node fluent-ffmpeg killing process kills server - How to start and stop recorder ?
18 octobre 2024, par ScorpioI'm using fluent-ffmpeg in a node application. Recording from the screen/camera to an mp4 file. Would like a server request to start and another request to stop recording (links to a web interface - testing some tech with a view to making an Electron App later with it).



Starting is fine, but cannot figure out how to stop it.



This is the code to start (to run on MacOS) :



recordingProcessVideo = ffmpeg(`${screenID}:none`)
 .inputFormat('avfoundation')
 .native()
 .videoFilters(`crop=${width}:${height}:${x}:${y}`)
 .save(filePath);




This is what I thought would stop it from documentation and reading around the subject :



recordingProcessVideo.kill('SIGINT');




However, when I call this command, the server quits with the following ambiguous message :



code ELIFECYCLE
errno 1




Also, the video file produced will not open as if it quit before it completed. Can't seem to work it out, as from the docs and what people have written, to start and stop the recorder should be to make the process, then kill it when ready. Anyone know the correct way - been looking for ages but can't find any answers.



Using Node v10.15.2 and Ffmpeg version V92718-g092cb17983 running on MacOS 10.14.3.



Thanks for any help.