[FFmpeg-user] Properly adding a cross fade to a video of 1 second or so
barsnick at gmx.net
Tue Apr 12 23:21:20 CEST 2016
On Tue, Apr 12, 2016 at 09:11:58 -0700, David McKay wrote:
Apart from Lou's very important remark:
> I am trying to add a cross fade to a video of around 1 second each. Please
> find my input and the ouptut here : http://pastebin.com/AG3UJguT .
a) Please put it on the list.
b) You didn't actually paste everything, it ends as such:
Output #0, mp4, to '/userVideos/faderVID_20160412_0851061460476266210.mp4':
major_brand : iso6
That's not where ffmpeg ends.
> Command : -i /userVideos/cutterVID_20160412_0851061460476266191.mp4 -i
> /userVideos/cutterVID_20160412_0851051460476265866.mp4 -r 30.01 -f lavfi -i
> color=black:s=1280x720 -filter_complex
> -vcodec libx264 -map [outv]
What are you trying to achieve with -r 30.01? (BTW, both your input
videos report 30.02. Why did you choose 30.01?) For setting the
framerate of the color video source, use
-f lavfi -i color=black:s=1280x720:r=30.02
And you don't need to trim, the color source also has a "duration"
(About the rest I'm not sure. Fix the color source first, then provide
the log please.)
More information about the ffmpeg-user