Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (74)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (10559)

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

  • 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.

    


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