
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (100)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 -
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
Sur d’autres sites (7805)
-
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 ?


-
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.


-
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