I've got an mp4 video and i would like to add a 5 seconds .png image i got as an intro (with a fadeout transition if possible) and also i got another two images i would like to add to the end of the video, one about 2 seconds and the other one 3 seconds (fades on this ones are optional).
I also need to scale down the images to 1280x720 to match the video resolution.
This is what i got so far for the intro image:
In case it is needed, the mp4 video format is the next:Code:ffmpeg -itsoffset 5 -i video.mp4 -r 60 -loop 1 -i intro.png -filter_complex "scale=1280x720; [1:v] fade=out:125:25:alpha=1 [intro]; [0:v][intro] overlay [v]" -map "[v]" -map 0:a -acodec copy final.mp4
I'm asking with FFMpeg but if there is something easier like a graphical (free) software i can use, i don't mind switching to it.Code:Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 (mp42/isom) File size : 453 MiB Duration : 10 min Overall bit rate mode : Variable Overall bit rate : 6 180 kb/s Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 10 min Bit rate : 6 001 kb/s Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Variable Frame rate : 60.000 FPS Minimum frame rate : 59.960 FPS Maximum frame rate : 60.040 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.109 Stream size : 440 MiB (97%) Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 10 min Duration_FirstFrame : -17 ms Bit rate mode : Variable Bit rate : 170 kb/s Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 spf) Compression mode : Lossy Stream size : 12.4 MiB (3%) Title : Stereo
Thanks!
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
Please give feedback about ffmpeg front-end encoder UI
By kgp700 in forum Newbie / General discussionsReplies: 7Last Post: 11th Sep 2016, 17:38 -
FFMPEG All-in-Front End Using Batch New Tasks
By s1i2v3a in forum ProgrammingReplies: 0Last Post: 28th Jul 2016, 01:13 -
[ffmpeg] Slice until end of file?
By yetanotherlogin in forum EditingReplies: 3Last Post: 10th Feb 2014, 14:54 -
[ffmpeg]How to adding logo into end of video?
By radiaku in forum Newbie / General discussionsReplies: 0Last Post: 30th Sep 2013, 12:32 -
Trimming video from it's end using FFMpeg or Mencoder
By get8p in forum Newbie / General discussionsReplies: 2Last Post: 2nd Sep 2012, 21:12