
Recherche avancée
Autres articles (66)
-
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" ; -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (8116)
-
aac : check the maximum number of channels
27 avril 2013, par Luca Barbato -
Trouble trimming video by frame number with ffmpeg
8 décembre 2023, par jgore200377I want to trim/split a video with ffmpeg using frames. The reason why is because I am using a Shot Transition Detection model which returns a probability of transition for every frame in the video.


Using timestamps to cut the video has yielded bad results as the precision is not 100%.


Ive tried this command which just outputs the entire video which is DEFINITELY not what I want


ffmpeg -i video.mp4 -vf "trim=start_frame=100:end_frame=200,setpts=PTS-STARTPTS" -c:a copy output.mp4



Ive also tried using python bindings with ffmpeg-python


import ffmpeg

input_file = ffmpeg.input('video.mp4')
output_file = ffmpeg.output(input_file.trim(start_frame=1300, end_frame=1500), 'test_output.mp4')
ffmpeg.run(output_file)



This doesnt work either and outputs a video with half of it being still with unpredictable length



Ive visited some other sites but none seem to have this nailed down and it would be much appreciated if someone can answer how to use frames to trim/split a video with ffmpeg.


-
Overlaying frame number with ffmpeg [duplicate]
30 mars 2024, par DMagmaThis should be simple but it is giving me fits and I haven't been able to find this specific problem. I am trying to overlay the frame number on a set of videos but my ffmpeg command string is ignoring any text overlay that has anything to do with a frame number. For example, these produce the correct overlay


"-vf drawtext=fontfile='Arial.ttf': text='TEST': fontsize=30: fontcolor=yellow@1.0:x=(w-text_w-15):y=15" 
"-vf drawtext=fontfile='Arial.ttf': text='%camera%': fontsize=30: fontcolor=yellow@1.0:x=(w-text_w-15):y=15" 
"-vf drawtext=fontfile='Arial.ttf': text='%vname%': fontsize=30: fontcolor=yellow@1.0:x=(w-text_w-15):y=15" 



but these all ignore the "text" input and instead overlay "fontsize=30" or "start_number=1" to the frames


"-vf drawtext=fontfile='Arial.ttf': text=%{n}: fontsize=30: fontcolor=yellow@1.0:x=(w-text_w-15):y=15" 
"-vf drawtext=fontfile='Arial.ttf': text='%{n}': fontsize=30: fontcolor=yellow@1.0:x=(w-text_w-15):y=15" 
"-vf drawtext=fontfile='Arial.ttf': text='Frame %{frame_num}': start_number=1: fontsize=30: fontcolor=yellow@1.0:x=(w-text_w-15):y=15" 



I am at a loss as to why it is not properly identifying or using the frame number.


I have tried multiple variations such as those shown above including swapping the order of the inputs to no effect.