Commit c1188c86 authored by Julian Rother's avatar Julian Rother

complex_live_transcode: Ensure blank sources are 1080p

parent 69a9a31c
Pipeline #220 passed with stage
in 8 minutes and 23 seconds
......@@ -46,8 +46,8 @@ int main(int argc, char *argv[])
dup2(open("/dev/null", O_RDONLY|O_CLOEXEC), 0);
dup2(open("/dev/null", O_WRONLY|O_CLOEXEC), 1);
execlp("ffmpeg", "ffmpeg", "-nostats",
"-f", src1fmt, "-i", jstr(jlookup(src1, "url"), "smptehdbars[out0]; anullsrc[out1]"),
"-f", src2fmt, "-i", jstr(jlookup(src2, "url"), "smptehdbars[out0]; anullsrc[out1]"),
"-f", src1fmt, "-i", jstr(jlookup(src1, "url"), "smptehdbars,scale=w=100:h=100[out0]; anullsrc[out1]"),
"-f", src2fmt, "-i", jstr(jlookup(src2, "url"), "smptehdbars,scale=w=100:h=100[out0]; anullsrc[out1]"),
"-filter_complex",
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];"
......
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