
Recherche avancée
Médias (1)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
Autres articles (103)
-
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 audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (11333)
-
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



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


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