
Recherche avancée
Autres articles (39)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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" (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (4989)
-
Java execute command doesn't work in code
27 août 2017, par ArianaI am calling java.lang.Runtime.exec(...) in my Java program to run a command (some
FFMPEG
commands) simply passed to my function :private static void RunCommand(String command) throws InterruptedException {
try {
// Execute command
Process proc = Runtime.getRuntime().exec(command);
}
}It runs OK for simple FFMPEG cases such as
ffmpeg -i input.avi -c copy output.avi
.But for one of the commands, apparently it doesn’t run. When I copy/paste the exact String in command line, I am able to run it and see the output file.
ffmpeg -i "concat:/home/temp10.avi|/home/p2.avi|/home/temp15.avi" -c copy -y /home/output.avi
Which is the following in code :
String c4="ffmpeg -i \"concat:"+dir+temp1+"|"+dir+ad+"|"+dir+temp3+"\" -c copy -y "+dir+output;
What is going on ? Any guesses why it doesn’t run in code ? If the
"
is causing the problem, why the corresponding string looks good ?! -
ffmpeg getting Invalid UE golomb code when saving udp multicast to file
30 août 2019, par StuartI am using ffmpeg to capture a UDP multicast stream and save it to a file but I’m having an issue with an "Invalid UE golomb code"
Command :
ffmpeg -i "udp://238.0.0.1:1234" -c copy -f segment -segment_time 900 -segment_atclocktime 1 -reset_timestamps 1 -strftime 1 $datestamp.mp4 -report
This works fine for around 3-5 minutes and then freezes without an errors or indication why, the only thing I think it could be is the following error is spammed in the log file ;
Invalid UE golomb code-1.0 size=N/A time=00:00:09.97 bitrate=N/A
The only other thing I can see is the following in the log file ;
unknown SEI type 229
If someone could point help me out here that would be great.
Thanks.
-
segment time in ffmpeg c code
10 mai 2018, par TraXxXI’m using remuxing.c
I’m trying to add segment option to code like this :
AVDictionary* headerOptions = NULL;
av_dict_set(&headerOptions, "segment_time", "10", 0);
avformat_write_header(&ofmt_ctx, &headerOptions);it’s not working