Thought you just need to users to upload pictures in the video template as image watermarking cover template image can achieve this function!
Can video in the template image is more effect, move more effective!
In the Linux server simply using ffmpeg tools can achieve similar functionality? There is no more direct tool?
CodePudding user response:
Ffmpeg \1 - t - loop is 5-1. I PNG \
1 - t - loop is 5-2. I PNG \
1 - t - loop 5-3. I PNG \
- loop 1-4 t 5 -i PNG \
1 - t - loop 5-5. I PNG \
-i../Imagine. Mp3 \
- filter_complex \
"[1] format=yuva444p, fade=d=1: t=in: alpha=1, setpts=PTS - STARTPTS + 4/TB (f0); \
[2] the format=yuva444p, fade=d=1: t=in: alpha=1, setpts=PTS - STARTPTS + 8/TB (f1); \
[3] format=yuva444p, fade=d=1: t=in: alpha=1, setpts=PTS - STARTPTS + 12/TB (f2); \
[4] format=yuva444p, fade=d=1: t=in: alpha=1, setpts=PTS - STARTPTS + 16/TB [f3]; \
[0] [f0] overlay [bg1]; [bg1] [f1] overlay [bg2]; [bg2] [f2] overlay [bg3]; \
[bg3] [f3] overlay, the format=yuv420p [v] "- map" [v] "- the map 5: a - shortest - movflags + faststart out. Mp4
Try this one
CodePudding user response:
Perform @ mountains _ the code, can generate a gradually into the images fade out music video, but it does not meet the needs of my project;Retrieval based on the requirements for a long time, find a way to a very humbled, using canvas generated video:
Address: https://www.jb51.net/html5/678376.html
Current effect is out, then the quality of the generated and time consuming are very bad;
Hope to have a better method;
CodePudding user response:
The building Lord, this function implements, I also met this requirement