
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (58)
-
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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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.
Sur d’autres sites (11591)
-
How to extract frames in real time from the MediaStream object returned from the frontend in backend
23 mai 2023, par Darwin Swartzis it possible to extract frames in real-time on the backend from a MediaStream object returned from the frontend ? something like :- instead of extracting frames from a canvas element in frontend and sending those frames to the backend in real time, can we send just the
stream
instance to the backend and extract frames there in real time until the user stops the recording ?

chrome.tabCapture.capture({ audio: false, video: true }, function(stream) {
 // Use the media stream object here
});



I am using tabCapture api which returns a
stream
, now I want to send thisMediaStream
instance in real time to the backend and extract frames there and edit something on them in real-time using OpenCV or FFmpeg. is this something technically possible ?

One approach I have seen is


chrome.tabCapture.capture({ audio: false, video: true }, function(stream) {
 video.srcObject = stream
 const canvas = document.createElement('canvas');
 const ctx = canvas.getContext('2d');
 ctx.drawImage(video, 0, 0, canvas.width, canvas.height);
 const imageData = canvas.toDataURL('image/jpeg');
});



drawing each frame on top of a canvas and capturing those frames from it (in the frontend itself)and sending those frames in real-time to the backend using web sockets. I am not sure about this approach as this might be bad for frontend memory wise,


What could be a more efficient way of implementing real-time frame editing with frame manipulation libraries like OpenCV and FFmpeg


-
Open Video Conference registration is now open !
Registration for this year’s Open Video Conference (OVC) is now open ! Register on or before August 1st, 2010 to get the early bird discount. This year’s OVC will be held in New York City from October 1 – 2, 2010. … Read more »
-
Bash result into variable
26 janvier 2018, par Massimo VantaggioHow can I put the result of the expression below into a variable ?
times=()
for f in *.ts; do
_t=$(ffmpeg -i "$f" 2>&1 | grep "Duration" | grep -o " [0-9:.]*, " | head -n1 | tr ',' ' ' | awk -F: '{ print ($1 * 3600) + ($2 * 60) + $3 }')
times+=("$_t")
done
echo "${times[@]}" | sed 's/ /+/g' | bc