
Recherche avancée
Autres articles (42)
-
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 -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (5197)
-
Create thumbnails of sections of a torrent stream
14 juillet 2015, par OrtixxI’m trying to create a little application in nodejs using the
torrent-stream
library to create thumbnails of a video without actually having to download the entire file. I was thinking of downloading only 10 parts, out of which I would extract an image, but then the encoding comes into play : without anI-frame
I cannot extract an image out of the stream, and there is no way of me knowing where the I-frame is.So any ideas on how to do this ? Basically I was hoping to create 10 tiny files which I could then open in ffmpeg in order to save a thumbnail (this would give me 10 thumbnails which is want I want). I’m just not sure how to handle the stream.
-
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.
-
Revision 16212 : un lien pour aller du forum admin au forum interne et vice-versa, cf ...
19 septembre 2010, par fil@… — Logun lien pour aller du forum admin au forum interne et vice-versa, cf http://www.spip-contrib.net/Le-plugin-Autorite#forum434569