
Advanced search
Other articles (75)
-
Formulaire personnalisable
21 June 2013, byCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...) -
Amélioration de la version de base
13 September 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 (...) -
Qu’est ce qu’un masque de formulaire
13 June 2013, byUn masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
Chaque formulaire de publication d’objet peut donc être personnalisé.
Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)
On other websites (10562)
-
avcodec/pngdec: support alpha blending for palette apng
5 March 2022, by Paul B Mahol -
How to achive exactly 25 images per second. Pygame
14 September 2021, by VaxEach frame I take audio frequencies read them and convert them into a visual way. Then I take a picture.


My problem is that the following approach takes a different amount of images each second. So when I convert images into a video it becomes shorter than the audio that played as input ( 5-10 seconds shorter).


FPS = 25
clock = pygame.time.Clock()

pygame.mixer.music.load(filename)
pygame.mixer.music.play(0)

running = True 
while running and pygame.mixer.music.get_busy():

 print(clock.get_fps()) #output 21 - 25 FPS

 t = pygame.time.get_ticks()
 deltaTime = (t - getTicksLastFrame) / 1000.0
 getTicksLastFrame = t

 for event in pygame.event.get():
 if event.type == pygame.QUIT:
 running = False

 screen.fill((0, 0, 0))

 for b in bars:
 b.update(deltaTime, get_decibel(pygame.mixer.music.get_pos() / 1000.0, b.freq))
 b.render(screen)

 pygame.display.flip()

 pygame.display.update()
 video.make_png(screen)
 clock.tick(FPS)



I was thinking about slow down audio, so I will take only (12+- images per second), but this approach wouldn't work either because the FPS cap isn't stable.
Another way I was thinking about is to stretch somehow the video to the length of the audio with an FFmpeg... However, I believe that there should be a more elegant solution.


Will really appreciate any advice!


-
opencv vs live555 vs ffmpeg for decoding rtsp stream with added metadata?
17 August 2021, by Peter ParkerFrom an IP camera I must decode a h.264 encoded rtsp transport stream containing a program clock reference (PCR), transmitted in the adaptation field of the TS packet. I am using a Windows machine.


This PCR field is transmitted at least every 100ms.


I need to extract this timestamp data for each frame of the video.


I would also like to use OpenCV to process each frame, whilst acknowledging the current time, based on the PCR field value.


OpenCV is not capable of decoding the live rtsp url AND it discard the ancillary data I need.


Do I need to use live555 along with ffmpeg to decode the stream? Or is it possible to extract this data using ffmpeg and opencv libraries alone?


Suppose I embed a SMPTE/MISB compliant Microsecond Timestamp (KLV metadata packet) in the VANC space after achieving this.


Will the same strategy work?


Thanks in advance for any pointers.