
Recherche avancée
Autres articles (56)
-
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 (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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
Sur d’autres sites (5699)
-
Revision 117730 : mettre toute la partie de parsage des conditions dans une fonction à part
6 septembre 2019, par maieul@… — Logmettre toute la partie de parsage des conditions dans une fonction à part
-
Revision 117730 : mettre toute la partie de parsage des conditions dans une fonction à part
6 septembre 2019, par maieul@… — Logmettre toute la partie de parsage des conditions dans une fonction à part
-
Detect scene change on part of the frame
16 juin 2021, par user18130814200115I have a video file of an online lecture cosisting of a slideshow with audio in the background.

I want to save images of each slide as well as the timestamp of that slide.
I do this using the scene and metadata filters :

ffmpeg -i week-01.mp4 -filter_complex "select='gt(scene,0.011)',metadata=print:file=frames/time.txt" -vsync vfr frames/img%03d.jpg



This works fine exept for one thing, there is a timer onscreen on the right in the video file.
If i set the thershold small enough to pick up all the slide changes, it also picks up the timer changes.


So here is my question, Can I ask ffmpeg to :


- 

- analize part of the frame (only the right side till roughly 75% to the left).
- Then, on detecting a scene change in this area, save the entire frame and the timestamp.






I though of making a script that


- 

- crops the video and saves it alongside the origional
- analize the cropped video for scene changes and save the timestamps
- extract the frames from the origional video using the timestamps








Is there a better/faster/shorter way to do this ?
Thanks in advance !