
Recherche avancée
Autres articles (24)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (6032)
-
Failed to install ffmpeg. Failed to download resource "x265"
19 août 2020, par Olha OlhaI was trying to run "brew install ffmpeg" and two download links failed. So it failed the installation.


Those are the links that aren't working :


==> Downloading https://mirrors.edge.kernel.org/pub/software/scm/git/git-htmldocs-2.28.0.tar.
==> Downloading https://bitbucket.org/multicoreware/x265/downloads/x265_3.4.tar.gz



I got this errors :


Error: Failed to download resource "git--html"

Download failed: https://mirrors.edge.kernel.org/pub/software/scm/git/git-htmldocs-2.28.0.tar.xz

Error: Failed to download resource "x265"

Download failed: https://bitbucket.org/multicoreware/x265/downloads/x265_3.4.tar.gz



-
How to download a part of mp3 from server ?
20 août 2020, par Sharukh MohammedUse Case


My use case is roughly equal to, adding a 15-second mp3 file to a 1 min video. All transcoding merging part will be done by FFmpeg-android so that's not the concern right now.


The flow is as follows


- 

- User can select any 15 seconds (ExoPlayer-streaming) of an mp3 (considering 192Kbps/44.1KHz of 3mins = up to 7MB)
- Then download ONLY the 15 second part and add it to the video's audio stream. (using FFmpeg)
- Use the obtained output








Tried solutions


- 

-
Extracting fragment of audio from a url


RANGE_REQUEST - I have replicated the exact same algorithm/formula in Kotlin using the exact sample file provided. But the output is not accurate
(± 1.5 secs * c) where c is proportional to startTime


-
How to crop a mp3 from x to x+n using ffmpeg ?


FFMPEG_SS - This works flawlessly with remote URLs as input, but there are two downsides,


- 

- as
startTime
increases, the size of downloaded bytes are closer to the actual size of the mp3. ffmpeg-android
does not support network requests module (at least the way we complied)






- as






So above two solutions have not been fruitful and currently, I am downloading the whole file and trimming it locally, which is definitely a bad UX.
I wonder how Instagram's music addition to story feature works because that's close to what I wanted to implement.


-
Unable to download a file using youtube_dl
22 octobre 2020, par perkymasterI am trying to play music from a bot using ffmpeg and youtube_dl by making using of discord.py but it seems that I am unable to download the file


Here is my code :


voice = get(client.voice_clients, guild=ctx.guild)

ydl_opts={
 'format': 'bestaudio/best',
 'noplaylist': 'True',
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec':'mp3',
 'preferredquality':'192',
 }],
}

with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 print("Downloading audio now \n")
 ydl.download([url])

for file in os.listdir("./"):
 if file.endswith(".mp3"):
 name=file
 print(f"Renamed File: {file}\n")
 os.rename(file, "song.mp3")

voice.play(discord.FFmpegPCMAudio('song.mp3'), after=lambda e: print(f"{name} has finished playing"))
voice.is_playing()
voice.source=discord.PCMVolumeTransformer(voice.source)
voice.source.volume= 0.7

nname = name.rsplit("-", 2)
await ctx.send(f"Playing {nname}")
print("Playing \n")



Nothing seems to happen, the bot is not playing any music.


I am new to this, can anyone help ?