
Recherche avancée
Autres articles (88)
-
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
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 -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...)
Sur d’autres sites (9334)
-
How to merge two videos ?
20 mars 2023, par AlexanderI use https://github.com/Zulko/moviepy library for merge two videos with python. It merged successfully but sound of videos is not exists in merged.mp4.



The python code :



clip1 = VideoFileClip("2.mp4",audio=True)
clip2 = VideoFileClip("1.mp4",audio=True)
final_clip = concatenate_videoclips([clip1,clip2],method="compose")
final_clip.write_videofile("merged.mp4")




I also tried with ffmpeg



ffmpeg -i 'concat:1.mp4|2.mp4' -codec copy merged.mp4




ffmpeg couldn't merge videos. It create merged.mp4 which has only 1.mp4



How can I merge two videos with python or another way ?


-
How to merge two videos ?
1er mai 2016, par AlexanderI use https://github.com/Zulko/moviepy library for merge two videos with python. It merged successfully but sound of videos is not exists in merged.mp4.
The python code :
clip1 = VideoFileClip("2.mp4",audio=True)
clip2 = VideoFileClip("1.mp4",audio=True)
final_clip = concatenate_videoclips([clip1,clip2],method="compose")
final_clip.write_videofile("merged.mp4")I also tried with ffmpeg
ffmpeg -i 'concat:1.mp4|2.mp4' -codec copy merged.mp4
ffmpeg couldn’t merge videos. It create merged.mp4 which has only 1.mp4
How can I merge two videos with python or another way ?
-
how to add transitions on multiple videos using ffmpeg ?
31 mars 2021, par Captain_ZarakiI am trying to add transitions between multiple videos and it works perfectly for two videos but when I use 3 videos then it is giving an error-


the code I am trying is-
merge is a function which contains many different types of motions


v = merge(ls[0], ls[1], motions[0])
j = 1
filename = str(uuid.uuid4())
for i in range(2, len(ls)):
 v = merge(v, ls[i], motions[j])
 j += 1
return v



and the code for one of the transitions is -


def pixelize(videos):
#both videos will be combined without any motion
v_1 = videos[0]
vid = VideoFileClip(v_1)
print(v_1)
v_1_time = vid.duration
offset = int(v_1_time-2)
v_2 = videos[1]
print(v_2)
combined_video = os.path.join(BASE_DIR, "media/images/" + filename + ".mp4")
cmd = "ffmpeg -i {} -i {} -filter_complex '[0]scale=1280:720,settb=AVTB[v0];[1]scale=1280:720,settb=AVTB[v1];[v0][v1]xfade=transition=pixelize:duration=1:offset={},format=yuv420p' ".format(v_1, v_2, offset) + combined_video
os.system(cmd)
print(combined_video)
return combined_video



and the error I am getting is -


Output /home/user/Desktop/folder/f72c2825-7113-4569-8add- a6103f649207.mp4 same as Input #0- 
exiting 
FFmpeg cannot edit existing files in-place.



is there any way to fix this error ?