diff options
author | Jesús <heckyel@hyperbola.info> | 2020-06-02 20:26:22 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-06-02 20:26:22 -0500 |
commit | 921db4c99c9417875c0e456e57ed73c699c12e9e (patch) | |
tree | 5155ed4a7ebaca9fb37c286090e9f99d00936133 | |
parent | 52ee6786da4868f18942cda5be6e4e7bae42f4ee (diff) | |
download | librevideoconverter-921db4c99c9417875c0e456e57ed73c699c12e9e.tar.lz librevideoconverter-921db4c99c9417875c0e456e57ed73c699c12e9e.tar.xz librevideoconverter-921db4c99c9417875c0e456e57ed73c699c12e9e.zip |
Reorganize test
-rw-r--r-- | test/test_converter.py | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/test/test_converter.py b/test/test_converter.py index 785b4a9..4814fd3 100644 --- a/test/test_converter.py +++ b/test/test_converter.py @@ -773,30 +773,6 @@ class TestConverterDefinitions(base.Test): }) self.check_size('galaxyy', 320, 240) - def test_webmhd720p(self): - self.check_ffmpeg_arguments('webmhd720p', { - 'ab': '112k', - 'acodec': 'libvorbis', - 'ar': '44100', - 'b:v': '2M', - 'cpu_used': '0', - 'deadline': 'good', - 'f': 'webm', - 'g': '120', - 'i': self.input_path, - 'lag_in_frames': '16', - 'output_file': self.output_path, - 'qmax': '51', - 'qmin': '11', - 's': '542x320', - 'slices': '4', - 'strict': 'experimental', - 'vcodec': 'libvpx', - 'vprofile': '0', - 'map_metadata': '-1', - }) - self.check_size('webmhd720p', 1080, 720) - def test_galaxytab101(self): self.check_ffmpeg_arguments('galaxytab101', { 'ab': '160k', @@ -1027,6 +1003,54 @@ class TestConverterDefinitions(base.Test): }) self.check_size('iphone5', 1920, 1080) + def test_webmuhd1080p(self): + self.check_ffmpeg_arguments('webmuhd1080p', { + 'ab': '128k', + 'acodec': 'libvorbis', + 'ar': '44100', + 'b:v': '4M', + 'cpu_used': '0', + 'deadline': 'good', + 'f': 'webm', + 'g': '120', + 'i': self.input_path, + 'lag_in_frames': '23', + 'map_metadata': '-1', + 'output_file': self.output_path, + 'qmax': '51', + 'qmin': '11', + 's': '542x320', + 'slices': '4', + 'strict': 'experimental', + 'vcodec': 'libvpx', + 'vprofile': '0' + }) + self.check_size('webmuhd1080p', 1920, 1080) + + def test_webmhd720p(self): + self.check_ffmpeg_arguments('webmhd720p', { + 'ab': '112k', + 'acodec': 'libvorbis', + 'ar': '44100', + 'b:v': '2M', + 'cpu_used': '0', + 'deadline': 'good', + 'f': 'webm', + 'g': '120', + 'i': self.input_path, + 'lag_in_frames': '16', + 'output_file': self.output_path, + 'qmax': '51', + 'qmin': '11', + 's': '542x320', + 'slices': '4', + 'strict': 'experimental', + 'vcodec': 'libvpx', + 'vprofile': '0', + 'map_metadata': '-1', + }) + self.check_size('webmhd720p', 1080, 720) + def test_webmsd480p(self): self.check_ffmpeg_arguments('webmsd480p', { 'ab': '112k', @@ -1086,30 +1110,6 @@ class TestConverterDefinitions(base.Test): }) self.check_uses_input_size('webmvp8') - def test_webmuhd1080p(self): - self.check_ffmpeg_arguments('webmuhd1080p', { - 'ab': '128k', - 'acodec': 'libvorbis', - 'ar': '44100', - 'b:v': '4M', - 'cpu_used': '0', - 'deadline': 'good', - 'f': 'webm', - 'g': '120', - 'i': self.input_path, - 'lag_in_frames': '23', - 'map_metadata': '-1', - 'output_file': self.output_path, - 'qmax': '51', - 'qmin': '11', - 's': '542x320', - 'slices': '4', - 'strict': 'experimental', - 'vcodec': 'libvpx', - 'vprofile': '0' - }) - self.check_size('webmuhd1080p', 1920, 1080) - def test_galaxymini(self): self.check_ffmpeg_arguments('galaxymini', { 'ab': '160k', |