Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (78)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La 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 (...)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

Sur d’autres sites (6736)

  • MoviePy : Concatenating video clips causes weird glitches in final video

    16 mai 2022, par JohnSmithy1266

    Is there a way to successfully always patch up any clips together in such a way that prevents weird glitches ? I put together a .mp4 from smaller .mp4 files and I got a final video with weird glitches. I am running Python 3.6.1 on Windows 10 through Sublime Text 3. I used MoviePy to do the concatenation.

    



    The code :

    



    from moviepy.editor import VideoFileClip, concatenate_videoclips
import os.path

path = "C:/Users/blah/videos/out/"

cliparray = []

for filename in os.listdir(path):
    cliparray.append(VideoFileClip(path + filename))

final_clip = concatenate_videoclips(cliparray)

final_clip.write_videofile(path + "concatenatedvideo.mp4", codec = "libx264")


    



    The weird glitches :

    



      

    1. One of the clips turns into a 3x3 grid of smaller clips.
    2. 


    3. Another has the audio not lined up with the video
    4. 


    5. Another is sped up faster than what was normal.
    6. 


    


  • ffmpeg video freezes some seconds the output video

    7 septembre 2022, par FreddicMatters

    I'm using the program ffmpeg on windows, I just downloaded the binaries setted the path variable of windows to be able of use it.

    


    I'm ran ffmpeg with python and also just running the command in the cmd

    


    #videos.txt

    


    file C:/Users/freddydev/Videos/video1.mp4
file C:/Users/freddydev/Videos/video2.mp4
file C:/Users/freddydev/Videos/video3.mp4
file C:/Users/freddydev/Videos/video4.mp4


    


    #python script :

    


    import subprocess
import shlex

subprocess.run(shlex.split('ffmpeg -f concat -safe 0  -i videos.txt -c:v libx264 -c copy output.mp4'))


    


    #cmd

    


    ffmpeg -f concat -safe 0  -i videos.txt -c:v libx264 -c copy output.mp4


    


    The output video plays fine the half of the video and after some 5 seconds it freezes and the final seconds of the video there is not sound.

    


    I have downloaded multiple ffmpeg binaries from https://ottverse.com/ffmpeg-builds and I'm getting the same result.

    


    My laptop is a core i5 with 12GB of RAM.
The rendering is very fast only takes 2 seconds, I also used moviepy library with python and it takes more than 20sg to render the video but when I concatenate large videos this give me wrong frames in the video at the end.

    


    What could I do to fix this problem with ffmpeg.
Thanks so much.

    


  • Overlay a 16/9 video to a 9/16 ratio and shrink the original video [closed]

    6 avril 2024, par thanhbo

    I assume the video has an aspect ratio of 16/9 (size 1920:1080). I want to convert it to 9/16 ratio and shrink the original video. The formula I wrote is as follows but there is an error. I hope someone can help, thank you.

    


    ffmpeg -y -i A1.mp4 -filter_complex "split[crp0][crp1];[crp0]scale=iw:2*trunc(iw*16/18),boxblur=luma_radius=min(h\,w)/20:luma_power=1:chroma_radius=min(cw\,ch)/20:chroma_power=11,setsar=1[bg],[1:v]scale=(iw-100):-1[bg2];[bg][bg2]overlay=(W-w)/2:(H-h)/2[bg3]" -map "[bg3]" bg3.mp4

ffmpeg -y -i A1.mp4 -filter_complex "split[crp0][crp1];[crp0]scale=iw:2*trunc(iw*16/18),boxblur=luma_radius=min(h\,w)/20:luma_power=1:chroma_radius=min(cw\,ch)/20:chroma_power=11,setsar=1[bg],[1:v]scale=(iw-100):-1[bg2];[bg][bg2]overlay=(W-w)/2:(H-h)/2[bg3]" -map "[bg3]" bg3.mp4