
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (70)
-
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (8713)
-
aarch64 : vp9 : loop_filter : fix typo in skip flatout8 check
14 novembre 2016, par Janne Grunau -
Any other better ways to extract frames from a large size video according to the timecode given ?
6 avril 2020, par Yong EnGiven a video from youtube with at least 600 MB. The video is annotated with labels that happens in multiple timecodes. The timecodes are in millisecond (SSSS.ss). I am trying to get the frames that fall within a time period (2 timecodes). There are TWO approaches that I used with different tools, one is using openCV in python and FFmpeg in bash script :



I would stick with few variables here,



- 

- fps = 25
- timecode (after convert into second) = 333.44 to 334.00 take note that I am dealing with time period that might less than a second.







openCV



- 

- Using openCV in python, I read the video as frames into a numpy array. Using the fps from video, 25. I can estimate where do the frames that fall under this time period by diving total video duration in second with length of the numpy array.
- Problem here is I will miss out some frames here due to the video fps is not really 25 as given by the video meta info, it could be 24.xx. Any solutions ?







ffmpeg



- 

- What I did, every time I want to get the frames, I run the script.
- Problem here is I need to read the video 100 times if I have 100 time periods. Any ways to overcome this ?







Thanks for reading it.


-
FFmpeg convert video to images with complex logic
18 juillet 2020, par UdiI'm trying to use FFMPEG in order to solve some complex logic on my videos.


The business logic is the following :
I get videos from the formats : avi, mp4, mov.


I don't know what is the content in the video. It can be from 1M to 5G.


I want to output a list of images from this video with the higher quality I can get. Capturing only frames that have big changes from their previous frame. (new person, a new angle, big movement, etc)


In addition, I want to limit the number of frames per second that even if the video is dramatically fast and has changed all the time it will not produce more frames per second than this parameter.


I'm using now the following command :


./ffmpeg -i "/tmp/input/fast_movies/3_1.mp4" -vf fps=3,mpdecimate=hi=14720:lo=7040:frac=0.5 -vsync 0 -s hd720 "/tmp/output/fast_movies/(#%04d).png"



According to my understanding it doing the following :
fps=3 - first cut the video to 3 frames per second (So that is the limit I talked about)


mpdecimate - filter frames that doesn't have greater changes than the thresholds I set.


-vsync 0 - sync video timestamp - I'm not sure why but without it - it makes hundereds of duplicate frames ignoring the fps and mpdecimate command. Can someone explain ?


-s hd720 - set video size to


It works pretty well but I'm not so happy with the quality. Do you think I miss something ? Is there any parameter in FFMPEG that I better use it instead of these ones ?