
Recherche avancée
Autres articles (70)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (11102)
-
Extracting frame out of video based on time in seconds
20 avril 2024, par VickyI'm developing a web-based video editing tool where users can pause a video and draw circles or lines on it using canvas. When a user pauses the video, I retrieve the current playback time in seconds using the HTML5 video.currentTime property. I then send this time value along with the shape details to the server. On the server-side, we use FFmpeg to extract the specific paused frame from the video. The issue I'm encountering is a frame mismatch between the one displayed in the browser and the one generated in the backend using FFmpeg.


I've experimented with various approaches for this process.


Extracting frame based on time. Example : in this case time is 3.360 second.




ffmpeg -i input.mp4 -ss 00:00:03.360 -frames:v 1 frame.jpg




Converting time to frame number using the following logic : Math.round(video.currentTime * fps)




ffmpeg -i input.mp4 -vf "select=eq(n,101)" -vsync vfr frame.jpg






ffmpeg -i input .mp4 -vf "select='lt(t,3.360)lt(3.360-t,1/31.019)',setpts=N/(31.019TB)" -vsync 0 frame.jpg




The challenge I'm facing is that sometimes the frame I see in the browser at the pause time doesn't match the one generated in the backend using FFmpeg. How can I solve this problem ? If it's an issue with currentTime, are there any other approaches I can try ?


-
How to convert raw video formats to mp4/mov with CLI based tool something like ffmpeg ?
29 octobre 2022, par A_MishraWant to convert raw video formats like braw, redcode and canon raw format into mp4/mov videos with command line tool such as ffmpeg. There are dedicated softwares for conversion like DaVinci Resolve for braw format, but I am looking for something to use as service and use it within my code thus looking for CLI based solution.


-
Revision f297504f2d : Re-work configure interface for encoding based on external mi This commit refin
14 juillet 2014, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_encoder.c
Modify /vp9/vp9_cx_iface.c
Modify /vpx/vpx_encoder.h
Modify /vpxenc.c
Re-work configure interface for encoding based on external miThis commit refines the configuration interface for encoding
process based on external mode info. It allows the vpxenc to read
the external file name from command line, and to produce warning
message when necessary.Change-Id : I109d02ea9e6e418d00378d512ed9ab9bb0770dbd