Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Projects
Groups
Snippets
Sign up now
Login
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
ffworker
Commits
6436a1a4
Commit
6436a1a4
authored
Nov 12, 2018
by
Julian Rother
Browse files
Revert "complex_live_transcode: Temporarily disabled 1080p profile"
This reverts commit
3305fd66
.
parent
3305fd66
Pipeline
#435
passed with stage
in 9 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
complex_live_transcode.c
View file @
6436a1a4
...
...
@@ -49,10 +49,10 @@ int main(int argc, char *argv[])
"-f"
,
src1fmt
,
"-i"
,
jstr
(
jlookup
(
src1
,
"url"
),
"smptehdbars,scale=1920:1080[out0]; anullsrc[out1]"
),
"-f"
,
src2fmt
,
"-i"
,
jstr
(
jlookup
(
src2
,
"url"
),
"smptehdbars,scale=1920:1080[out0]; anullsrc[out1]"
),
"-filter_complex"
,
mprintf
(
"[0:a]%s[a1]; [1:a]%s[a2]; [a1][a2]amix,%s,asplit=
2
[lowa][mida];"
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];"
"movie=%s/video-logo-150px-trans.png,scale=w=100:h=100[logo];"
"[tmp][logo]%s,split=
2
[lowtmp][midtmp];"
"[tmp][logo]%s,split=
3
[lowtmp][midtmp]
[high]
;"
"[lowtmp]scale=640:360[low];"
"[midtmp]scale=1280:720[mid]"
,
jstr
(
jlookup
(
src1
,
"afilter"
),
"anull"
),
...
...
@@ -64,7 +64,8 @@ int main(int argc, char *argv[])
getenv
(
WORKER_RAW
),
logo_expr
),
"-map"
,
"[low]"
,
"-map"
,
"[lowa]"
,
OUTPUT_FORMAT
(
"512k"
),
mprintf
(
"%s_low"
,
dest
),
"-map"
,
"[mid]"
,
"-map"
,
"[mida]"
,
OUTPUT_FORMAT
(
"2024k"
),
mprintf
(
"%s_mid"
,
dest
),
0
);
"-map"
,
"[mid]"
,
"-map"
,
"[mida]"
,
OUTPUT_FORMAT
(
"2024k"
),
mprintf
(
"%s_mid"
,
dest
),
"-map"
,
"[high]"
,
"-map"
,
"[higha]"
,
OUTPUT_FORMAT
(
"6024k"
),
mprintf
(
"%s_high"
,
dest
),
0
);
exit
(
1
);
}
close
(
errpipe
[
1
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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