
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (50)
-
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 -
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 : (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (9076)
-
Python ImageIO WARNING:root:IMAGEIO FFMPEG_WRITER WARNING
21 janvier 2018, par cavaler12345I’m working in python with some images and I’m trying to convert a series of images with size = 961x509 into an MP4 movie file. I’ve already did this and it’s working but I have a quite annoying problem with a warning which says something like this :
WARNING:root:IMAGEIO FFMPEG_WRITER WARNING : input image is not
divisible by macro_block_size=16, resizing from (509L, 961L) to (512L,
976L) to ensure video compatibility with most codecs and players. To
prevent resizing, make your input image divisible by the
macro_block_size or set the macro_block_size to None (risking
incompatibility). You may also see a FFMPEG warning concerning
speedloss due to data not being aligned. [swscaler @ 04f8ac40]
Warning : data is not aligned ! This can lead to a speedlossThe problem that warning appears is my images resolution, that resolution should be divisible by 2, but mine it doesn’t. Is it there any possibility to just make this warning to don’t appear again ? Because I can’t change the size of my images and in the same time I don’t want to resize all of them.
Here is my code :
ready_images = []
for img in videos['Images']:
image = imageio.imread(img.fileName)
ready_images.append(image)
videoName = videos['Images'][0].gifLocationPath + "//" + videos['Name']
imageio.mimwrite(videoName, ready_images, 'MP4')Is anyone here how has a solution for me ?
UPDATE :
If I’m gonna put macro_block_size to None in this way(That’s the only way I know) :
ready_images = []
for img in videos['Images']:
image = imageio.imread(img.fileName)
ready_images.append(image)
video_name = videos['Images'][0].gifLocationPath + "//" + videos['Name']
imageio.mimwrite(video_name, ready_images, 'MP4', macro_block_size = None)I will receive this error message :
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or heightTraceback (most recent call last) : File "", line 146, in
run() File "", line 136, in run
for i, _ in tqdm(enumerate(pool.imap_unordered(generateGIFsWithThreads,
videoList))) : File "", line 953, in iter
for obj in iterable : File "", line 673, in next
raise value IOError : [Errno 32] Broken pipeFFMPEG COMMAND : ffmpeg -y -f rawvideo -vcodec rawvideo -s 961x509
-pix_fmt rgb24 -r 10.00 -i - -an -vcodec libx264 -pix_fmt yuv420p -crf 25 -v warning
D :\work\hero_forge\build\win32\Documents\GIFs\CH3_M1_0.mp4FFMPEG STDERR OUTPUT :
-
Revision add779e425 : Merge "Remove vp9_ prefix from bit writer files"
20 juillet 2015, par Yaowu XuMerge "Remove vp9_ prefix from bit writer files"
-
Revision a487af8d35 : Merge "Inline vp9_get_coef_context() (and remove vp9_ prefix)."
29 juin 2013, par Ronald S. BultjeMerge "Inline vp9_get_coef_context() (and remove vp9_ prefix)."