
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (43)
-
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
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 (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (8886)
-
http-flv live broadcast with flv.js error
29 mars 2019, par Forest YangWhen I try nginx + nginx-http-flv-module + flv.js to play video from camera, error happened, but play with VLC works fine.
log in nginx :
flv live: app args MUST be specified, client: 192.168.89.1, server: myserver, request: "GET /live.html HTTP/1.1", host: "192.168.89.134:8080"
Some key configurations,
nginx.conf :
http{
...
server{
...
location /live {
flv_live on;
chunked_transfer_encoding on; #open 'Transfer-Encoding: chunked' response
add_header 'Access-Control-Allow-Origin' '*'; #add additional HTTP header
add_header 'Access-Control-Allow-Credentials' 'true'; #add additional HTTP header
}
}
}
rtmp {
server {
listen 1935;
server_name 192.168.89.134;
application myapp {
live on;
gop_cache on;
}
}
}ffmpeg command :
ffmpeg -f avfoundation -s 1280x720 -r 30 -i 0 -f flv rtmp://192.168.89.134:1935/myapp/test
VLC network url :
http://192.168.89.134:8080/live?port=1935&app=myapp&stream=test
HTML with flv.js :
if (flvjs.isSupported()) {
var videoElement = document.getElementById('videoElement');
var flvPlayer = flvjs.createPlayer({
type: 'flv',
'isLive': true,
url: 'http://192.168.89.134:8080/live?port=1935&app=myapp&stream=test'
});
flvPlayer.attachMediaElement(videoElement);
flvPlayer.load();
flvPlayer.play();
}Can anyone tell me why based your experience ? thank you.
-
Transcode Adobe Media Encoder live stream using FFMPEG in node.js
23 juin 2014, par user2757842I am using Adobe media live encoder to send a stream up to the adobe media server. What I would like to do is take that stream and transcode it to a local file on my machine in another format other that .f4m
Here is the code I have so far, it is built using FFmpeg within a node.js app :
var ffmpeg = require('fluent-ffmpeg');
var fs = require('fs');
//make sure you set the correct path to your video file
var inStream = fs.createReadStream('rtmp://localhost/livepkgr/livestream live=1'); // this is where the streams are stored
var command = new ffmpeg({ source: inStream});
//Set the path to where FFmpeg is installed
command.setFfmpegPath("C:\\Users\\Jay\\Documents\\FFMPEG\\bin\\ffmpeg.exe");
command
//set the size
.withSize('100%')
// set fps
.withFps(24)
// set output format to force
.toFormat('ismv')
// setup event handlers
.on('end', function() {
console.log('file has been converted successfully');
})
.on('error', function(err) {
console.log('an error happened: ' + err.message);
})
// save to file <-- the new file I want -->
.saveToFile('rtmp://localhost/livepkgr/livestream1'); //this is where i want to store the newly converted streamI have it working with a local file but when I try it with my live stream, I get this error
events.js:72
throw er; // Unhandled 'error' event
^
Error: ENOENT, open 'C:\Users\Jay\workspace\FFMPEGtest\rtmp:\localhost\livepkgr\livestream live=1'Anyone seen this before ?
-
Video streaming from server to client
28 juillet 2016, par JohnnylinCurrently, my program can use ffmpeg to encode yuv420p image into H264 video format and then output to network stream using udp protocol. Then on the client side, a GUI program using VLC library can read the network stream and display the video stream.
HOWEVER, Using above method, I have to know every client side IP address and recompile the server code to send the network stream to client’s IP address using UDP. I want to implement something like, on the server side, the program will listen to a port (e.g. 1234), waiting for clients’ GUI program to connect, then on the client side, people can login to the GUI program in different computers with different IP addresses to connect to the server asking for network stream.
What else should I do with my current program ? How can I do that ? Can someone show me a minimum example ?
EDIT
I have set up a ffserver, and used my program to send stream data to this ip address :
http://localhost:8090/feed.ffm
But I got this error :
My configuration is pretty simple.
I do understand why this happened. The server side show no error at all. Can anyone explain ? I tried to find solutions to this, but nothing succeeded.