
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (33)
-
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 -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation" -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (4417)
-
Server-side video editing
23 novembre 2020, par oscarmThis is what I need to do on a server.



Let's say that I have 3 video files :
video1.avi 2 minutes -> 640x320
video2.avi 1 minute -> 640x320
video3.avi 1 minute -> 640x320



I need to create video4.avi, that will be 2 minutes long and 1280x320, Containing the videos side by side (horizontally).I need video2 and video3 to be at the right side of video 1. Video3 should start after video video2 ends.



- 

- I need to do this at the server side.
- Be able to compose video/audio without overlapping.
- Be able to add several small video clips to the right side of the longer video.
- This should be a command line tool.











What can I use to accomplish this ?



First thing I thought was FFMPEG and Image Magick. Export the audio with FFMPEg and compose the video frames (exported by FFMPEG) into single images. I know I can generate a video file from frames and audio, but I don't know if it's possible to sync the audio files and compose them (video1's and videos2's audio should be mixed, play simultaneously).



Any ideas ?


-
How to add transition effects like fade in, fade out, slide in, etc, to a video [on hold]
31 mai 2018, par Janhavi SavlaI am trying to add crossfade effect to a series of images ina folder and then create a video but I am getting an error :’tuple’ object has no attribute ’crossfadein’.
How should I resolve it ?
Here’s the code :from moviepy.editor import *
import os
delay =1
H = 720
W = 1280
output = "out.mp4"
path = "/Users/test/Desktop/Image_test_data/testdata2"
dirs = os.listdir( path )
ext = '.jpg'
clips=[]
images = [img for img in os.listdir(path) if img.endswith(ext)]
for image in images:
img=ImageClip(path+'/'+image).set_duration(2).resize(height=H,width=W)
clips.append(img)
final = concatenate([clip.crossfadein(delay) for clip in enumerate(clips)],
padding=-delay, method="compose")
final.write_videofile(output,fps=24, audio_codec="aac") -
Drawtext Effects Clipping with Zoom in and Scale animation When combining with xfade wipe
2 août 2023, par CRAIGThe following ffmpeg drawtext command is meant to manipulate the text with a number of filters. First it adds a wipe, then a "grow" effect and a fade.


The issue is when the wipe AND scale are together the end result is partially clipped and the wipe doesn't seem to fully reveal the text as it should be doing. Almost like the scale or wipe was delayed.


I have two example commands one with an xfade wipe effect and one without below.


The one with xfade wipe clips text and looks like it is messing with the timing in some way as if the scale doesn't have time to finish. If I remove the xfade wipe, the scale animation and fadein are fine.


I have tried to put the xfade at the end, but it has caused me more issues.


Command without xfade : (Final result is not clipped)


ffmpeg -f lavfi -i color=c=black@0.0:s=129x129:r=30:d=0.137,format=rgba -f lavfi -i color=c=black@0.0:s=129x129:r=30:d=0.137,format=rgba -filter_complex "[1:v]drawtext=expansion=none:enable='between(t,0,0.138)':fontsize=97.7886:fontcolor=0xff0000ff:text='Of':shadowcolor=0x00ff3fff:shadowx=5.9:shadowy=5.9:borderw='2.95':bordercolor='0xa200ffff':x=(w-text_w)/2:y=(h-text_h)/2[1v];[0:v]settb=AVTB,format=rgba[0v];[1v]settb=AVTB,format=rgba[1v];[1v]scale='if(between(t,0,0+0.137),0.645+((t-0)*128.355/0.137),if(gte(t,0.137),129,129))':-1:eval=frame,fade=in:st=0:d=0.137[1v];[0v][1v]overlay=x=(W-w)/2:y=(H-h)/2:threads=1" -copyts -c:v prores_ks -profile:v 4 -pix_fmt rgba -movflags faststart -r 30 -t 0.137 -y /home/encodertraffic/subtitles/mymovie.mov


Command with xfade wipe :


ffmpeg -f lavfi -i color=c=black@0.0:s=129x129:r=30:d=0.137,format=rgba -f lavfi -i color=c=black@0.0:s=129x129:r=30:d=0.137,format=rgba -filter_complex "[1:v]drawtext=expansion=none:enable='between(t,0,0.138)':fontsize=97.7886:fontcolor=0xff0000ff:text='Of':shadowcolor=0x00ff3fff:shadowx=5.9:shadowy=5.9:borderw='2.95':bordercolor='0xa200ffff':x=(w-text_w)/2:y=(h-text_h)/2[1v];[0:v]settb=AVTB,format=rgba[0v];[1v]settb=AVTB,format=rgba[1v];[0v][1v]xfade=transition=wiperight:duration=0.137:offset=0,settb=AVTB,setpts=PTS-STARTPTS[1v];[1v]scale='if(between(t,0,0+0.137),0.645+((t-0)*128.355/0.137),if(gte(t,0.137),129,129))':-1:eval=frame,fade=in:st=0:d=0.137[1v];[0v][1v]overlay=x=(W-w)/2:y=(H-h)/2:threads=1" -copyts -c:v prores_ks -profile:v 4 -pix_fmt rgba -movflags faststart -r 30 -t 0.137 -y mymovie2.mov


Here are a couple of screenshots comparing the two at the same timestamp (the very end).


The one on the left is without the wipe, the one on the right at the same timestamp is with the wipe, but you can see the text is partially clipped, it isn't at the same sacale and it isn't at full brightness almost as if the something is delaying all aspects of each filter.