
Recherche avancée
Autres articles (68)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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 (8479)
-
Any way to assign terminal output to variable with python ?
15 août 2022, par Gordon FontenotI need to grab the duration of a video file via python as part of a larger script. I know I can use ffmpeg to grab the duration, but I need to be able to save that output as a variable back in python. I thought this would work, but it's giving me a value of 0 :



cmd = 'ffmpeg -i %s 2>&1 | grep "Duration" | cut -d \' \' -f 4 | sed s/,//' % ("Video.mov")
duration = os.system(cmd)
print duration




Am I doing the output redirect wrong ? Or is there simply no way to pipe the terminal output back into python ?


-
-ss in ffmpeg causes black frames
26 avril 2016, par DemonedgeI use ffmpeg to cut a video into clips. By this command :
ffmpeg -ss 00:00:00 -i video.mp4 -to 00:01:00 -c copy cut.mp4
Ffmpeg has to cut at key frames, thus when I concatenate each clip back to the entire video, there are some repeated frames at the beginning of each clip. Then I found this command :
ffmpeg -i video.mp4 -ss 00:00:00 -to 00:01:00 -c copy cut.mp4
By putting -i first solves the above problem, but it introduces some frozen frames when I concatenate my video clips back into the whole video. In fact, I saw it introduces some black frames at the beginning of each clip, so when I concatenate these clips back, there are frozen frames.
So is there any way that I can cut my video into clips accurately without introducing black frames or frozen frames in ffmpeg ?
-
how to output a H264 encoded video with ffmpeg in php exec() command
28 janvier 2015, par Harish KumarI have the following php command to generate a water marked video with a input video, which is working fine. but its not playing in the browser anymore. To do so i research a lot over web and i found that i need to upgrade the libx264 library on my ffmpeg extension on the server which i already did. now what modification do i do to make my command work to generate H264 encode video.
here is the command i am using
/usr/local/bin/ffmpeg -i baby.mp4 -i sos.png -filter_complex \"overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2\" -codec:a copy watermarked-video.mp4