
Recherche avancée
Autres articles (33)
-
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 (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (5692)
-
Additional : Add Brazillian CNH number (Carteira Nacional de Habilitac…
5 novembre 2018, par joaoissamuAdditional : Add Brazillian CNH number (Carteira Nacional de Habilitacao) (#2234)
-
Revision 2607 : Les prévisus valides xhtml
27 août 2009, par kent1 — LogLes prévisus valides xhtml
-
Not able to do live video streaming in golang iris web framework and Html
31 janvier 2017, par Avinash LakheraI am trying to create live streaming functionality using golang iris web framework, Html ffmpeg and rtmp. The user will stream from the webcamera and in golang it should create the live streaming.
socket.On("start", func(m string) {
if ffmpegProcess != nil || feedStream == true {
socket.Emit("fatal", "stream already started.")
return
}
if rtmpDestination == "" {
socket.Emit("fatal", "no destination given.")
return
}
ffmpegProcess = exec.Command("ffmpeg", "-vcodec", vcodec, "-i", "-",
"-c:v", "libx264", "-preset", "veryfast", "-tune", "zerolatency",
"-an",
"-bufsize", "1000",
"-f", "flv", rtmpDestination)
ffmpegIn, _ = ffmpegProcess.StdinPipe()
ffmpegOut, _ = ffmpegProcess.StdoutPipe()
// ffmpegProcess.Start()
})
socket.On("binarystream", func(m interface{}) {
log.Info("binarystream")
f := m.(map[string]interface{})
var buf bytes.Buffer
enc := gob.NewEncoder(&buf)
err := enc.Encode(f)
if err != nil {
log.Error("Error")
}
bytedata := buf.Bytes()
go func() {
log.Info("Started")
ffmpegProcess.Stdin.Read(bytedata)
ffmpegProcess.Stdout.Write(bytedata)
log.Info("Completed")
}()
})Above is my golang code
function onSuccess(stream) {
video_show(stream);//only show locally, not remotely
socket.Emit("config_rtmpDestination", url);
socket.Emit("start", 'start');
mediaRecorder = new MediaRecorder(stream);
mediaRecorder.start(2000);
mediaRecorder.onstop = function (e) {
stream.stop();
}
mediaRecorder.ondataavailable = function (e) {
socket.Emit("binarystream", e.data);
//chunks.push(e.data);
}
}above javascript method is my client side code. "binarystream" is emitting the webcamera data to server but in server I think I have written some wrong as I am new to golang can you guys help me out
Thanks