saya ingin memutar video watermark satu per satu di video output menggunakan ffmpeg.
Perintah di bawah ini menetapkan 4 video sebagai tanda air pada gambar dan membuat video output tetapi video tanda air bermain paralel.
String [] cmd = {"- i", "/ storage / emulated / 0 / Unduh / trasprent_bg.png", "- i", videourl_1.mp4, "- i", videourl_2.mp4, "- i", videourl_3 .mp4, "- i", videourl_4.mp4, "- i", image_collage.png, "- filter_complex", "skala [1: v] = 500: 500, crop = 266: 266 [tfg]; [2: v] skala = 500: 500, crop = 266: 266 [bfg]; [3: v] skala = 500: 500, crop = 266: 266 [threefg]; [4: v] skala = 500: 500, crop = 266: 266 [fourfg]; [5: v] skala = -1: -1 [kolase]; [0: v] [tfg] overlay = 2: 2 [o1]; [o1] [bfg] overlay = 272: 2 [o2]; [o2] [threefg] overlay = 2: 272 [o3]; [o3] [fourfg] overlay = 272: 272 [o4]; [o4] [kolase] overlay = 0: 0 "," - - an "," videoCrop37.mp4 "};
Tolong bantu aku.