
Recherche avancée
Médias (1)
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
Autres articles (54)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (...) -
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 (9836)
-
Replace video with jpg in ffmpeg
14 septembre 2020, par ben158I am trying to convert an mkv with video and audio into an m4v with the same audio, but with the video replaced with a still jpg for the duration. I'm following the examples from https://trac.ffmpeg.org/wiki/Slideshow and not having any success. Every time I attempt any of these, it doesn't insert the jpg, and instead uses the original video from the mkv. I am testing the files in VLC. Any ideas what could be going wrong ? I'm inclined to think the documentation itself may be outdated or wrong.


Attempts following the linked examples :


-i input.mkv -loop 1 -i image.jpg -c:a ac3 -b:a 640K -c:v libx264 -shortest output.m4v

-i input.mkv -framerate 1 -i image.jpg -c:a ac3 -b:a 640K -c:v libx264 -r 30 -pix_fmt yuv420p output.m4v

-i input.mkv -framerate 1 -i image.jpg -c:a ac3 -b:a 640K -c:v libx264 -r 30 -vf format=yuv420p output.m4v



The one thing I got semi-working (based on code from another source) was
-i input.mkv -i image.jpg -filter_complex "[1][0]scale2ref[i][v];[v][i]overlay" -c:a ac3 -b:a 640K -c:v libx264 output.m4v
but this stretches the image out (which I don't want, I want the resultant video to have the same aspect ratio as the image without black padding on the sides).

I'm kicking myself because I eventually got something along the lines of the first examples working a few days ago, but somehow didn't save my work and am back to square one. Any help is appreciated, thanks in advance.


-
Anomalie #3988 : meta cache_signature trop restrictive
4 septembre 2017, par Emmanuel Dreyfuscedric - a écrit :
Le cas qui peut être problématique est celui de la base répliquée
entre plusieurs serveurs, mais là on entre dans un autre sujet et
pour qu’il y ait collision cela supposerait que le dossier tmp/cache
est commun aux serveurs.On se heurte au problème dans ce contexte, mais chaque serveur
a son dossier cache. La base de donnée est partagée, sauf certaines
tables qui restent locales (jobs ; syndic, urls, transactions, visites, referers).Comme chaque machine a son cache, elle tente d’écrire la meta cache_signature avec une valeur qui rentre en conflit avec celle des autres, d’où l’idée d’avoir un nom de meta différente pour chaque cache.
-
How do I confirm if a php shell_exec was completed
21 juillet 2015, par iamthestreetsI am running a php script using the cPanel Cron Jobs. The script is using
shell_exec
to convert a video using ffmpeg. It executes the script and everything is working but it is not sending me the email. I am basically trying to get the output of theshell_exec
to start another function in the php script so I wanted to send my self the email to make sure I am getting the output.For example I wrote :
$command = "ffmpeg -i $og_video -b 1500k -vcodec libx264 -vpre slow -vpre baseline -g 30 $mp4_video";
//EXECUTE THE CONVERSION
$output = shell_exec($command);
echo $output;I also tested the email by removing the
shell_exec
and just echo the$command
variable. This will send me the full string in an email.What I am trying to accomplish is basically if the shell_exec executed then do something else.
How do I check if the shell_exec was completed ?