I want to make a slideshow by using concat demuxer like this link:
https://trac.ffmpeg.org/wiki/Slideshow
Here is the textfile preinputFiles.txt:
file 'path a'
duration 2
file 'path b'
duration 2
file 'path c'
duration 2
file 'path c'
and my command array is:
String[] cmd = new String[]{
"-f","concat","-i",
textFile,
"-vsync", "vfr", "-pix_fmt", "yuv420p",
dest.getAbsolutePath()};
the video has 3 seconds that it is totally black and run from 3s to 9s even the gallery shows that it is a 6 seconds long video .
Thanks for the help!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…