
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (48)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (7117)
-
lavfi : add an avgblur_vulkan filter
27 octobre 2019, par Lynne -
hwcontext_vaapi : add a quirk for the missing MemoryType attribute
30 septembre 2016, par Anton Khirnovhwcontext_vaapi : add a quirk for the missing MemoryType attribute
The Intel binary iHD driver does not support the
VASurfaceAttribMemoryType, so surface allocation will fail when using
it.(cherry picked from commit 2124711b950b03c582a119c75f52a87acc32d6ec)
-
Opening the ALSA microphone port using libavformat
17 mai 2013, par Kartik AiyerI'm writing a fairly simple application to open the microphone port using the ALSA format on a linux VM. I'm trying to do this using libavformat and other ffmpeg libs ( avutil, avcodec, etc ).
I followed what ffmpeg was doing ( ffmpeg_opt.c : open_input_file) to open the actual microphone port( hw:0,0). I find the ALSA format using
av_find_input_format( "alsa" )
which returns with aAVInputFormat*
object.I then use this with
avformat_open_input
.
I didn't precreate AVFormatContext and load it with any params before the above call ( I rely on it being created inavformat_open_input
). This worked and I was able to read packets of the port. However, after a while I was not able to open the port. I added a bunch of debug in the libs and find out that :
avformat_open_input -> init_input -> ... -> avio_open2 -> ffurl_open ->ffurl_alloc
the final call to ffurl_alloc goes through all the protocols and tries to see ifhw
matches any given protocol. This fails.I was wondering if anyone has tried opening a mic with the ALSA format using libavformat and other libs, and if they have any tips on how to get this done. Specifically how does ffmpeg translate something like hw:0,0 to the actual device port ?
P.S : I tried the following line on the command line app
ffmpeg -f alsa -i hw:0,0 -ac 2 -acodec pcm_s16le output.aac
this worked for a while and then suddenly stopped working as well with the same kind of problem. Unable to open the protocol.I'm not sure what changed and why its not able to open the audio port, but any advice on how also port are opened with the rather different handle of HW:x,x would be much appreciated.
Alternatively, I realize ffmpeg is a little heavy to just read PCM packets and then encode and I could use a more direct approach by using the aac libs directly. Can anyone recommend a lib or kernel driver that I can use to open the microphone ( given that it is an ALSA card )and read PCM data out of it. ( I'm new to LInux so please forgive me if any of this sounds trivial )
Thanks
Kartik