Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
1e0a0aaf
Commit
1e0a0aaf
authored
Apr 29, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fate: port our pixfmts change to fate-run.sh.
This patch is the same as
52b23cbf
.
parent
e881057c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
fate-run.sh
tests/fate-run.sh
+11
-6
No files found.
tests/fate-run.sh
View file @
1e0a0aaf
...
@@ -189,20 +189,25 @@ pixfmts(){
...
@@ -189,20 +189,25 @@ pixfmts(){
filter_args
=
$1
filter_args
=
$1
showfiltfmts
=
"
$target_exec
$target_path
/libavfilter/filtfmts-test"
showfiltfmts
=
"
$target_exec
$target_path
/libavfilter/filtfmts-test"
exclude_fmts
=
${
outfile
}${
filter
}
_exclude_fmts
scale_exclude_fmts
=
${
outfile
}${
1
}
_scale_exclude_fmts
out_fmts
=
${
outfile
}${
filter
}
_out_fmts
scale_in_fmts
=
${
outfile
}${
1
}
_scale_in_fmts
scale_out_fmts
=
${
outfile
}${
1
}
_scale_out_fmts
in_fmts
=
${
outfile
}${
1
}
_in_fmts
# exclude pixel formats which are not supported as input
# exclude pixel formats which are not supported as input
ffmpeg
-pix_fmts
list 2>/dev/null |
awk
'NR > 8 && /^\..\./ { print $2 }'
|
sort
>
$exclude_fmts
$showfiltfmts
scale |
awk
-F
'[ \r]'
'/^INPUT/{ fmt=substr($3, 5); print fmt }'
|
sort
>
$scale_in_fmts
$showfiltfmts
scale |
awk
-F
'[ \r:]'
'/^OUTPUT/{ print $5 }'
|
sort
|
comm
-23
-
$exclude_fmts
>
$out_fmts
$showfiltfmts
scale |
awk
-F
'[ \r]'
'/^OUTPUT/{ fmt=substr($3, 5); print fmt }'
|
sort
>
$scale_out_fmts
comm
-12
$scale_in_fmts
$scale_out_fmts
>
$scale_exclude_fmts
$showfiltfmts
$filter
|
awk
-F
'[ \r]'
'/^INPUT/{ fmt=substr($3, 5); print fmt }'
|
sort
>
$in_fmts
pix_fmts
=
$(
comm
-12
$scale_exclude_fmts
$in_fmts
)
pix_fmts
=
$(
$showfiltfmts
$filter
|
awk
-F
'[ \r:]'
'/^INPUT/{ print $5 }'
|
sort
|
comm
-12
-
$out_fmts
)
for
pix_fmt
in
$pix_fmts
;
do
for
pix_fmt
in
$pix_fmts
;
do
test
=
$pix_fmt
test
=
$pix_fmt
video_filter
"format=
$pix_fmt
,
$filter
=
$filter_args
"
-pix_fmt
$pix_fmt
video_filter
"format=
$pix_fmt
,
$filter
=
$filter_args
"
-pix_fmt
$pix_fmt
done
done
rm
$
exclude_fmts
$out
_fmts
rm
$
in_fmts
$scale_in_fmts
$scale_out_fmts
$scale_exclude
_fmts
}
}
mkdir
-p
"
$outdir
"
mkdir
-p
"
$outdir
"
...
...
Write
Preview
Markdown
is supported
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