Skip to content
GitLab
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
5b5a72db
Commit
5b5a72db
authored
Jan 19, 2018
by
Amir MOHAMMADI
Browse files
adjust test values to openh264
parent
57a4de6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/io/video/test_codec.py
View file @
5b5a72db
...
...
@@ -69,7 +69,7 @@ def test_format_codecs():
ffv1
=
dict
(
frameskip
=
0.05
,
color
=
9.
,
noise
=
46.
),
vp8
=
dict
(
frameskip
=
0.3
,
color
=
9.0
,
noise
=
65.
),
libvpx
=
dict
(
frameskip
=
0.3
,
color
=
9.0
,
noise
=
65.
),
h264
=
dict
(
frameskip
=
0.
4
,
color
=
9.0
,
noise
=
5
0
.
),
h264
=
dict
(
frameskip
=
0.
5
,
color
=
9.0
,
noise
=
5
5
.
),
libx264
=
dict
(
frameskip
=
0.4
,
color
=
9.0
,
noise
=
50.
),
theora
=
dict
(
frameskip
=
0.5
,
color
=
9.0
,
noise
=
70.
),
libtheora
=
dict
(
frameskip
=
0.5
,
color
=
9.0
,
noise
=
70.
),
...
...
@@ -121,7 +121,7 @@ def check_user_video(format, codec, maxdist):
# encode the input video using the format and codec provided by the user
outv
=
writer
(
fname
,
oheight
,
owidth
,
orig_vreader
.
frame_rate
,
codec
=
codec
,
format
=
format
)
codec
=
codec
,
format
=
format
,
check
=
False
)
for
k
in
orig
:
outv
.
append
(
k
)
outv
.
close
()
...
...
@@ -158,7 +158,7 @@ def test_user_video():
ffv1
=
1.7
,
vp8
=
2.7
,
libvpx
=
2.7
,
h264
=
2.
5
,
h264
=
2.
7
,
libx264
=
2.5
,
theora
=
2.0
,
libtheora
=
2.0
,
...
...
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