
Recherche avancée
Autres articles (72)
-
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 (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (7269)
-
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.