
Recherche avancée
Autres articles (54)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
Publier sur MédiaSpip
13 juin 2013Puis-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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (4891)
-
How to trim multiple videos and position them to specific position using -filter_complex ?
16 décembre 2023, par Pavlo HolotiukHow do I mix several videos and have them not overlap each other ?
I need to use -filter_complex as I cram many more commands there and seems weird how when I trim video its frames remain and overlap with the other video. I also use tpad to paint the video black where it supposed to be cut but it just makes black images to overlap with other videos instead.


How do I trim and position videos with mix and make sure their frames do not overlap in result ?
Here's the version vithout tpad


./ffmpeg.exe -i input1.mp4 -i input2.mp4 -filter_complex "[0]trim=start=0:end=5[t0];[1]trim=start=5:end=10[t1];[t0][t1]mix=inputs=2" ./output.mp4


It produces such overlapping frames



When adding tpad overlapping changes to mix of frame and black image


./ffmpeg.exe -i input1.mp4 -i input2.mp4 -filter_complex "[0]trim=start=0:end=5[t0];[1]trim=start=5:end=10,setpts=PTS-5/TB,tpad=start_duration=5:start_mode=add:color=black@0x00[t1];[t0][t1]mix=inputs=2" ./output.mp4




The alpha in tpad doesn't seem to do anything either.


-
FFMPEG no audio in final output [migrated]
16 juin 2015, par MaverickI have the following FFMPEG command working.
ffmpeg -y -i slide.mp4 -f lavfi -i "color=c=black:s=1920x1080:r=25:d=1" -filter_complex "[0:v] setpts=PTS-STARTPTS [main]; \
[1:v] trim=end=3,setpts=PTS-STARTPTS [pre]; \
[1:v] trim=end=3,setpts=PTS-STARTPTS [post]; \
[pre][main][post] concat=n=3:v=1:a=0 [out]" -map "[out]" output.mp4It appends black frames at the start and end of the video. However, the output file does not contain the audio from the input file.
Any pointers to the problem will be highly appreciated.
-
ffmpeg combine existing filter_complex with upscaleto e.g. 720p
24 novembre 2019, par Tom MeyerCurrently I am combining two videos using this filter :
-filter_complex "[1:v][0:v]scale2ref=main_w:ih[sec][pri]; [sec]setsar=1,drawbox=c=black:t=fill[sec];[pri][sec]hstack[canvas]; [canvas][1:v]overlay=main_w-overlay_w"
The output is the following : test.png (Green is the first video input, orange the second one) The whole video (red) has a format of 1600x540 (That might change depending on the input sizes.)
My question is whether there is a way to upscale this video to maybe 1920x1080 or 1280x720 in the same command. By upscaling I mean to change its size and to fittingly insert black bars on the side/top.