a-schild / jave2

The JAVE (Java Audio Video Encoder) library is Java wrapper on the ffmpeg project
GNU General Public License v3.0
1.24k stars 247 forks source link

in 2.7.3, how can i Add blank video between 2 videos ? #162

Closed naffan2014 closed 3 years ago

naffan2014 commented 3 years ago

for instance, i have 5min A.mp4 and 5min C.mp4 i lost 5min B.mp4. all i want is keep real video track and audio track then concat A.mp4 + x + C.mp4 = a new one mp4 (15min). i don't care x if is B.mp4, either a black video is ok.

my native language is not english.

naffan2014 commented 3 years ago

i google a command

ffmpeg -f lavfi -i color=size=1280x720:rate=25:color=black -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -t 10 output.mp4

is jave support these command?

naffan2014 commented 3 years ago

there is no warrped method support . only write custom flag by yourself.