
Recherche avancée
Autres articles (41)
-
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 ;
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 (6383)
-
PHP - How to get Shell errors echoed out to screen
26 février 2013, par AshI am in the process of using
shell_exec()
for the first time. I am trying to convert some video files on my server using the ffmpeg shell script.When I the below code in the browser, it returns NULL :
var_dump(shell_exec("ffmpeg -i /var/www/html/sitedomain/httpdocs/tmp/ebev1177.mp4"));
However when I run the equivalent code in my terminal :
> ffmpeg -i /var/www/html/sitedomain/httpdocs/tmp/ebev1177.mp4
I get back a whole load of useful information which ends in an error
"At least one output file must be specified"
Why is this info not being passed back to my PHP script so I can echo it out ?
-
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 !
-
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.