
Recherche avancée
Autres articles (46)
-
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 (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (4948)
-
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.


-
CPU spike when transitioning from a still image
21 avril 2016, par lagnatAfter streaming a still image (with x264) for a long period of time, the transition to live video makes the CPU spike to 100% for a period of time proportionally equal to how long the still image was streaming. More specifically, transitioning after a minute will result in a CPU spike lasting about 15 seconds. Transitioning after 30 minutes will result in that spike lasting closer to 3 minutes.
Does this symptom make any sense and is there anything I can do about it ?
-
CPU spike when transitioning from a still image
21 avril 2016, par lagnatAfter streaming a still image (with x264) for a long period of time, the transition to live video makes the CPU spike to 100% for a period of time proportionally equal to how long the still image was streaming. More specifically, transitioning after a minute will result in a CPU spike lasting about 15 seconds. Transitioning after 30 minutes will result in that spike lasting closer to 3 minutes.
Does this symptom make any sense and is there anything I can do about it ?