
Recherche avancée
Autres articles (80)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (3331)
-
Révision 23589 : Report de r23588 : corriger l’utilisation du critere {annee_relatif} et autres re...
9 juin 2017, par cedric@yterium.comYEAR-YEAR = ’’
au lieu de
YEAR-YEAR = 0
Le premier marchant en mysql mais pas en sqlite(Par contre un annee_relatif=0 marchait bien dans tous les cas)
-
FFMPEG and Matplotlib for animations - strange outputs ?
27 juin 2020, par user13132640I'm trying to create animations using FFMPEG and matplotlib. Using the below code, I am creating the FFMpeg writer, and then using a loop, writing a series of graphs to the animation. However, the outputs I'm getting are very strange ; sometimes, when I watch the .mp4 file, the first 5 seconds are blank, then the video "ends" (the playback time on my media player says that it's complete), and at that point, my animation shows up. Other times, some frames are missing or skipped. I've tried searching around, but frankly I haven't found anyone with similar issues.


I just installed the latest version of FFMpeg today.


FFMpegWriter = manimation.writers['ffmpeg']
metadata = dict(title='Animation test', artist='name')
writer = FFMpegWriter(fps=1, metadata=metadata) # 1 frames per second, each year is 1 second



Then, the plotting part...(I've excluded the code where I setup the fig, ax etc.)


with writer.saving(fig, "animation.mp4", dpi=200):
 year = "2005"
 for i in range(4):

 d1_plot = d1[d1['Year'].str.contains(year, na=False)]
 ax.scatter(d1_plot["Lat"], d1_plot["Long"], c='g', s=d1_plot["Size"], transform=ccrs.PlateCarree())
 ax.set_title(year)
 writer.grab_frame()
 year = str(int(year)+1)



-
Windows FFmpeg converting imges into a gif with correct framerate
26 janvier 2016, par Zombie WafflesI’ve been using ffmpeg to create animated gif images from images.
Every time I use this command ;
ffmpeg.exe -r 120 -f concat -i images.txt ffmpeg.gif
the output file it produces is way slower than 120 frames per second.
Is there something I’m missing to set the gif’s fps to 120 instead of 1 ?
Output #0, gif, to 'ffmpeg.gif':
Metadata:
encoder : Lavf57.21.101
Stream #0:0: Video: gif, pal8, 468x60, q=2-31, 200 kb/s, 120 fps, 100 tbn, 120 tbc
Metadata:
encoder : Lavc57.22.100 gif
Stream mapping:
Stream #0:0 -> #0:0 (png (native) -> gif (native))
Press [q] to stop, [?] for help
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 3, current: 3; changing to 4. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 4, current: 4; changing to 5. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 5, current: 5; changing to 6. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 6, current: 6; changing to 7. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 7, current: 7; changing to 8. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 8, current: 8; changing to 9. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 9, current: 8; changing to 10. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 10, current: 9; changing to 11. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 11, current: 10; changing to 12. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 12, current: 11; changing to 13. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 13, current: 12; changing to 14. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 14, current: 13; changing to 15. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 15, current: 13; changing to 16. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 16, current: 14; changing to 17. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 17, current: 15; changing to 18. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 18, current: 16; changing to 19. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 19, current: 17; changing to 20. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 20, current: 18; changing to 21. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 21, current: 18; changing to 22. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 22, current: 19; changing to 23. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 23, current: 20; changing to 24. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 24, current: 21; changing to 25. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 25, current: 22; changing to 26. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 26, current: 23; changing to 27. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 27, current: 23; changing to 28. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 28, current: 24; changing to 29. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 29, current: 25; changing to 30. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 30, current: 26; changing to 31. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 31, current: 27; changing to 32. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 32, current: 28; changing to 33. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 33, current: 28; changing to 34. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 34, current: 29; changing to 35. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 35, current: 30; changing to 36. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 36, current: 31; changing to 37. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 37, current: 32; changing to 38. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 38, current: 33; changing to 39. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 39, current: 33; changing to 40. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 40, current: 34; changing to 41. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 41, current: 35; changing to 42. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 42, current: 36; changing to 43. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 43, current: 37; changing to 44. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 44, current: 38; changing to 45. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 45, current: 38; changing to 46. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 46, current: 39; changing to 47. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 47, current: 40; changing to 48. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 48, current: 41; changing to 49. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 49, current: 42; changing to 50. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 50, current: 43; changing to 51. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 51, current: 43; changing to 52. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 52, current: 44; changing to 53. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 53, current: 45; changing to 54. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 54, current: 46; changing to 55. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 55, current: 47; changing to 56. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 56, current: 48; changing to 57. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 57, current: 48; changing to 58. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 58, current: 49; changing to 59. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 59, current: 50; changing to 60. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 60, current: 51; changing to 61. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 61, current: 52; changing to 62. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 62, current: 53; changing to 63. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 63, current: 53; changing to 64. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 64, current: 54; changing to 65. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 65, current: 55; changing to 66. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 66, current: 56; changing to 67. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 67, current: 57; changing to 68. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 68, current: 58; changing to 69. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 69, current: 58; changing to 70. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 70, current: 59; changing to 71. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 71, current: 60; changing to 72. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 72, current: 61; changing to 73. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 73, current: 62; changing to 74. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 74, current: 63; changing to 75. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 75, current: 63; changing to 76. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 76, current: 64; changing to 77. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 77, current: 65; changing to 78. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 78, current: 66; changing to 79. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 79, current: 67; changing to 80. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 80, current: 68; changing to 81. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 81, current: 68; changing to 82. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 82, current: 69; changing to 83. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 83, current: 70; changing to 84. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 84, current: 71; changing to 85. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 85, current: 72; changing to 86. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 86, current: 73; changing to 87. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 87, current: 73; changing to 88. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 88, current: 74; changing to 89. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 89, current: 75; changing to 90. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 90, current: 76; changing to 91. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 91, current: 77; changing to 92. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 92, current: 78; changing to 93. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 93, current: 78; changing to 94. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 94, current: 79; changing to 95. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 95, current: 80; changing to 96. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 96, current: 81; changing to 97. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 97, current: 82; changing to 98. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 98, current: 83; changing to 99. This may result in incorrect timestamps in the output file.
[gif @ 000000a80e3694e0] Non-monotonous DTS in output stream 0:0; previous: 99, current: 83; changing to 100. This may result in incorrect timestamps in the output file.
frame= 101 fps=0.0 q=-0.0 Lsize= 245kB time=00:00:01.01 bitrate=1985.2kbits/s speed=4.84x
video:243kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.646120%
Press any key to continue . . .