
Recherche avancée
Autres articles (39)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (4221)
-
Time-weighting frames of an animation using FFMPEG [duplicate]
12 mars 2020, par Rohan S ByrneI’m using ’ffmpeg’ to make an mp4 out of hundreds of individual frames, which are timeslices from an experiment I’ve run. My problem is that the time sampling is not regular. I would like to somehow ’weight’ the frames according to their time index so that the framerate is fast when the sampling rate was fast and slow when the sampling rate was slow.
I know how to do this sort of operation when taking, for instance, a time average using numpy arrays. I have no idea how to do it with ffmpeg.
Any tips ?
-
FFmpeg cutting off exceeded time
8 mars 2018, par Gvozden KuzmanFollowing ffmpeg command is working fine except it cuts down the exceeded -t duration :
ffmpeg -ss 00:00:05 -t 49 -i 1.wav -ss 00:00:05 -t 400 -i 2.wav -ss 00:00:05 -t 49 -i 3.wav -filter_complex "[0:0][1:0][2:0]concat=n=3:v=0:a=1[outa]" -map "[outa]" output.mp3
In this example, 2.wav file is 00:05:09 in length, and we are requesting to get next 400 seconds. Time that exceeded, which is 96 seconds in this example is removed from the output file, and my client doesn’t want that.
That extra time should be 96 seconds of silence. Does ffmpeg have such capability or will it always remove the extra time ?
-
Setting up time triggers on video player
28 juillet 2022, par gPatsBackground :



I have a some text that I want to display in a textbox whenever the video is playing in a certain interval, say
(00:02:00-00:04:00 "Hello there")
.


These textbox should only be displayed whenever the video is playing in the particular interval. If I rewind, or skip the video to a different time, the textbox should be generated/destroyed depending whether the current time falls within the interval or not.



I have searched the documentation for ffplay and vlc for implementing this functionality.



What I have tried :



ffplay : my strategy would be to keep polling the current time of the video which ffplay dumps in STDERR and check if the current time falls within the interval.



LibVLC :
LibVLC supports asynchronous events, but not the kind which would depend on the time at which video is playing.



My question :



1.Is it advisable to keep polling the current video time or setup callbacks/trigger functions ?



2.Is it possible to get the current playing time of the video as a variable and create callback functions accordingly ?



NOTE : I am aware that subtitles do the same thing, however I want the text to be in a different window. The textbox should be decoupled from the video player I use.