
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (78)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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" (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (9546)
-
Android video saves as type "file" instead of video format
25 novembre 2015, par Marc RasmussenSo I have a website where I allow people to upload a video from their phone and send it to their friends.
Now
Iphone
works well because it is usually an.mov
file. However when I attempt on my android (Samsung galaxy) I get FileType : fileHowere is an image from my filezilla as to what has been uploaded :
The highlighted are the files uploaded from the android device.
Can anyone tell me why this is happening ? and how I can make sure that it is a video ? and/or convert it into a mp4 format.
-
I have a problem with node js rtsp streaming server
11 décembre 2022, par sangeun joI made rtsp cctv streaming server with nodjs.


But it is not stable.


Some cctvs works well but others are not.


First I thought rtsp url has its own problem, but it may not.
Because the url worked well in vlc player.


I don't know what I'm missing.


below is my whole code related cctv streaming.




var express = require('express');
var router = express.Router();
var kill = require('tree-kill');
var fs = require('fs');
var path = require('path');

var ffmpeg = require('fluent-ffmpeg');
var ffmpegInstaller = require('@ffmpeg-installer/ffmpeg');
ffmpeg.setFfmpegPath(ffmpegInstaller.path)

var streams = {};

//start cctv
router.post('/', (req, res) => {

 var cname = req.body.cname;
 var url = req.body.url;

 //if there is same cctv name
 if(streams[cname] != null) {
 res.status(409).send("duplicate name");
 return;
 };

 //create dir as given cctv name;
 mkdir(cname);

 stream = ffmpeg(url).addOptions([
 '-hls_time 5', 
 '-hls_list_size 10',
 '-hls_flags delete_segments',
 '-f hls' 
 ]).output('./public/video/' + cname + '/' + cname + '.m3u8'); //save path

 console.log("Start cctv streaming");
 stream.on('error', function(err, stdout, stderr) {
 console.log("cctv has been stoped");
 console.log(err);
 });

 stream.run(); 

 streams[cname] = stream;
 res.status(201).send("OK");
});

//bring cctv pid by cctv name
router.get('/:cname', (req, res) => {
 var cname = req.params.cname;

 if(streams[cname] == null) {
 res.status(404).send("not found such a cctv");
 return;
 };

 var pid = streams[cname].ffmpegProc.pid;
 res.send({"pid": pid});
});


//stop cctv by pid 
router.delete('/:cname', async (req, res) => {
 var cname = req.params.cname;
 
 //no cctv
 if(streams[cname] == null) {
 res.status(404).send("not found such a cctv");
 return;
 };


 //del dir
 var filePath = './public/video/' + cname;
 fs.rmdir(filePath, { recursive: true }, (err) => {
 if (err) {
 console.log(err)
 } else {
 console.log('dir is deleted.');
 }
 });

 //var pid = streams[cname].ffmpegProc.pid;
 streams[cname].kill();
 res.status(204).send("OK");
});

const mkdir = (name) => {
 var root = './public/video/';
 if(!fs.existsSync(root + name)){
 fs.mkdirSync(root + name);
 }
}







And this is ts file save folder.
cctv1 dosen't work well but cctv2 works well.
(cctv1 started first but created less ts file than cctv2.)



-
Struggling to make ffmpeg function properly on Azure's app service [closed]
26 novembre 2023, par rickkorstenI've developed a backend using Node.js and Express, with certain functionalities relying on ffmpeg. While everything runs smoothly locally, I've encountered challenges after deploying the backend to Azure as an app service. I've attempted several solutions, such as installing ffmpeg via the SSH command line and adding a deploy.cmd file, but none have proven effective. Has anyone successfully integrated ffmpeg with an Azure app service and could offer guidance ?