
Recherche avancée
Autres articles (44)
-
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...) -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...) -
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 (...)
Sur d’autres sites (5259)
-
input stream error _read() is not implemented : ffmpeg-fluent
23 mai 2018, par Thomsheer AhamedI have buffer object. I want to pass that buffer as readable stream to ffpmeg.
var ffmpeg = require('fluent-ffmpeg');
var ffmpegPath = require("ffmpeg-binaries").ffmpegPath()
ffmpeg.setFfmpegPath(ffmpegPath);
var command = new ffmpeg();
command.input(my_buffer)
.videoCodec('libx264')
.size('520x?')
.aspect('4:3')
.inputFPS(8)
.outputFPS(30)
.output('new_video.mp4')
.on('start', onStrat)
.on('progress', onProgress)
.on('end', onEnd)
.on('error', onError)
.run();If I pass buffer right away I will get "Error : Invalid input
at FfmpegCommand.proto.mergeAdd.proto.addInput.proto.input"So I converted buffer into stream using
function bufferToStream(buffer) {
let Duplex = require('stream').Duplex;
let stream = new Duplex();
stream.push(new Buffer(buffer));
stream.push(null);
return stream;
}
var red = bufferToStream(finalResponse.file.buffer);and passed this steam to input
command.input(red)
Above Command throws "ffmpeg exited with code 1 : Error opening filters !" ;
If I use my_buffer and save it in locally using fs.writeFile(’path’,my_buffer) and pass this path to input of ffmpeg then it works fine..
But I dont want to store that file and then delete it after altering video.
Can some one help me ?
-
Stream video content through Web API 2
12 juin 2020, par FaNIXI'm in the process of working out what the best way is going to be to do the following :



I have a bunch of CCTV footage files (MP4 files, ranging from 4MB-50MB in size), which I want to make available through a web portal. My first thought was to stream the file through Web API, so I found the link below :



http://www.strathweb.com/2013/01/asynchronously-streaming-video-with-asp-net-web-api/



After implementing a sample project, I realised that the example was based on Web API 1, and not Web API 2.1, which is what I'm using. After doing some more research, I got the code to compile with WebAPI 2.1. I then realised that if I want to do streaming I cannot use MP4 files, there is a fair amount of technical detail behind this, so here is the thread :



Best approach to real time http streaming to HTML5 video client



It seems for this to work I need to encode my MP4 files to something like WebM, but that is going to take too much time. Icecast (http://icecast.org/), which is a streaming server, but I haven't tried it out yet, again not sure if this is what I need to do.



Now that I think of it, I actually don't need live streaming, I just need to allow the client to play the video file through their browser, perhaps using HTML5 video element ? The thing is, my application needs to work on IOS as well, so I reckon that means I cant even encode my MP4 to FLV and just use flash.



All I really need is to have all my video clips as thumbnails on a web page, and if the client clicks on one, it begins to play ASAP, without having to download the entire file. Think of the "Watch Trailer" feature on imdb.com. Simply just play a video file, thats really what I want. I don't need LIVE streaming, which is what I think WebM is for ? Again, not sure.


-
lavf/dnn : dump OpenVINO model input/output names to OVMdel struct.
21 juillet 2022, par Ting Fu