Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (59)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (7354)

  • FFMPEG XFade Transition

    21 juin 2022, par UserErrorLoL

    I am attempting to use xfade transitions to link multiple video files but I have noticed that the transition does not finish in most cases. If I set the duration to 1 second, it may get 1/4 through the screen before instantly starting the next video. Does this have something to do with my ffmpeg settings like framerate ? My current call is ffmpeg -i inputs 1-10 -aspect 16:9 -filter complex video_fades -map [final] -c:v libx264 -preset ultrafast -crf 28 out.mp4

    


    The inputs are all 1920x1080 60fps videos and the video fades graph is

    


    


    [0:v][1:v]xfade=transition=wipeleft:duration=2.000000:offset=32.700[v01] ;
[v01][2:v]xfade=transition=squeezeh:duration=2.000000:offset=125.400[v12] ;
[v12][3:v]xfade=transition=slideup:duration=2.000000:offset=218.100[v23] ;
[v23][4:v]xfade=transition=slidedown:duration=2.000000:offset=310.800[v34] ;
[v34][5:v]xfade=transition=wipedown:duration=2.000000:offset=403.500[v45] ;
[v45][6:v]xfade=transition=zoomin:duration=2.000000:offset=496.200[v56] ;
[v56][7:v]xfade=transition=slidedown:duration=2.000000:offset=588.900[v67] ;
[v67][8:v]xfade=transition=dissolve:duration=2.000000:offset=681.600[v78] ;
[v78][9:v]xfade=transition=slidedown:duration=2.000000:offset=774.300[v89] ;
[v89]format=pix_fmts=yuv420p[final]

    


    


    Has anyone else had this problem and knows how to fix it ?

    


  • FFMPEG combining MP4 videos with same encoding not working, only showing first video

    13 avril 2020, par Ayudh

    My mp4 videos have the same encoding : h264

    



    I know because I ran this command on them :

    



    ffprobe -v error -select_streams v:0 -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1 a.mp4

    



    Now I combine them using the following command :

    



    ffmpeg -loglevel quiet -f concat -safe 0 -i video-list.txt -c copy video-final.mp4

    



    my video-list.txt file looks like this :

    



    file 'a.mp4'
file 'b.mp4'
file 'c.mp4'


    



    Now the video-final.mp4 which is the combined video actually has duration which is equal to the sum of its' component videos and also is quite larger in size. The issue is that when I play the video, it only plays the first video then stops.

    



    What's going on here ? Any insight would be appreciated.

    



    I've looked at : ffmpeg : Combine/merge multiple mp4 videos not working, output only contains the first video and the answers suggested there are the ones I'm using : specifically, concating from a text file containing the component videos.

    


  • Adding watermark to video

    27 avril 2018, par equallyhero

    I am able to use the moviepy library to add a watermark to a section of video. However when I do this it is taking the watermarked segment, and creating a new file with it. I am trying to figure out if it is possible to simply splice in the edited part back into the original video, as moviepy is EXTREMELY slow writing to the disk, so the smaller the segment the better.

    I was thinking maybe using shutil ?

    video = mp.VideoFileClip("C:\\Users\\admin\\Desktop\\Test\\demovideo.mp4").subclip(10,20)

    logo = (mp.ImageClip("C:\\Users\\admin\\Desktop\\Watermark\\watermarkpic.png")
             .set_duration(20)
             .resize(height=20) # if you need to resize...
             .margin(right=8, bottom=8, opacity=0) # (optional) logo-border padding
             .set_pos(("right","bottom")))

    final = mp.CompositeVideoClip([video, logo])
    final.write_videofile("C:\\Users\\admin\\Desktop\\output\\demovideo(watermarked).mp4", audio = True, progress_bar = False)

    Is there a way to copy the 10 second watermarked snippet back into the original video file ? Or is there another library that allows me to do this ?