
Recherche avancée
Autres articles (71)
-
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 (...) -
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 (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (6741)
-
What is a good/simple way to obtain a stream of song metadata from an online radio station ?
29 juin 2022, par espWhat is a good/simple way to obtain a stream of song metadata (artist names and song titles etc.) from an online radio station ? Just the metadata, not the data (media). On bash command-line for now, thinking of getting it to a database (eg MySQL) in future.


I have had success using FFMpeg to do this (simply
FFMpeg -i <streamurl></streamurl>
). However it only reports the song playing once - when it is run. If I specify an outputfile (e.g.-f null -
) then it continues to run but does not report any updates to the "now playing" metadata. If I do not specify an output file then, after reporting that metadata, it quits (which in my case is more useful !).

I can imagine one way round this would be to make a polling-loop, say every 10 seconds, only reporting when the metadata has changed (since the previous time). Does anyone have a battle-tested example ?


But is there a better (or cooler way) to achieve this ?


-
How to improve my current method of generating an audio transcript from an online video
23 janvier 2019, par 5areductaseI am working on a project that needs to download and analyze online videos. Most of the videos are hosted on YouTube but some are hosted on Facebook.
My task is to generate an audio transcript for every video.
My colleague was using a series of programs sequentially given some
{link}
:youtube-dl -f '(mp4)[height = 360][width = 640]' {link} -o '{out_1}.%(ext)s'
ffmpeg -i {out_1} -vn {out_2}.wav
sox {out_2} {out_3} channels 1 rate 16000
pocketsphinx_continuous -infile {out_3} -samprate 16000 -hmm {ACOUSTICMODEL} -dict {DICTIONARY} -lm {LANGMODEL} -fwdflat yes -bestpath yes 2> error.log | tee {out_4}.log && rm error.logNote that there’s an extra ffmpeg step to extract the audio, instead of simply directly downloading it with youtube-dl because video is needed as well.
Everything works correctly as far as I can tell, but I’ve never really dealt with audio before so I’m not sure if this is the best way to go about it.
-
Online Stream Video (Youtube) c++
12 juin 2017, par P AkhtarHow to get frame from youtube video using ffmpeg if available other wise alternate solution.
I want to read stram and get packet of each frame by youtube video