Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
ffworker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Video AG Infrastruktur
ffworker
Commits
c1188c86
Commit
c1188c86
authored
6 years ago
by
Julian Rother
Browse files
Options
Downloads
Patches
Plain Diff
complex_live_transcode: Ensure blank sources are 1080p
parent
69a9a31c
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#220
passed
6 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
complex_live_transcode.c
+2
-2
2 additions, 2 deletions
complex_live_transcode.c
with
2 additions
and
2 deletions
complex_live_transcode.c
+
2
−
2
View file @
c1188c86
...
@@ -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[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[out0]; anullsrc[out1]"
),
"-f"
,
src2fmt
,
"-i"
,
jstr
(
jlookup
(
src2
,
"url"
),
"smptehdbars
,scale=w=100:h=100
[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];"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment