
Recherche avancée
Autres articles (64)
-
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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (6659)
-
moviepy ffmpeg stderr to tkinter interface
1er avril 2018, par Alexander PerlmanHi stackoverflow community,
I’m a novice python hobbyist. I wrote a python / ffmpeg script using moviepy that batch concatenates videos. I then designed an interface using tkinter.
Now I want to redirect the stderr output from FFMPEG to the tkinter interface so that users can review the progress directly in app instead of needing the Sublime text console.
I’ve done a lot of research but I’m in way over my head. Any tips would be greatly appreciated.
Here’s the moviepy component. The gui is pretty cut and dry
#import video clips
mainvid = VideoFileClip(fullpath, audio=True)
intro = VideoFileClip("intro.mp4", audio=True)
black = VideoFileClip("black1s.mp4", audio=True)
#concatenate video clips
final = concatenate_videoclips([black, intro, mainvid, black]) final.fps=24
#actually write file
final.write_videofile(output, audio=True, audio_fps=48000, ffmpeg_params=[ "-r","24000/1001", "-b:v", "50M", "-level:v", "4.1", "-c:a", "libvo_aacenc", "-b:a", "256K", "-colorspace", "bt709"]) -
FFMPEG not creating thumbnails
12 juin 2016, par MixedVegMy ffmpeg command in php is
echo $cmd_thumbnail_create = ("\"$ffmpeg\" -i \"" . $dir.$videopath . "\" -an -ss $getFromSecond \"" . $dir.$thumbnailpath ."\"");
exec($cmd_thumbnail_create);Output of which is
"C :\FFMPEG\bin\ffmpeg" -i "C :/xampp/htdocs/final/uploaded_videos/intro_en.mp4" -an -ss 6 "C :/xampp/htdocs/final/thumbnail/intro_en.jpg"
This when copied and executed on the command prompt creates the thumbnail at proper location with proper name.
Any suggestions ?
-
Overlaying video with ffmpeg
11 novembre 2012, par eleeI'm attempting to write a script that will merge 2 separate video files into 1 wider one, in which both videos play back simultaneously. I have it mostly figured out, but when I view the final output, the video that I'm overlaying is extremely slow.
Here's what I'm doing :
-
Expand the left video to the final video dimensions
ffmpeg -i left.avi -vf "pad=640:240:0:0:black" left_wide.avi
-
Overlay the right video on top of the left one
ffmpeg -i left_wide.avi -vf "movie=right.avi [mv] ; [in][mv] overlay=320:0" combined_video.avi
In the resulting video, the playback on the right video is about half the speed of the left video. Any idea how I can get these files to sync up ?
-