
Recherche avancée
Médias (3)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (45)
-
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 (...) -
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)
Sur d’autres sites (7831)
-
Trying to save an animation gives error : OSError : Error saving animation to file (cause : [Errno 22] Invalid argument)
18 octobre 2019, par EsmeeI am trying to save an animation, but I get the error :
OSError : Error saving animation to file (cause : [Errno 22] Invalid argument) Stdout : b’’ StdError : b’’. It may help to re-run with logging level set to DEBUG.
I have installed ffmpeg and also added the path to it in my code. If I add
print(animation.writers.list())
, it gives ’ffmpeg’ in the list as well so I’m sure my computer can find the right file.At the top of my code, I have :
import matplotlib.pyplot as plt
plt.rcParams['animation.ffmpeg_path'] = 'C:/FFmpeg/bin/ffmpeg.exe'And when saving the animation, I have :
SubplotAnimation_1 = SubplotAnimation(F_vector, eta_atm, Pkid, Tb_sky)
Writer = animation.FFMpegWriter(fps=20, metadata=dict(artist='Me'), extra_args=['--verbose-debug'])
file_string = r'C:/Users/Esmee/Documents/Animations/animation_tryout.mp4'
print(file_string)
SubplotAnimation_1.save(file_string, writer=Writer)I have added the
r
in front of the string, so there are no problems with the/a
in the file_string. The folder C :/Users/Esmee/Documents/Animations/ exists for sure, so that also shouldn’t be a problem.
I have also triedWriter = animation.writers['ffmpeg']
mywriter = Writer(fps=15, metadata=dict(artist='Me'), bitrate=1800)But it doesn’t work either.
I have looked at animation save gets errror, How can I overcome this key word error and No Moviewriters available, but none of them offers a solution to my problem.
Does anyone know what the problem could be ? Thanks in advance !
-
How to re-encode a 120fps (or higher) MP4 from my Samsung Galaxy to a 30fps (example) so it plays on Windows like it does on the Samsung
21 septembre 2022, par remark70I have some high fps slow-motion videos (mp4) that I've recorded on my phone, but when I copy them to windows and play them back, they play at the normal speed (or they play really fast), unless I slow down playback but this isn't a good result.


What I'd like to do is re-encode (if that's the right word) the video to a standard fps (such as 30) to get a longer video (keeping all the frames), i.e. a 10 second 120fps would end up being a 40 second video at 30fps.


-
File input of avformat_open_input in ffmpeg
28 février 2016, par Justin ChangI’m trying to use function
avformat_open_input
in FFmpeg to open the file which contains Chinese word.For example :
char* file="C:/測試/baby.mp4";
avformat_open_input(&pFormatCtx, file, NULL, NULL);But, it seems to be failed.
My question is how do I pass the file path which contains Chinese (or other languages except for English) ?