
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 (111)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (10474)
-
Revision 89794 : Surcharger les autorisations du plugin medias Pourquoi ne peut on ...
11 juin 2018, par kent1@… — LogSurcharger les autorisations du plugin medias
Pourquoi ne peut on lier des docs à des docs ?
http://zone.spip.org/trac/spip-zone/changeset/89155/_core_#file3
Il y a des gens qui font cela depuis des années -
avdevice/avdevice : fix return value of avdevice_list_devices()
10 juillet 2022, par Marton Balintavdevice/avdevice : fix return value of avdevice_list_devices()
According to API docs avdevice_list_devices(), avdevice_list_input_sources()
and avdevice_list_input_sinks() should return the number of autodetected
devices on success. This is redundant with AVDeviceInfoList->nb_devices so it
was not noticed earlier that none of the underlying device list functions work
like that.Let's fix it in generic code to make it in line with the API docs.
Fixes ticket #9820.
Signed-off-by : Marton Balint <cus@passwd.hu>
-
Dynamically check (and change ?) audio file codec [closed]
25 juillet 2024, par user2mHey all I have a web app where users can upload audio files like mp3's, wavs and m4a's.
I'm simply using the default html audio player to render the audio.
A while back I started noticing that a sporadic few of the audio players were greyed out.


I went into my supabase backend to open the actual audio file and found that I was able to play the audio file
when I downloaded it to my PC.


Upon reading this thread (Why is this specific m4a audio file not playing on the )
it looks like the issue is the codec with some .m4a files.
Some m4a files are using the AAC (widely supported) codec and some are not.


Currently I have JS code that


- 

- grabs the file blob
- checks if the upload name contains mp3, wav or m4a
- uploads the blob to supabase








in between 2 and 3 I'd like to check that the codec of the blob is AAC and if possible change the codec (??)
I've asked CGPT for a solution but it point sme to FFMPEG and from reading the docs it looks like FFMPEG core is about 30MB to load...
(https://ffmpegwasm.netlify.app/docs/getting-started/usage/)
This seems like a lot to me - granted most of the app will have already been loaded by the time a user gets to this flow.
I just wanted to reach out and see if anyone has figured out a better solution