
Recherche avancée
Autres articles (68)
-
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 (2839)
-
Create sliding video from pattern/tile image
9 avril 2022, par AldoGiven a 300x300 tile image like this I would like to generate a 1920x1080 video just showing the repeated tile (i.e. tiles are repeated in order to cover all the 1920x1080) but also slowly moving from left to right.


Using ImageMagick I know how to generate a very long image from the tile image, let say a 19200x1080 image :


magick convert -size 19200x1080 tile:tile.jpg long.jpg



But I have no idea on how to use ffmpeg in order to crop a 1920x1080 area from the long image and move the crop area horizontally as time passes.


Any help, also with a completely different approach not based on the long image generated by ImageMagick ?


-
pydub.exceptions.CouldntEncodeError : Encoding failed
2 décembre 2023, par asdasdasasdim on alpine linux and i get running into this error


File "/usr/lib/python3.9/site-packages/zspotify/_main_.py", line 697, in main
 zs.start()
 File "/usr/lib/python3.9/site-packages/zspotify/_main_.py", line 672, in start
 self.download_by_url(query)
 File "/usr/lib/python3.9/site-packages/zspotify/_main_.py", line 504, in download_by_url
 ret = self.download_track(parsed_url["track"])
 File "/usr/lib/python3.9/site-packages/zspotify/_main_.py", line 332, in download_track
 output_path = self.respot.download(
 File "/usr/lib/python3.9/site-packages/zspotify/respot.py", line 66, in download
 handler.convert_audio_format(audio_bytes, output_path)
 File "/usr/lib/python3.9/site-packages/zspotify/respot.py", line 648, in convert_audio_format
 AudioSegment.from_file(audio_bytes).export(
 File "/usr/lib/python3.9/site-packages/pydub/audio_segment.py", line 970, in export
 raise CouldntEncodeError(
pydub.exceptions.CouldntEncodeError: Encoding failed. ffmpeg/avlib returned error code: -4



tried running zspotify and this error popped up, it also resulted in a 0kb file with the songs title


-
FFMPEG makes my server crash
10 décembre 2011, par user997735I have a youtube mp3 converter site, and to do this I am using FFMPEG.
The problem is that the FFMPEG is using 100% CPU when there are some converting process together, so users can't access my site until the processes are finished.
How can I limit the CPU usage of FFMPEG ? Is there another solution to solve my problem ?