
Recherche avancée
Autres articles (16)
-
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 (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (6754)
-
Anomalie #3945 (Nouveau) : Notice : Use of undefined constant _SPIP_ECRIRE_SCRIPT - assumed ’_SPIP_...
6 mai 2017, par Ybbet SPIPBonjour,
En SPIP 3.2 SVN, en allant sur la page ecrire/ ?exec=admin_plugin&voir=inactif j’ai cette notice :
Notice : Use of undefined constant _SPIP_ECRIRE_SCRIPT - assumed ’_SPIP_ECRIRE_SCRIPT’ in [...]/ecrire/inc/utils.php on line 1889
On utilise dans la fonction
generer_url_ecrire()
cf. https://core.spip.net/projects/spip/repository/entry/spip/ecrire/inc/utils.php#L1887 la constante_SPIP_ECRIRE_SCRIPT
.
Pourtant cette constante est instanciée dans la fonctionspip_initialisation_suite()
, précisément ici https://core.spip.net/projects/spip/repository/entry/spip/ecrire/inc/utils.php#L2588Il y aurait plusieurs possibilités :
- Faire un test sur la définition de_SPIP_ECRIRE_SCRIPT
et si inexistante, lancer la fonctionspip_initialisation_suite()
;
- Lancer dans la fonctiongenerer_url_ecrire()
la fonctionspip_initialisation_suite()
. -
fftools : drop the fake "default" option from ffplay/ffprobe
9 mars 2022, par Anton Khirnovfftools : drop the fake "default" option from ffplay/ffprobe
It tries to process any unhandled options as AVOptions. Handle this
directly in cmdutils.c, without resorting to a confusing fake option
definition (which is currently visible to the users in -help output). -
Why are Cb and Cr planes displaced differently from lum by the displace complex filter in ffmpeg ?
6 mai 2017, par NebI have a video encoded with the yuv420p pixel format and I want to displace its pixels. I’m using ffmpeg and its new displace filter. The filter takes as inputs (the video to be displaced and) two displacement maps respectively for X and Y axis. I decided to create the displacement maps directly into ffmpeg using the nullsrc video source filter and the geq filter to specify the value of the three planes : lum, Cb, Cr. The script is the following :
ffmpeg INPUT.mp4 -f lavfi -i nullsrc=size=${WIDTH}x${HEIGHT}:d=0.1,geq='lum=128+30*sin(2*PI*X/400):Cb=128+30*sin(2*PI*X/400):Cr='128+30*sin(2*PI*X/400)' -f lavfi -i nullsrc=size=${WIDTH}x${HEIGHT}:d=0.1,geq='lum=128+30*sin(2*PI*X/400):Cb=128+30*sin(2*PI*X/400):Cr=128+30*sin(2*PI*X/400)' -lavfi '[0][1][2]displace' OUTPUT.mp4
I used the example provided in the documentation of ffmpeg, since the expression used in geq is irrelevant for the purposes of the problem.
At the and of the computation, I get the pixels of the input video not properly displaced, meaning that I can clearly see a sort of ghost carrying-color-information video under a displaced but b/w one.
After some tests, I noticed that the displacemnt map created had only the luma plane displaced correctly while the chrominance planes were displaced, but differently from luma, which is the origin of the planes disalignment in the intput video as you can see in the following extract frames :I also noticed that the video describing the Cb and Cr planes of the displacement maps have half resolution of the luma plane.
My question is : how can i setup correctly the Cr and Cb planes in the geq definition so that they are exactly identical to the luma plane ?
It would be also great if someone could explain me why ffmpeg gives me an output so much different for luma and Cb, Cr planes even if the function provided is the same.
If, it can help, i’m using ffmpeg 3.3-static build.
Thanks for your time.