Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.io.video
Commits
a33757f2
Commit
a33757f2
authored
Mar 13, 2018
by
André Anjos
💬
Browse files
Fixes
#10
parent
5959096d
Pipeline
#17631
passed with stage
in 29 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/io/video/test_codec.py
View file @
a33757f2
...
...
@@ -15,6 +15,9 @@ from .utils import color_distortion, frameskip_detection, quality_degradation
# These are some global parameters for the test.
INPUT_VIDEO
=
test_utils
.
datafile
(
'test.mov'
,
__name__
)
# Fix numpy random seed for tests, so they are repeatable
numpy
.
random
.
seed
(
0
)
def
check_format_codec
(
function
,
shape
,
framerate
,
format
,
codec
,
maxdist
):
length
,
height
,
width
=
shape
...
...
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