
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (68)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (10004)
-
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"]) -
Having ffmpeg add a repeating text overlay on a video
30 mai 2020, par Caius JardI'm looking to create an overlay that cycles through the characters in a string over and over. I've succeeded in using a sendcmd file to put A, B, C, D, E on the first 5 seconds of a video



0 drawtext reinit 'text=A';
1 drawtext reinit 'text=B';
2 drawtext reinit 'text=C';
3 drawtext reinit 'text=D';
4 drawtext reinit 'text=E';




But it doesn't cycle and I haven't been able to find a way to make it, because sendcmd looks like it just takes a simple timecode. I could make a command file 3600 lines long for my hour video, with those commands in over and over (the command file would be generated programmatically so not onerous)





After some considerable experimenting I was able to do it with 5 separate drawtext :



drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='A':x=if(trunc(mod(t\,5))\,-2000\,(w-tw)/2),
drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='B':x=if(trunc(mod(t\,5))-1\,-2000\,(w-tw)/2),
drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='C':x=if(trunc(mod(t\,5))-2\,-2000\,(w-tw)/2),
drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='D':x=if(trunc(mod(t\,5))-3\,-2000\,(w-tw)/2),
drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='E':x=if(trunc(mod(t\,5))-4\,-2000\,(w-tw)/2)




But as can be seen, I have to repeat a lot of stuff here. Is there any slicker way ? It does seem to have a noticeable effect on encoding speed the more chars are added



I was hoping that text expressions would help but it seems I can only return numerics from the values, so this expression didn't work out :



%{e:if(trunc(mod(t,5)),'A', '')%{e:if(trunc(mod(t,5))-1,'B', '') ...



-
FFmpeg cut a 16:9 video to a 9:16 ratio and put subtitle only in ratio [closed]
8 septembre 2023, par LordzSpectronI want to cut a 16:9 video to take only the central part of it, vertical and what's left, fill it with black borders, example :




I want only the part highlighted in red.


How to make this using ffmpeg ?


I've been trying using crop, some answers that taught how to blur what's left, but they all leave the full video and just cut it down to 9:16.


I want to have only the middle part highlighted and the rest be black border.