
Recherche avancée
Autres articles (66)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...) -
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)
Sur d’autres sites (11534)
-
lavu/tx : improve 3-point fixed precision
14 février 2020, par Lynne -
Error writing to file when saving matplotlib animation with a given codec
31 mars 2017, par ideshI’ve had trouble saving an mp4 animation created with matplotlib with a given codec. However I should mention beforehand that I could save the mp4 animation without specifying codecs and that seems to work fine, except that I am not able to insert this mp4 animation into powerpoint for a presentation. Powerpoint says it cannot read the file because it is missing 64bit codec.
When digging further I discovered that Windows media player which is used by power point for the animations, has already some video codecs installed.
So I thought of saving the initial matplotlib animation with one of these codecs, which is also compatible with ffmpeg. The command
ffmpeg -codecs
on terminal lists the supported codecs and I could spot the codecs common with ffmpeg and windows media player, ex : MSS1, MSS2So I tried to save the animation with the argument
codec
set as follows.anim = animation.FuncAnimation(fig, animate, 158,interval=300, blit=True)
writer = animation.writers['ffmpeg']
anim.save('film_v5.mp4', codec='mss1')Nevertheless it leads to an error, no matter what type of codec argument I put.
So I was wondering perhaps there was someone savvy, willing to help me troubleshoot this problem. Despite my attempts I could not find any solution in the stackoverflow forum.
Thank you in advance for your attention.
-
swscale/output : Altivec-optimize yuv2plane1_8
17 novembre 2018, par Lauri Kasanenswscale/output : Altivec-optimize yuv2plane1_8
./ffmpeg_g -f rawvideo -pix_fmt rgb24 -s hd1080 -i /dev/zero -pix_fmt yuv420p \
f null -vframes 100 -v error -nostats -
1158 UNITS in planar1, 65528 runs, 8 skips
cpuflags 0
19082 UNITS in planar1, 65533 runs, 3 skips
16.48 speedup ratio. On x86, SSE2 is 7. Curiously, the Power C version
takes as many cycles as the x86 SSE2 version, yikes it's fast.Note that this function uses VSX instructions, but is not marked so.
This is because several existing functions also make that mistake.
I'll submit a patch moving them once this is reviewed.Signed-off-by : Lauri Kasanen <cand@gmx.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>