Commit 3efe1a60 authored by Julian Rother's avatar Julian Rother

complex_live_transcode: Fixed last commit

parent c1188c86
Pipeline #221 passed with stage
in 6 minutes and 23 seconds
...@@ -46,8 +46,8 @@ int main(int argc, char *argv[]) ...@@ -46,8 +46,8 @@ int main(int argc, char *argv[])
dup2(open("/dev/null", O_RDONLY|O_CLOEXEC), 0); dup2(open("/dev/null", O_RDONLY|O_CLOEXEC), 0);
dup2(open("/dev/null", O_WRONLY|O_CLOEXEC), 1); dup2(open("/dev/null", O_WRONLY|O_CLOEXEC), 1);
execlp("ffmpeg", "ffmpeg", "-nostats", execlp("ffmpeg", "ffmpeg", "-nostats",
"-f", src1fmt, "-i", jstr(jlookup(src1, "url"), "smptehdbars,scale=w=100:h=100[out0]; anullsrc[out1]"), "-f", src1fmt, "-i", jstr(jlookup(src1, "url"), "smptehdbars,scale=1920:1080[out0]; anullsrc[out1]"),
"-f", src2fmt, "-i", jstr(jlookup(src2, "url"), "smptehdbars,scale=w=100:h=100[out0]; anullsrc[out1]"), "-f", src2fmt, "-i", jstr(jlookup(src2, "url"), "smptehdbars,scale=1920:1080[out0]; anullsrc[out1]"),
"-filter_complex", "-filter_complex",
mprintf("[0:a]%s[a1]; [1:a]%s[a2]; [a1][a2]amix,%s,asplit=3[lowa][mida][higha];" mprintf("[0:a]%s[a1]; [1:a]%s[a2]; [a1][a2]amix,%s,asplit=3[lowa][mida][higha];"
"[0:v]%s[v1]; [1:v]%s[v2]; [v1][v2]%s,scale=1920:1080[tmp];" "[0:v]%s[v1]; [1:v]%s[v2]; [v1][v2]%s,scale=1920:1080[tmp];"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment