
Recherche avancée
Médias (1)
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (57)
-
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 -
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 tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (7926)
-
Merge commit ’299d8ab104fb350254eb2e6d9ecdce892a2a55b1’
24 novembre 2014, par Michael Niedermayer -
How to create thumbnail about torrent without downloading video files ? [on hold]
1er septembre 2019, par tty78Most of time, torrent sites like RARBG/The Pirate Bay/KickAss would return many query results even through I have typed in many detailed keywords, which is not strange because there are many people upload it.
So, when i want to watch/download a torrent movie, it’s better to check the video first to find out that :
- is it a fake video
- is the video watermarked
- is there some AD in the video
- is it 1980*1080 or 640*480 ??
What i want to do is creating thumbnail of the videos without download them, so that i can save a lot of broadband, disk space and time.
Now I can create thumbnail with a python tool - vcsi, but it depends on the video file stored in disk.
In fact,vcsi
get meta information withffprobe
and create thumbnail usingffmpeg
.def probe_media(self, path):
"""Probe video file using ffprobe
"""
ffprobe_command = [
"ffprobe",
"-v", "quiet",
"-print_format", "json",
"-show_format",
"-show_streams",
path
]
try:
output = subprocess.check_output(ffprobe_command)
self.ffprobe_dict = json.loads(output.decode("utf-8"))
except FileNotFoundError:
error = "Could not find 'ffprobe' executable. Please make sure ffmpeg/ffprobe is installed and is in your PATH."
error_exit(error)ffmpeg_command = [
"ffmpeg",
"-ss", skip_time,
"-i", self.path,
"-ss", skip_delay,
"-vframes", "1",
"-s", "%sx%s" % (width, height),
]WebTorrent may be a solution but it’s not good because I have a lot of torrent file to scan.
I want to create thumbnail on a ubuntu VPS because it can run day and night, and i can post thumbnail under the torrent comments.
Some key frame, resolution and duration are enough, maybe.
-
Merge commit ’409d1cd2c955485798f8b0b0147c2b899b9144ec’
19 mars 2017, par Clément Bœsch