Mercurial > hg > nginx-tests
comparison mp4_start_key_frame.t @ 1937:2a0a6035a1af
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 25 Aug 2023 18:12:08 +0400 |
parents | be8d5213d6b9 |
children |
comparison
equal
deleted
inserted
replaced
1936:716d7500317d | 1937:2a0a6035a1af |
---|---|
59 system('ffmpeg -nostdin -loglevel quiet -y ' | 59 system('ffmpeg -nostdin -loglevel quiet -y ' |
60 . '-f lavfi -i testsrc=duration=10:size=320x200:rate=15 ' | 60 . '-f lavfi -i testsrc=duration=10:size=320x200:rate=15 ' |
61 . '-pix_fmt yuv420p -g 15 -c:v libx264 ' | 61 . '-pix_fmt yuv420p -g 15 -c:v libx264 ' |
62 . "${\($t->testdir())}/test.mp4") == 0 | 62 . "${\($t->testdir())}/test.mp4") == 0 |
63 or die "Can't create mp4 file: $!"; | 63 or die "Can't create mp4 file: $!"; |
64 $t->try_run('no mp4_start_key_frame')->plan(4); | 64 $t->run()->plan(4); |
65 | 65 |
66 ############################################################################### | 66 ############################################################################### |
67 | 67 |
68 # baseline durations | 68 # baseline durations |
69 | 69 |