
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (51)
-
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
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 -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (7090)
-
Revision 6f35081003 : vp9_ratectrl.c : cleanup -wextra warning Change-Id : I7ca46fa26acd80a21210cb8d958
13 mai 2014, par Yaowu XuChanged Paths :
Modify /vp9/encoder/vp9_ratectrl.c
vp9_ratectrl.c : cleanup -wextra warningChange-Id : I7ca46fa26acd80a21210cb8d9584ad812cb995bf
-
Revision eb5889f882 : static analysis warning in vp9_ratectrl.c Change-Id : I8aa3dd068d9a7225b3e8b2439
11 février 2014, par Jim BankoskiChanged Paths :
Modify /vp9/encoder/vp9_ratectrl.c
static analysis warning in vp9_ratectrl.cChange-Id : I8aa3dd068d9a7225b3e8b24392a7b4a54b9435dd
-
Imagio ffmpeg libopenh264 warning : Slice count will be set automatically
4 août 2022, par Francisco Herrerias-AzcueI am trying to generate a simple mp4 using imageio, but I keep getting a warning on the slice count, which I have not been able to fix.
This code pops the warnings :


import imageio
import matplotlib.pyplot as plt
import numpy as np

PNGfiles=[]

outfile="Test"

for ti in range(10):
 of=outfile+"_t_"+str(ti)+".png"
 PNGfiles.append(of)
 
 t = np.arange(0.0, 2.0, 0.01)
 s = 1 + np.sin(2 * np.pi * t+ti/np.pi)
 plt.clf()
 plt.plot(t,s)
 plt.savefig(of)

with imageio.get_writer(outfile+".mp4",format="mp4", mode='I',) as writer:
 for filename in PNGfiles:
 image = imageio.imread(filename)
 writer.append_data(image)



And the output is :


[libopenh264 @ 0x562bbb818b40] Slice count will be set automatically
[libopenh264 @ 0x562bbb818b40] [OpenH264] this = 0x0x562bbba437d0, Warning:layerId(0) doesn't support profile(578), change to UNSPECIFIC profile
[libopenh264 @ 0x562bbb818b40] [OpenH264] this = 0x0x562bbba437d0, Warning:SliceArgumentValidationFixedSliceMode(), unsupported setting with Resolution and uiSliceNum combination under RC on! So uiSliceNum is changed to 6!
[libopenh264 @ 0x562bbb818b40] [OpenH264] this = 0x0x562bbba437d0, Warning:bEnableFrameSkip = 0,bitrate can't be controlled for RC_QUALITY_MODE,RC_BITRATE_MODE and RC_TIMESTAMP_MODE without enabling skip frame.



I know the warning is issued as soon as the first image is written to the file, that is, after the first iteration of the writing loop, but I have not found an option to pass so that the number of slices is set before the loop starts.


Thanks for your help.


I am running inside a conda environment reproducible with this yml file :
generated with this yml file :


name: py-env

channels:
 - conda-forge
 - defaults

dependencies:
 - matplotlib==3.5.2
 - imageio==2.9.0
 - imageio-ffmpeg==0.4.7