
Recherche avancée
Autres articles (23)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
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 -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (5918)
-
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.
-
Anyone knows what might be the problem with this video output ?
31 janvier 2020, par KrishnakumarI am seeing the following scrambled output for a live stream when processing an udp input stream. I am using the recently downloaded ffmpeg from GIT. Stop and Start of ffmpeg command resolves the issues temporarily.
Sample Logs :Sun Jan 26 03:52:00 2020 ffmpeg version N-94528-gfaa9cd3 Copyright (c) 2000-2019 the FFmpeg developers
Sun Jan 26 03:52:00 2020 built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
Sun Jan 26 03:52:00 2020 configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread --extra-libs=-lm --bindir=/root/bin --enable-gpl --enable-libfdk_aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-openssl
Sun Jan 26 03:52:00 2020 libavutil 56. 33.100 / 56. 33.100
Sun Jan 26 03:52:00 2020 libavcodec 58. 55.100 / 58. 55.100
Sun Jan 26 03:52:00 2020 libavformat 58. 30.100 / 58. 30.100
Sun Jan 26 03:52:00 2020 libavdevice 58. 9.100 / 58. 9.100
Sun Jan 26 03:52:00 2020 libavfilter 7. 58.100 / 7. 58.100
Sun Jan 26 03:52:00 2020 libswscale 5. 6.100 / 5. 6.100
Sun Jan 26 03:52:00 2020 libswresample 3. 6.100 / 3. 6.100
Sun Jan 26 03:52:00 2020 libpostproc 55. 6.100 / 55. 6.100
Sun Jan 26 04:02:46 2020 [h264 @ 0x4d988c0] illegal short term buffer state detected
Sun Jan 26 04:02:46 2020 [h264 @ 0x4e54f80] reference picture missing during reorder
Sun Jan 26 04:02:46 2020 Last message repeated 1 times
Sun Jan 26 04:02:46 2020 [h264 @ 0x4e54f80] Missing reference picture, default is 56257016
Sun Jan 26 04:02:46 2020 Last message repeated 1 times
Sun Jan 26 04:02:46 2020 [h264 @ 0x4cc2e00] mmco: unref short failure
Sun Jan 26 04:02:46 2020 [h264 @ 0x594f4c0] illegal short term buffer state detected
Sun Jan 26 04:02:46 2020 [h264 @ 0x4f66800] reference picture missing during reorder
Sun Jan 26 04:02:46 2020 [h264 @ 0x4f66800] Missing reference picture, default is 56257692
Sun Jan 26 04:02:46 2020 [h264 @ 0x4c75a00] mmco: unref short failure
Sun Jan 26 04:02:46 2020 [h264 @ 0x4d988c0] illegal short term buffer state detected
Sun Jan 26 04:02:47 2020 [h264 @ 0x4e54f80] reference picture missing during reorder
Sun Jan 26 04:02:47 2020 Last message repeated 1 times
Sun Jan 26 04:02:47 2020 [h264 @ 0x4e54f80] Missing reference picture, default is 56257032
Sun Jan 26 04:02:47 2020 Last message repeated 1 times
Sun Jan 26 04:02:47 2020 [h264 @ 0x4cc16c0] reference picture missing during reorder
Sun Jan 26 04:02:47 2020 [h264 @ 0x4cc16c0] Missing reference picture, default is 56257700
Sun Jan 26 04:02:47 2020 [h264 @ 0x4cc2e00] mmco: unref short failure
Sun Jan 26 04:02:47 2020 [h264 @ 0x594f4c0] illegal short term buffer state detected
Sun Jan 26 04:02:47 2020 udp://230.1.1.2:12000?fifo_size=5000000&overrun_nonfatal=1: corrupt decoded frame in stream 3
Sun Jan 26 04:02:47 2020 [h264 @ 0x4f66800] reference picture missing during reorder
Sun Jan 26 04:02:47 2020 [h264 @ 0x4f66800] Missing reference picture, default is 56257708
Sun Jan 26 04:02:47 2020 [h264 @ 0x4c75a00] mmco: unref short failure
Sun Jan 26 04:02:47 2020 [h264 @ 0x4d988c0] illegal short term buffer state detected
Sun Jan 26 04:02:47 2020 [h264 @ 0x4e54f80] reference picture missing during reorder
Sun Jan 26 04:02:47 2020 Last message repeated 1 times
Sun Jan 26 04:02:47 2020 [h264 @ 0x4e54f80] Missing reference picture, default is 56257048
Sun Jan 26 04:02:47 2020 Last message repeated 1 times
Sun Jan 26 04:02:47 2020 [h264 @ 0x4cc16c0] reference picture missing during reorder
Sun Jan 26 04:02:47 2020 [h264 @ 0x4cc16c0] Missing reference picture, default is 56257716
Sun Jan 26 04:02:47 2020 [h264 @ 0x4cc2e00] mmco: unref short failure
Sun Jan 26 04:02:47 2020 [h264 @ 0x594f4c0] illegal short term buffer state detected -
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.