Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (83)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (8432)

  • Overlay a video and an image over a background video and shift that background video's position to the right

    4 août 2023, par sybr

    I'm currently working on a way to improve my production process for the videos that I'm making. I usually edit videos using two folders full of clips. Being able to automate putting these together in Premiere would save me a lot of time.

    


    I'm using the FFMpegCORE C# library, as well as Xabe.FFMpeg to achieve what I'm trying to do, and I've currently reached the point of creating two separate videos using the clips I mentioned earlier.

    


    The final step that I need to solve is to overlay the overlay video (overlay.mp4) over the background video (background.mp4), add an overlay image to add a clean divider (overlay.png) between the edges of the videos, and to somehow shift the position of the background video 33% to the right (background.mp4).

    


    This is the script I've come up with so far :

    


    ffmpeg -i overlay.mp4 -i background.mp4 -i overlay.png -filter_complex \ 
"[1:v]scale=608:1080[a]; [0:v]pad=1920:1080[b]; [b][a]overlay[out]; \
[out][2:v]overlay[out]; [0][1]amix[a];" \
-map [out] -map [a] -c:v libx264 -crf 30 -pix_fmt yuv420p -y output.mp4


    


    Is there a way to shift the background video to the right ? Or should I manually edit the video files ?

    


    Would love some help here, also eager to learn more about FFmpeg, so some explanation would be highly appreciated !

    


    Edit :

    


    Just found the solution, padding the background video for 33% and then cropping the final out back to 1920x1080 seemed to do the trick !

    


    ffmpeg -i overlay.mp4 -i background.mp4 -i overlay.png -filter_complex "[1:v]scale=608:1080[a]; [0:v]pad=2560:0:x=1920:y=1080[b]; [b][a]overlay[out]; [out][2:v]overlay[out]; [out]crop=1920:1080:0:0[out]; [0][1]amix[a];" -map [out] -map [a] -c:v libx264 -crf 30 -pix_fmt yuv420p -y output.mp4


    


  • FFMPEG- how to set presentation timestamp of a second video while merging a second video side-by-side with a first video

    14 octobre 2020, par Sankalpa Sarkar

    I was trying to merge a second video into a first video, side-by-side in a stacked fashion as a self-interest work. The twist is the video is a recording of a video call, where a second user might join at a later stage than the first user. The cumulative recording of the video call must reflect that the second user joins at a later stage than the first user. For this, I am using this code :

    


    DIFF=$(($start_ts-$BASEts))
DIFFms=`echo "scale=0;$DIFF/1000" | bc`
DIFFs=`echo "scale=4;$DIFF/1000000" | bc`
ffmpeg -i $a.webm -i b.webm -filter_complex \
    "[0]pad=2*iw:1*ih[l];[1]setpts=PTS-STARTPTS+$DIFFs/TB[1v]; [l][1v]overlay=x=W/2[v]; \
    [1]adelay=$DIFFms|$DIFFms[1a]; \
    [0][1a]amix=inputs=2[a]" \
    -map "[v]" -map "[a]" -vcodec libvpx -cpu-used -5 -deadline realtime finalOutput.webm


    


    However, the error being thrown here is :

    


    [Parsed_setpts_1 @ 0x55ada9df1dc0] [Eval @ 0x7ffff35acb60] Undefined constant or missing '(' in '/TB'
[Parsed_setpts_1 @ 0x55ada9df1dc0] Error while parsing expression 'PTS-STARTPTS+/TB'
[AVFilterGraph @ 0x55ada9d6c2a0] Error initializing filter 'setpts' with args 'PTS-STARTPTS+/TB'
Error initializing complex filters.
Invalid argument


    


    It is unable to read the $DIFFs variable at all, is what I figured. Can anybody help me out here ?

    


  • Add video endscreen before the video ends 30 seconds use ffmpeg

    4 septembre 2020, par rinofcan

    I have 1 video viral and 30 video for fun. They have different durations.How to overlay "Video Viral" intro end 30 video ( before the video ends 30 seconds )

    


    example image below :

    


    enter image description here

    


    Please give me a solution using ffmpeg and ffprobe in one line cmd