
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (29)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (5042)
-
Stop a ffmpeg subprocess automatically when m3u8 stream ends
5 mars 2024, par RudyGoburtdownload_command = ['ffmpeg', '-i', url, '-c:v', 'copy', '-c:a', 'copy', 'output.mp4']

 try:
 subprocess.run(download_command, check=True)
 except subprocess.CalledProcessError as e:
 print(e)
 print(f"Error code: {e.returncode}")




Running a python subprocess with a ffmpeg command on a m3u8 live stream. Noticing that even though the live stream has ended, the subprocess continues to run. How do you make it terminate when the stream ends ?


-
How to play entire youtube playlist on discord.py bot with youtube-dl
25 novembre 2020, par borkI'm trying to make a discord music bot. I'm using youtube-dl to retrieve the info and ffmpeg to play the audio out. My bot can successfully queue and play regular videos but when it comes to playing the entire playlist, it doesn't work.


This is my code for playing playlists :


if 'entries' in info:
 for i in info['entries']:
 URL = i['formats'][0]['url'] 
 player = FFmpegPCMAudio(URL, **FFMPEG_OPTIONS)
 queue.append(player)
 source = queue.pop(0)
 voice.play(player, after = lambda e: play_next(ctx, source)) 
 await ctx.send('playing song')



This downloads all the videos in the playlist but only plays the first one then shows this error :

discord.errors.ClientException: Already playing audio.


-
Is "begin" param dead in Youtube's *.c.youtube.com/videoplayback ?
23 janvier 2013, par MinimeI tested Youtube video download with begin param using ytdl, and realized that it's not working properly. Below is an URL with begin param. (It won't work on your side because it's session-IP address based.)
I traced Youtube site by myself to see if there are any recent changes on their black boxed
API. And I found that begin param is no longer put in videoplayback, but put in user_watch as below.Its response is
<?xml version="1.0" encoding="utf-8"?>
And videoplayback only has range param, which indicate byte range where to pull. However, I couldn't figure out exact mechanism how new begin param works.
Can anyone explain how to pull a video starting from specific position(msec) in new API ?