
Recherche avancée
Autres articles (53)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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 (6370)
-
lavfi/curves : add plot option
22 juillet 2016, par Clément Bœsch -
FFMPEG, Blur an area of a video using Image Select Areas Plugin
12 juillet 2016, par DrupalistI am building an online video editor. I need to allow the users to blur an area of movies. This must be done graphically, I mean user should be able to select an area of a video, using an screenshot, then the selected area must be blurred. Some thing like this
Is there anyway to map this selected area dimension and its distance from borders to the real values that must be applied to the video ?
I mean four numbers,
width, length, top, left
will be provided using this plug in and I need to use these numbers to blur an area of videos.I take an screenshot of video. In order to keep the aspect ratio, I will fix the width to
800px
and let the height to be scaled up/down. It is clear that thewidth, length, top, left
of the selected area of the screenshot is a factor of thewidth, length, top, left
of the area that must be blurred in video. but I don’t know how to get this factor. Besides that I don’t know how to get the video resolution.Thanks in advance.
Update
This is my PHP code that gets the selected area dimensions and offsets
$iLeft = $_POST['left'];
$iTop = $_POST['top'];
$iWidth = $_POST['width'];
$iHeight = $_POST['height'];
exec('ffmpeg -i '.$url.' -filter_complex "[0:v]scale=iw*sar:ih,setsar=1,split[bg][bb];[bb]crop='.$iWidth.'*iw/800:iw*'.$iHeight.'/800:'.$iWidth.'*iw/800:'.$iHeight.'*iw/800,boxblur=10[b0];[bg][b0]overlay='.$iLeft.'*W/800:'.$iTop.'*W/800"" '.$name.' > block.txt 2>&1');$iLeft, $iTop, $iWidth, $iHeight
are the left, top, width and height of the selected area via the image plugin.It blurs many selected areas very well, but areas like this
The Image
Left, Top, Width, Height
is257, 39.26666259765625, 10, 391
don’t get blurred. Also a video with Dimension
207x207
didn’t get blurred as well. -
checkasm : h264dsp : Initialize the padding area
27 juin 2016, par Martin Storsjöcheckasm : h264dsp : Initialize the padding area
This fixes valgrind warnings about conditional jumps based on
uninitialized data (even though the uninitialized data only ever
was compared with a direct copy of the same uninitialized data).Signed-off-by : Martin Storsjö <martin@martin.st>