
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (84)
-
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) (...)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (7517)
-
Some download errors in my discrod musicbot
24 avril 2021, par takugranoI am making my music bot for discord
but i am having some problem with uploading videos


@client.command()
async def play(ctx, url : str):
 song_there=os.path.isfile("song.mp3")
 try:
 if song_there:
 os.remove("song.mp3")
 except PermissionError:
 await ctx.send("music is playing right now, use !stop command")
 return
 voiceChannel=discord.utils.get(ctx.guild.voice_channels,name='General')
 await voiceChannel.connect()
 voice=discord.utils.get(client.voice_clients,guild=ctx.guild)



 ydl_opts={
 'format':'bestaudio/best',
 'postprocessors':[{
 'key':'FFmpegExtractAudio',
 'preferredcodec':'mp3',
 'preferredquality': '192',
 }],
 }
 with youtube_dl.YoutubeDL(ydl_opts)as ydl:
 ydl.download([url])
 for file in os.listdir("./"):
 if file.endswith(".mp3"):
 os.rename(file,"song.mp3")
 voice.play(discord.FFmpegPCMAudio("song.mp3"))



in my programm I have more code but it is not that important.
After compile i have this :


[youtube] 5RGaoLpBASw: Downloading webpage
[download] Destination: F1 Tokyo Drift-5RGaoLpBASw.m4a
[download] 100% of 1.11MiB in 00:00 
[ffmpeg] Correcting container in "F1 Tokyo Drift-5RGaoLpBASw.m4a"
 ERROR: 
 Ignoring exception in command play:



and this :


raise FFmpegPostProcessorError(msg)
youtube_dl.postprocessor.ffmpeg.FFmpegPostProcessorError



and this :


raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: 



and finally this :


raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: DownloadError: ERROR: 



but on my discord server nothing but connecting the bot to the channel happens
however, a file with the .m4a extension appears in the programm directory, which I need to play.


how can i fix these errors ?


-
How to download videos from m3u8 that has sample-aes encryption [closed]
8 mai 2021, par Rajat BishtI am trying to download my online lecture from m3u8 link but it shows "ffmpeg do not support sample-aes yet".
Link of lecture : https://pw.pc.cdn.bitgravity.com/b7826d86-612d-4ef2-b17c-cc4f91d9584c/master.m3u8 .
It is sample-aes-ctr encrypted. Also I know python a little bit so it would be better if I could download it using python. Also I have link to mpd file : https://pw.pc.cdn.bitgravity.com/b7826d86-612d-4ef2-b17c-cc4f91d9584c/master.mpd.
Please can anyone tell any module or something which can help in downloading it.....
Thanks in advance.


-
Youtube-dl : Download video with maximum FPS and change FPS using OpenCV
8 mai 2021, par MmBaguetteI'm trying to download a YouTube video using YouTube-dl and specifying a maximum FPS. I don't want the lowest FPS, but I also don't want an FPS higher than 30. The code below does not work, but it was my best attempt.


ydl_opts = {
 'format': '(bestvideo[fps<30]/bestvideo)+bestaudio/best', # CHANGE FOR VIDEO
 'outtmpl': "youtube_video.%(ext)s",
}
print("Downloading YouTube video.")
 
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 ydl.download([text])



If not, can I change the FPS of a video using OpenCV ? I tried using
cap.set(cv2.CAP_PROP_FPS)
but this doesn't work either.

cap = cv2.VideoCapture(file)
fps = cap.get(cv2.CAP_PROP_FPS)
print(fps) # prints 60.0
cap.set(cv2.CAP_PROP_FPS)
fps = cap.get(cv2.CAP_PROP_FPS)
print(fps) # 60.0 again