
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (51)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (7533)
-
Revision 5d79720d57 : Removed shadow warnings : mcomp.c rdopt.c Adding -Wshadow to CFLAGS generated a
14 mars 2013, par Scott LaVarnwayChanged Paths :
Modify /vp8/encoder/mcomp.c
Modify /vp8/encoder/rdopt.c
Removed shadow warnings : mcomp.c rdopt.cAdding -Wshadow to CFLAGS generated a bunch of warnings. This patch
removes these warnings.Change-Id : Ib498de4b8652051d257cf86dcb40d2968a5013ae
-
FFmpeg - How to get the timestamp of the frame of which a thumbnail was generated ?
11 avril 2020, par user2851148I am using FFmpeg to extract a screenshot through the timestamp, but I get this timestamp manually by watching the video in VLC and looking for the exact moment of the thumbnail was generated, this process is very time consuming and I need to do it with 220 videos.



All this in order to get a high resolution image of the thumbnail, I also have to mention that the thumbnail file does not have the timestamp in the metadata and in the title.



Would there be any way for FFmpeg to give me the exact timestamp where the thumbnail was taken ?



UPDATED



After a couple of hours testing with FFmpeg commands I found the solution, it is not completely automatic but it works, then the command is :



ffmpeg -ss 00:02:30 -i video.mp4 -t 00:00:40 -loop 1 -i thumbnail.jpg \
 -filter_complex "scale=480:270,hue=s=0,blend=difference:shortest=1, \
 blackframe=95:30,fps=fps=23" -f null -




Options to modify :



- 

- "video.mp4" replace for the video file (obviously).
- "thumbnail.jpg" replace for the thumbnail file.
- "-ss" and "-t" are the range of time where the thumbnail likely to be.


- 

- "-ss" time start 00:02:30 (2min with 30 sec)
- "-t" time since start 00:00:40 (2min with 30sec + 40sec)
- If you have no idea where probably is the thumbnail, you can delete this part, only it will take longer to find it.






- "480:270" replace for size of the thumbnail.
- "fps=23" change the 23 for the fps exact of the "video.mp4" file.













And answer we have :



[Parsed_blackframe_1] frame:3849 pblack:100 pts:160535 t:160.535000




In this example, we can see that the command has given us the exact timestamp where the thumbnail was generated "160.535000" which is in seconds with microseconds.



Now to extract the thumbnail in high resolution we could use the found timestamp, but consider that it would be more exact and precise to use the frame number, which in this case would be "frame:3849".



Using this command, we obtain the exact image :



ffmpeg -i video.mp4 -vf "select=gte(n\, 3849)" -vframes 1 high_resolution.png




Well I hope this is helpful for someone who is looking for the original image of a thumbnail or in general who needs to know exactly the minute where it was taken.



If someone in the future likes to make a script that can fully automate this process, I would be grateful :)


-
Revision c11313e31e : fix superframe index with lagged encoding If a superframe (ARF) is generated wh
13 mars 2013, par John KoleszarChanged Paths : Modify /vp9/vp9_cx_iface.c fix superframe index with lagged encoding If a superframe (ARF) is generated while flushing the lagged frames at the end of the clip, the buffer pointer wasn't being properly updated to account for the size of the index, causing the next frame to (...)