
Recherche avancée
Médias (9)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (75)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)
Sur d’autres sites (5997)
-
How to convert image to video using fluent-ffmpeg in NodeJS
2 juillet 2022, par MjMI would like to create a video using
fluent-ffmpeg
inNodeJS
. My objective is to create a video using one image. And what I have done so far is the following :


var express = require('express')
var router = express.Router()

const ffmpeg = require('fluent-ffmpeg');

router.get('/test', function (req, res) {
 // make sure you set the correct path to your video file
 var proc = ffmpeg('http://localhost:3000/images/image.jpg')

 // loop for 5 seconds
 .loop(5)
 // using 25 fps
 .fps(25)
 // setup event handlers
 .on('end', function () {
 console.log('file has been converted succesfully');
 })
 .on('error', function (err) {
 console.log('an error happened: ' + err.message);
 console.log(' error code is : ' + err.code);
 })
 // save to file
 .save('http://localhost:3000/video/image-cdo.mp4');
})

module.exports = router;




When I run this I have been getting the following result with an error :



GET /mixer/ 200 6.364 ms - 13
GET /images/image.jpg 206 3.355 ms - 311484
GET /images/image.jpg 206 4.041 ms - 311484
GET /images/image.jpg 206 3.509 ms - 311484
GET /images/image.jpg 206 1.225 ms - 311484
GET /images/image.jpg 206 0.742 ms - 311484
GET /images/image.jpg 206 0.655 ms - 311484
GET /images/image.jpg 206 0.695 ms - 311484
GET /images/image.jpg 206 0.691 ms - 311484
GET /images/image.jpg 206 0.676 ms - 311484
GET /images/image.jpg 206 0.648 ms - 311484
GET /images/image.jpg 206 0.663 ms - 311484
GET /images/image.jpg 206 0.886 ms - 311484
GET /images/image.jpg 206 0.598 ms - 311484
GET /images/image.jpg 206 0.532 ms - 311484
GET /images/image.jpg 206 0.547 ms - 311484
GET /images/image.jpg 206 0.630 ms - 311484
GET /images/image.jpg 206 0.560 ms - 311484
GET /images/image.jpg 206 0.536 ms - 311484
POST /video/image-cdo.mp4 404 30.270 ms - 1212






an error happened : ffmpeg exited with code 1 : Could not write header
 for output file #0 (incorrect codec parameters ?) : Invalid argument
 Error initializing output stream 0:0 — 
 Conversion failed !



error code is : undefined






Can anyone help me out :)



"dependencies": {
 "fluent-ffmpeg": "^2.1.2",
 }




And NodeJS
v12.13.0


-
Calling FFmpeg from C# hangs the Process
18 octobre 2019, par Green TrainI’m trying to run ffmpeg command in C# :
processTrim = new Process();
processTrim.StartInfo.FileName = $"{WorkingDirectory}/ffmpeg.exe";
processTrim.StartInfo.WorkingDirectory = WorkingDirectory;
processTrim.StartInfo.Arguments = string.Format(@"-i ""{0}"" -ss 1 -i ""{0}"" -c copy -map 1:0 -map 0 -shortest -f nut - | ffmpeg -f nut -i - -map 0 -map -0:0 -c copy ""{1}""", $"input.mp4", $"trimmed.mp4");
processTrim.StartInfo.CreateNoWindow = false;
processTrim.StartInfo.UseShellExecute = false;
processTrim.EnableRaisingEvents = true;
processTrim.Start();
processTrim.WaitForExit(3000); // hangs here
processTrim.Close();However, the process hangs at
WaitForExit
. This is the output from the process window (doesn’t go beyond handler_name) :When I run the command in Windows command prompt it works, why wouldn’t it work in C# Process ?
-
RTSP stream exited with error" : Connection timed out
21 février 2020, par fw08I am building an web application on AWS Cloud that requires to stream a recorded/live video over the global network. I purchased an IP camera(GV-AVD4710) and NVR(GV-SNVR0811) for our application. In future I need to stream no. of cameras on my application.
While Camera in use With NVR, I have connected the NVR in our local network and the camera at channel_1 of NVR. Now the lets assume NVR is getting an IP of 192.168.1.203. So for rtsp streaming URL for channel_1 will be
"rtsp://id:password@192.168.1.203:554/ch1"
as per manufacturer’s specification. For camera streaming I am using "ffmpeg" multimedia framework (https://github.com/xpcrts/Steaming-IP-Camera-Nodejs ). So it is working fine. I tested it and working well in local network. Code that is running on the serverStream = require('node-rtsp-stream')
stream = new Stream({
name: 'name',
streamUrl: 'rtsp://ID:PASSWORD@abcxyz.com:554/ch1',
wsPort:3000,
ffmpegOptions: {
'-stats': '',
'-r': 30
}
})and Code running at client side which is independent of any plug-ins
<div>
<canvas width="auto" height="auto"></canvas>
<code class="echappe-js"><script type="text/javascript" src='http://stackoverflow.com/feeds/tag/jsmpeg.min.js'></script><script type="text/javascript"><br />
var canvas = document.getElementById('chanel1');<br />
var websocket = new WebSocket("ws://34.202.222.188:3000");<br />
var player= new jsmpeg(websocket, {canvas:canvas, autoplay:true, loop:true})<br />
</script>When I made this IP address available for public, and then the problem begins. It is not working and giving an error :
"[tcp @ 0x563911f0a340] Connection to tcp://192.168.1.205:554?timeout=0 failed: Connection timed out
rtsp://admin:admin@192.168.1.205: Connection timed out RTSP stream exited with error"In Camera Without NVR, I connected camera directly to our local network and so got an rtsp url like rtsp ://id:password@192.168.1.205/media/video1. Same happens again. Works well in local, but not working when I am making this available on public network.
How can stream video over global network ? Is it possible to implement these logic using ffmpeg multimedia framework ? Does VLC can help in these cases ?
I would like to reiterate that, In future there are no. of cameras needs to be stream.