
Recherche avancée
Autres articles (45)
-
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. -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)
Sur d’autres sites (10452)
-
Error using javacv library for live streaming camera to server
22 juin 2015, par Prathyush KumarI am new to live-streaming i’m following this link
here for implementing camera streaming to server with ffserver listening onport 8090
.But my code breaks at this linepublic void startRecording() {
try {
recorder.start(); //breaks here
startTime = System.currentTimeMillis();
recording = true;
audioThread.start();
} catch (FFmpegFrameRecorder.Exception e) {
e.printStackTrace();
}
}I debugged a little bit to find out what is happening and i found out in this line in
FFmpegFrameRecorder.class
if((this.oformat.flags() & 1) == 0) {
AVIOContext pb1 = new AVIOContext((Pointer)null);
if((ret = avformat.avio_open(pb1, this.filename, 2)) < 0) {//throwing exception here
this.release();
throw new Exception("avio_open error() error " + ret + ": Could not open \'" + this.filename + "\'");
}
this.oc.pb(pb1);
}ret is -5 which is less than 0 and so it cannot open the file(rtmp ://live:live@192.168.0.115:8090/live/test.flv).
I am not able to understand whats happening in avformat.class Please help
Is this any configuration problem for ffserver or is it anything else ?I’m not able to figure this out please any help would be greatly appreciated.
-
Is there a way i can live stream in real time a canvas and send it to another web server [closed]
7 mai 2024, par N0edLI'm working on a project where I have a canvas displaying gameplay, which is currently being live-streamed to the client canvas. Now, I want to stream this gameplay canvas to a third-party web server in real time using HLS or RTMP, but I'm unsure where to start. Could anyone provide some guidance or tips on how to achieve this ?


Here's what I've tried so far :


- 

- I experimented with FFmpeg for the streaming, but didn't make much progress.
- I have a system in place that streams the gameplay to the client canvas.






Any advice on how to set up the live stream from the canvas to the third-party server using HLS/RTMP would be greatly appreciated. Thanks in advance !


-
Live Streaming over HTTP using CloudFront and FFMPEG having delay issue
23 avril 2021, par jitendra-gautamLive Streaming using CloudFront and FFMPEG having delay issue I am using the NodeJS server with FFMPEG and live streaming to CloudFront, which is then consumed by many people via CloudFront. Below is the data received at the user's end.


#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1317
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:1
#EXTINF:0.833333,
1317.ts
#EXTINF:0.833333,
1318.ts
#EXTINF:0.833333,
1319.ts



The problem is the next .ts file that is 1320.ts is taking time to create on the server, thus the user is seeing the loading sign, and when this 1320.ts is created on the server, thereafter only the user is able to see the next live stream frame. How can the streaming be continuous ?? Below is the FFMPEG command that is being used :


process = child_process.spawn('ffmpeg', commandArgs);




let commandArgs = [
 '-loglevel',
 'debug',
 '-protocol_whitelist',
 'pipe,udp,rtp,rtmp,http,https,tcp',
 '-fflags',
 '+genpts',
 '-f',
 'sdp',
 '-i',
 'pipe:0',
 '-c:v',
 'libx264',
 '-crf',
 '21',
 '-preset',
 'veryfast',
 '-g',
 '25',
 '-sc_threshold',
 '0',
 '-c:a',
 'aac',
 '-b:a',
 '128k',
 '-ac',
 '2',
 '-hls_flags',
 'delete_segments+append_list',
 '-f',
 'segment',
 '-segment_list_flags',
 'live',
 '-segment_time',
 '1',
 '-segment_list_size',
 '3',
 '-segment_format',
 'mpegts',
 '-segment_list',
 `${RECORD_FILE_LOCATION_PATH}/${fileName}.m3u8`,
 `-segment_list_type`,
 'm3u8',
 `${RECORD_FILE_LOCATION_PATH}/%d.ts`
];