
Recherche avancée
Autres articles (63)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 -
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 (6768)
-
Trim Overlay memory issue
4 juillet 2019, par Костянтин ТюртюбекGreetings fellow FFmpeg users,
We are experiencing a strange memory leek issue (or maybe just doing something really wrong) and need some directions on how to debug it.
What are we trying to achieve :
Process a conference recording that includes multiple user streams, each in its own separate file (all files are mp4/opus).
- Make a dynamic scene from a set of recordings, based on their volume level at set point of time.
- The scene must include two parts : smaller grid of all the participants videos, bigger grid of currently talking people. Something like Google Hangouts or Skype does in their applications.
What went wrong :
- Memory footprint started unpredictably skyrocketing for some reason during montage
What are we using :
First FFmpeg command that reads filter_complex_script from file and adds drawbox as a talking indication on each video source file, when its volume is over a set threshold.
Second FFmpeg command that reads filter_complex_script from file and :
- takes an input file (using 0:v),
- trims a part of it, when the user was talking,
- scales it according to the amount of concurrently talking users,
- pads to that resolution (in case if user video is smaller)
filter_complex command using SELECT :
[0]select='between(t, 1, 2)', scale=762:428:force_original_aspect_ratio=decrease,pad=763:429:(ow-iw)/2:(oh-ih)/2[stream-0-workspace-scale-1-1];
[block-2-grid][stream-0-workspace-scale-1-1]
overlay=repeatlast=1:shortest=0:x=10:y=316:enable='between(t, 1, 2)'
[block-2-workspace-1];filter_complex command using TRIM :
[input-file-tag]
trim=start=#{start}:duration=#{duration},
setpts=PTS-STARTPTS,
scale=#{w-1}:#{h-1}:force_original_aspect_ratio=decrease,
pad=#{w}:#{h}:(ow-iw)/2:(oh-ih)/2
[input-file-trimmed];
[previous-block-tag]
overlay=repeatlast=1:shortest=0:x=#{x}:y=#{y}:enable='between(t, #{from}, #{to})'
[next-block-tag]We have tried going the TRIM command way, tried the SELECT command way. Problem is, both take insane amounts of ram during execution.
Examples and more description :
-
Lets assume that only two of the five inputs have the volume above a
certain volume threshold from second two to five. -
We are trying to display only them according to some overlay math.
-
Cropped commands in human readable form : https://pastebin.com/YwrnRgnA
-
Full FFmpeg command is way too long to read through, that is the reason we started using filter_complex_script and loading it from file
-
Sometimes one block of video conference may have up to 300+
intermediate overlays, which leads to the memory issue described. We were expecting the memory footprint to be similar to the amount of input files or maybe two-to-three times higher. However, we reach 15Gb or RAM usage withing the first two minutes of montage, while the input files are no bigger than 200Mb.
What have we done in terms of debugging :
-
We had been using split at first, but quickly figured out that split
does in fact copy each input and load it in memory, so we had to
ditch that approach. -
As matter of fact we moved to using the input files themselves, so
the problem lies elsewhere. -
To clarify, we have split our ffmpeg command into two separate ones.
First one overlays the talking box animation using drawbox as well as
user avatar and name. It outputs new video files which we than use in
the command described above as direct input files tags, like 0:v, 1:v
etc.
Thank you for taking time reading through our issue.
We sure hope that you can help us narrow it down.
Please feel free to ask for any additional information or descriptions if needed.Have a good day !
-
Why are there multiple .m3u8 requests made by the browser ?
20 mai 2020, par 47fa0cI usually download my lectures instead of watching them on the online player provided by my university. I do this by finding requests that include .m3u8 in their url. There always seems to be two of these for each of the videos that I want to download, with one slight difference in the urls but otherwise identical. Why is that the case ?



My wild guess is that one of them is supposed act as a backup if the other failed to fetch but I am not sure.



I can't share the urls as they contain copyrighted material but it looks something like



domain/a/b/hashedvalue1/c/video.mp4/index.m3u8




and



domain/a/b/hashedvalue2/c/video.mp4/index.m3u8




Thanks for your help :)


-
Failed to start broadcast : kurento.MediaPipeline not found (Code:40101, Type:null, Data : {"type" :"MEDIA_OBJECT_NOT_FOUND"})
30 avril 2020, par Arslan MaqboolI am facing this issue when I opened any conference room or any meeting then the camera or microphone or sharedscreen is opened from just 1 or 2 seconds and then
 gone and error message popup in the image below which is attached and in text



I am using open-meeting version 5.0.0-M3 WebRTC



> Failed to start broadcast: Object
> '4f09d0d4-f52f-4731-9e54-124e2da0ca9a_kurento.MediaPipeline' not found
> (Code:40101, Type:null, Data: {"type":"MEDIA_OBJECT_NOT_FOUND"})