
Recherche avancée
Autres articles (79)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (14240)
-
How to convert a .avif images to video with ffmpeg ?
18 mars 2023, par tousangconvert a .avif images to video with ffmpeg


by read ffmpeg doc, i run such cmd in shell :


ffmpeg -framerate 10 -pattern_type glob -i *.avif -c:v libx264 -pix_fmt yuv420p out.mp4



but only get some error :


ffmpeg version N-109896-g156ca86569 Copyright (c) 2000-2023 the FFmpeg developers
 built with Apple clang version 14.0.0 (clang-1400.0.29.202)
 configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/HEAD-156ca86_1 --enable-shared --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-libaom --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-demuxer=dash --enable-opencl --enable-audiotoolbox --enable-videotoolbox --enable-neon --disable-htmlpages --enable-libfdk-aac --enable-libsvtav1 --enable-nonfree
 libavutil 58. 3.100 / 58. 3.100
 libavcodec 60. 4.100 / 60. 4.100
 libavformat 60. 4.100 / 60. 4.100
 libavdevice 60. 2.100 / 60. 2.100
 libavfilter 9. 4.100 / 9. 4.100
 libswscale 7. 2.100 / 7. 2.100
 libswresample 4. 11.100 / 4. 11.100
 libpostproc 57. 2.100 / 57. 2.100
Option framerate not found.



my ffmpeg can convert png image to avif , i wonder if there have some ways to convert avif image to mp4 video.


thanks.


-
Python : FFmpeg Input/output error using discord.py
29 mai 2023, par PeeblYweebhere is my code :


async def direct(self, interaction: discord.Interaction, link: str):
 voice_client = get(self.bot.voice_clients, guild=interaction.guild)
 if voice_client is None:
 return await interaction.response.send_message("❌ Connect to a channel first.")

 await interaction.response.send_message("Using direct link.")
 voice_client.play(discord.FFmpegPCMAudio(link))
 return



here is my error :


[tls @ 0x557c73a19d00] Error in the pull function.
https://cdn.discordapp.com/attachments/1109998398150545410/1112473248505004142/portradio-_1_.ogg: Input/output error
2023-05-28 13:29:11 INFO discord.player ffmpeg process 1458408 successfully terminated with return code of 0.



this happens usually around half-way through whatever im playing consistently


i've tried setting arguments like :


ffmpeg_options = {'options': '-vn -dn -sn -ignore_unknown -fflags +discardcorrupt'}



from this other post
’corrupt input packet in stream 1’ error in FFMPEG
which fixed the error corrupt input packet but im still having trouble any ideas ?


goal is to get the audio playing to discord without having to store the file locally then playing it from there then discarding it after.


-
FFMPEG S3 AWS Laravel Unable to check existence
18 avril 2023, par Moomen Aldahdouhthe error in logs laravel file
[2023-04-18 14:11:22] production.ERROR : Unable to check existence for : videos/643ea50862566/643ea50862566_0_300_%05d.ts "exception" :"[object] (League\Flysystem\UnableToCheckFileExistence(code : 0) : Unable to check existence for : videos/643ea50862566/643ea50862566_0_300_%05d.ts at C :\inetpub\mysite\vendor\league\flysystem\src\UnableToCheckExistence.php:19)
[stacktrace]


I'm trying to upload a video on S3 service using Laravel FFMPEG and convert the video to multi-resolution after adding Frames, the error appears on the server, but on localhost not appear, and working very well locally.


`FFMpeg::fromDisk('s3')//uploads
 ->open($this->data["storage_path_full"])
 ->exportForHLS()
 ->addFormat($lowBitrate, function ($media) {
 $media->addFilter('scale=256:144'); 
 })
 ->addFormat($superLowBitrate, function ($media) {
 $media->addFilter('scale=426:240'); 
 })
 ->addFormat($midBitrate, function ($media) {
 $media->addFilter('scale=480:360'); 
 })
 ->addFormat($superMidBitrate, function ($media) {
 $media->addFilter('scale=640:480'); 
 })
 ->addFormat($highBitrate, function ($media) {
 $media->addFilter('scale=1280:720'); 
 })
 ->addFormat($superHighBitrate, function ($media) {
 $media->addFilter('scale=1920:1080'); 
 })
 ->toDisk('s3')
 ->save($this->data["storage_path_video"]);`