Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
ffworker
Commits
3efe1a60
Commit
3efe1a60
authored
Jul 26, 2018
by
Julian Rother
Browse files
complex_live_transcode: Fixed last commit
parent
c1188c86
Pipeline
#221
passed with stage
in 6 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
complex_live_transcode.c
View file @
3efe1a60
...
...
@@ -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,scale=
w=100:h=
100[out0]; anullsrc[out1]"
),
"-f"
,
src2fmt
,
"-i"
,
jstr
(
jlookup
(
src2
,
"url"
),
"smptehdbars,scale=
w=100:h=
100[out0]; anullsrc[out1]"
),
"-f"
,
src1fmt
,
"-i"
,
jstr
(
jlookup
(
src1
,
"url"
),
"smptehdbars,scale=
1920:
10
8
0[out0]; anullsrc[out1]"
),
"-f"
,
src2fmt
,
"-i"
,
jstr
(
jlookup
(
src2
,
"url"
),
"smptehdbars,scale=
1920:
10
8
0[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];"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment