Recherche avancée

Médias (91)

Autres articles (60)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (11701)

  • how to add transitions on multiple videos using ffmpeg ?

    31 mars 2021, par Captain_Zaraki

    I 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 ?

    


  • Make hint track for webm videos

    9 juillet 2013, par Computer_Engineer

    I want to ask you about how can I make a new hint track for webm videos, I used Evalvid framework to make hint track but for Mp4 videos, but i want to edit it to support Webm videos. How can i do that ? if it impossible, cany you give me any information about how can I hint track Webm videos ?

    Thanks in advance.

  • unable to concat mass number of videos in ffmpeg [duplicate]

    25 mai 2021, par JohnTerry

    I want to concat n number of videos together using ffmpeg which can also have more than one codec or different resolutions. I know how to do it with fixed number of videos but input_videos.txt can contain any unknown number of videos. I checked relative posts but they did not have a solution for my problem.

    


    the command i am using for concatenating videos is -

    


    cmd = "ffmpeg -safe 0 -f concat -protocol_whitelist file,http,https,tcp,tls,crypto -segment_time_metadata 1 -i {} -vf select=concatdec_select,scale=1280:720 -af aselect=concatdec_select,aresample=async=1 -c:v libvpx-vp9 -deadline good -cpu-used 5 -c:a libopus {}".format(input_videos.txt, output_video.webm)