
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (14)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
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" ; -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (4570)
-
Android MediaMetadataRetriever.METADATA_KEY_DATE gives only date of video on galaxy S7
3 octobre 2016, par Zaid Bin TariqI am writing a code to get video creation date and time from metadata, i am using following code to get creation date
MediaMetadataRetriever retriever = new MediaMetadataRetriever();
retriever.setDataSource(path_to_video);
String date = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DATE);it works perfect on all devices except Samsung Galaxy S7, it returns only date in "YYYY MM DD" format, no time stamp i need both date and timestamp.
any help in this regard is much appreciated.
-
Android MediaMetadataRetriever.METADATA_KEY_DATE gives only date of video on galaxy S7
15 mai 2023, par Zaid Bin TariqI am writing a code to get video creation date and time from metadata, i am using following code to get creation date



MediaMetadataRetriever retriever = new MediaMetadataRetriever();
retriever.setDataSource(path_to_video);
String date = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_DATE);




it works perfect on all devices except Samsung Galaxy S7, it returns only date in "YYYY MM DD" format, no time stamp i need both date and timestamp.



any help in this regard is much appreciated.


-
FFMPEG : is there a way to keep RTSP connection alive in code ?
14 décembre 2011, par AlexI'm taking frames from a RTSP connection as follows (in pseudocode) :
av_open_input_file(&avcontext)
while(av_read_frame(&frame) > 0) {
doSomething(frame);
av_free_packet(frame);
}For some reason the
doSomething()
function takes much time and, because of this (at least, I think so) the connection interupts -av_read_frame()
returns 'eof' and the loop exits.When I make
doSomething()
shorter such interruptions do not occur.For some reasons I can't do
doSomething()
in another thread.Therefore, I'm interested if maybe there are some parameters to avcontext which will let me keep the connection alive or increase the timeout ?
Thank you !