
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (79)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (11639)
-
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.


-
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 ?


-
Revision 513157e093 : Scatter-based scantables. This gains about 0.2% on derf, 0.1% on hd and 0.4% on
25 mars 2013, par Ronald S. BultjeChanged Paths : Modify /configure Modify /vp9/common/vp9_entropy.c Modify /vp9/decoder/vp9_dequantize.c Scatter-based scantables. This gains about 0.2% on derf, 0.1% on hd and 0.4% on stdhd. I can put this under an experimental flag if wanted, just trying to get my patch queue in shape. Change-Id : (...)