
Recherche avancée
Médias (3)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (45)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (5293)
-
How to run ffmpeg on demand when someone opens my website with the player where a remote IP camera is displayed ?
8 mai 2023, par alexiterI set up an nginx server to stream from an IP camera located elsewhere, I used a windows server because it was the one I had no use for (I usually prefer linux), I would need to know how I can make the ffmpeg command run only when someone opens the website where the player is located.


This is my nginx.conf server code :


worker_processes 1;

error_log logs/error.log info;

events {
 worker_connections 1024;
}
rtmp {
 server {
 listen 1935;
 ping 30s;
 notify_method get;
 application live {
 live on;
 on_publish http://*******:8080/auth;
 dash on; 
 dash_path tmp/dash;
 
 
 }
 }
}
http{

 server {
 listen 8080;
 location /auth {
 if ($arg_psk = '*****') {
 return 201;
 }
 return 404;
 }
}
 
 server {
 listen 8443 ssl;
 server_name stream.*****.com;
 
 ssl on;
 ssl_certificate C:/Certbot/live/stream.*****.com/fullchain.pem;
 ssl_certificate_key C:/Certbot/live/stream.****.com/privkey.pem;
 ssl_session_timeout 5m;
 charset utf-8;
 location /dash {
 root tmp;
 add_header Cache-Control no-cache;
 }
 location / {
 root www;
 }
 

 }
}




The command that I use from the DOS console in windows is this :


ffmpeg -rtsp_transport tcp -i rtsp://*****:******@******.com:557/Streaming/Channels/101 -c copy -f flv -y -t 35 rtmp://********:1935/live/stream?psk=********



Basically what I need is that ffmpeg is not running constantly, only when someone wants to view the video from the IP camera. (I have programmed ffmpeg to finish after 35 seconds, although I will put five minutes later)


-
Android camera stream with rtmp has stable 5 second latency
8 avril 2014, par native1989I use ffmpeg with h264 build and javacv on android to stream video from camera to rtmp server.
I was trying to set all possible video framerates and bitrates, set preset ultrafast, but I still have stable 5 seconds delay.
If i use android mediarecorder sending mpegts stream with rtmp to server,i have only 2 seconds delay, and if I use -fflags nobuffer options on the client(ffmpeg), the video is appearing immediately.I don`t know how in android ffmpeg reduces this latency.
Here the code :recorder = new FFmpegFrameRecorder(ffmpeg_link, imageWidth, imageHeight, 1);
recorder.setFormat("flv");
recorder.setFrameRate(frameRate);
recorder.setVideoBitrate(900*1000);
recorder.setVideoCodec(avcodec.AV_CODEC_ID_H264);
recorder.setVideoOption("preset", "ultrafast");
recorder.setVideoOption("tune", "zerolatency");
recorder.setVideoOption("fflags", "nobuffer");
recorder.setVideoOption("analyzeduration", "0"); -
Streaming Encoded MPEG-4 live video from a web camera using RTP in C++
6 mars 2017, par Maad A.GalilI have been working on building a video streamer from a webcam using RTP protocol in C++ language in Linux. I was able to use opencv to take frames from the webcam and send them frame by frame to a client app that shows those frames one by one using the same frame per second parameter.
But that is mostly a MJPEG kind of transfer as the encoding used is JPEG encoding with a specific quality for each frame. However, I would like to use MPEG-4 encoding before transferring the video. After a deep search online I found out that ffmpeg is the best for such purpose. But the samples online mostly work through a command line interface to capture a webcam video and save it as a video file with the given encoding and format.
What I am asking about here. Is there a possibility to encode the webcam "LIVE", and get byte data while encoding the camera stream. I would like to use those byte data to transfer it using RTP for example. And then I would like to decode the received byte data and show the video using opencv imshow function for example.
I hope that I could explain my question clearly.
Thanks in advanced,
Yours,
Maad