video_format.feature 2.12 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
# Test to process ptv with different video input/output formats

@slow
Feature: Testing different video formats are working correctly

    Scenario Outline: Video formats
        When I launch videostitch-cmd with <folder>/<ptv> and "-d 0 -v 3 -f <first> <last>"
        Then I expect the command to succeed
        When I check <folder>/output.<extension> integrity with avprobe
        Then The video is OK

        Examples:
            | folder        | ptv                         | extension | first | last  |
            | videoformat01 | template_mp4.ptv            | mp4       | 0     | -l 10 |
            | videoformat01 | template_mp4_1024.ptv       | mp4       | 0     | -l 10 |
            | videoformat01 | template_mp4_2048.ptv       | mp4       | 0     | -l 10 |
            | videoformat01 | template_mp4_mjpeg.ptv      | mp4       | 0     | -l 10 |
            | videoformat01 | template_mp4_mpeg2.ptv      | mp4       | 0     | -l 10 |
            | videoformat01 | template_mpeg4_mp4.ptv      | mp4       | 0     | -l 10 |
            | videoformat01 | template_seek.ptv           | mp4       | 0     | -l 10 |
            | videoformat01 | template_seek_2.ptv         | mp4       | 0     | -l 10 |
            | videoformat01 | template_mp4_prores.ptv     | mov       | 0     | -l 10 |
            | videoformat01 | template_prores_prores.ptv  | mov       | 0     | -l 10 |
            | videoformat01 | template_prores_prores.ptv  | mov       | 1470  |       |
            | videoformat01 | template_prores_mp4.ptv     | mp4       | 0     | -l 10 |

    Scenario Outline: Video frames number
        When I launch videostitch-cmd with <folder>/<ptv> and "-d 0 -v 3 -f <first> -l <last>"
        Then I expect the command to succeed
        Then I check the video nb_frames of <folder>/output.<extension> to be equal to <nb>
        Then The video is OK
        Examples:
            | folder        | ptv                         | extension | first | last | nb  |
            | videoformat01 | template_linear_mp4.ptv     | mp4       | 0     |  9   | 10  |
            | videoformat01 | template_linear_mp4.ptv     | mp4       | 21    |  50  | 30  |