
Recherche avancée
Autres articles (72)
-
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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (4888)
-
Remove unnecessary inclusions of [sys/]time.h
19 juin 2012, par Mans RullgardRemove unnecessary inclusions of [sys/]time.h
-
Remove unnecessary inclusions of [sys/]time.h
19 juin 2012, par Mans RullgardRemove unnecessary inclusions of [sys/]time.h
-
Decode android's hardware encoded H264 camera feed using ffmpeg in real time
31 octobre 2012, par user971871I'm trying to use the hardware
H264
encoder on Android to create video from the camera, and useFFmpeg
to mux in audio (all on the Android phone itself)What I've accomplished so far is packetizing the
H264
video intortsp
packets, and decoding it using VLC (overUDP
), so I know the video is at least correctly formatted. However, I'm having trouble getting the video data toffmpeg
in a format it can understand.I've tried sending the same
rtsp
packets to a port 5006 on localhost (over UDP), then providingffmpeg
with thesdp
file that tells it which local port the video stream is coming in on and how to decode the video, if I understandrtsp
streaming correctly. However this doesn't work and I'm having trouble diagnosing why, asffmpeg
just sits there waiting for input.For reasons of latency and scalability I can't just send the video and audio to the server and mux it there, it has to be done on the phone, in as lightweight a manner as possible.
What I guess I'm looking for are suggestions as to how this can be accomplished. The optimal solution would be sending the packetized
H264
video toffmpeg
over a pipe, but then I can't sendffmpeg
thesdp
file parameters it needs to decode the video.I can provide more information on request, like how
ffmpeg
is compiled for Android but I doubt that's necessary.Oh, and the way I start
ffmpeg
is through command line, I would really rather avoid mucking about with jni if that's at all possible.And help would be much appreciated, thanks.