
Recherche avancée
Autres articles (14)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...) -
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 (3080)
-
ffmpeg's segment_atclocktime cuts at inaccurate times for audio
3 mai 2023, par Ross RichardsonI am using ffmpeg's segment format to save files of an AAC stream to disk in hourly segments.
The segmenting works well, but the files are segmented/cut at different times in the clock each hour using
segment_atclocktime


I would like each to be exactly on the hour, e.g. 12:00:00, 13:00:00 etc. Or at least, beginning after the hour and not before, e.g. 12:00:00, 13:00:01, 14:00:00 etc.


I am using
ffmpeg-python
to process the AAC stream and send to two outputs : stdout and these segments.
Here's the code :

out1 = ffmpeg.input(stream, loglevel="panic").output("pipe:",
 format="s16le", 
 acodec="pcm_s16le", 
 ac="1", 
 ar="16000")

out2 = ffmpeg.input(stream, loglevel="info").output("rec/%Y-%m-%d-%H%M%S.aac",
 acodec="copy",
 format="segment",
 segment_time="3600",
 segment_atclocktime="1",
 reset_timestamps="1",
 strftime="1")
 
ffmpeg.merge_outputs(out1, out2)
 .run_async(pipe_stdout=True, overwrite_output=True)



Most files are produced at the desired time : 05:00:00, 06:00:00, 07:00:00, but one or two each day start at 08:59:59 (where 09:00:00 would be desired), or even 16:00:24.


I understand the segment needs to begin on a audio sample so it can't be perfect to the hour, but wondering how I can make it more consistent. Ideally, each hour's recording would begin at 00:00 or later, and not begin before the hour.


I have tried using
min_seg_duration 3600
,reset_timestamps 1

I am not sure how exactly to usesegment_clocktime_wrap_duration
for audio, or whethersegment_time_delta
applies to audio.

I'd appreciate any advice or understanding of how
segment_atclocktime
works with audio, as much on the internet seems video-focused.

-
FFMPEG | add same effect with different settings several times to an input-file
3 mai 2019, par Bamba675I’m trying to remove (for example) the greenscreen and the bluescreen of a video. To do this, I have to use FFMpeg.
I already tried this one :
ffmpeg -i background.mp4 -i greenbluefootage.mp4 -filter_complex "[1:v]chromakey=0x67FF00:0.1:0.1,chromakey=0x0061FF:0.1:0.1[aa];[0:v][aa] overlay" output.mp4
The problem is, that just one color gets removed.
I simply want to remove both colors (make them transparent) so the background can shine through. -
doc/ffplay, ffplay : add information regarding volume control
27 septembre 2015, par Ganesh Ajjanagaddedoc/ffplay, ffplay : add information regarding volume control
ffplay now supports dynamic volume control. This documents the supported
behavior.Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Reviewed-by : Stefano Sabatini <stefasab@gmail.com>
Signed-off-by : Marton Balint <cus@passwd.hu>