restored resolution in big video writer test
authorVadim Pisarevsky <no@email>
Fri, 6 Apr 2012 10:15:52 +0000 (10:15 +0000)
committerVadim Pisarevsky <no@email>
Fri, 6 Apr 2012 10:15:52 +0000 (10:15 +0000)
modules/highgui/test/test_ffmpeg.cpp

index 9d20b5a..562242d 100644 (file)
@@ -55,11 +55,11 @@ class CV_FFmpegWriteBigVideoTest : public cvtest::BaseTest
 public:\r
     void run(int)\r
     {\r
-        const int img_r = 480;\r
-        const int img_c = 640;\r
+        const int img_r = 4096;\r
+        const int img_c = 4096;\r
         Size frame_s = Size(img_c, img_r);\r
-        const double fps = 30;\r
-        const double time_sec = 2;\r
+        const double fps = 15;\r
+        const double time_sec = 1;\r
         const int coeff = static_cast<int>(static_cast<double>(cv::min(img_c, img_r)) / (fps * time_sec));\r
 \r
         const size_t n = sizeof(codec_bmp_tags)/sizeof(codec_bmp_tags[0]);\r
@@ -79,15 +79,9 @@ public:
             tag != MKTAG('m', 'p', '4', 'v') &&\r
             tag != MKTAG('D', 'I', 'V', '3') &&\r
             tag != MKTAG('W', 'M', 'V', '1') &&\r
-            tag != MKTAG('W', 'M', 'V', '1') &&\r
-            tag != MKTAG('m', 'p', 'g', '1') &&\r
-            tag != MKTAG('W', 'M', 'V', '1') &&\r
             tag != MKTAG('W', 'M', 'V', '2') &&\r
-            tag != MKTAG('m', 'p', 'g', '1') &&\r
-            tag != MKTAG('m', 'p', 'g', '2') &&\r
             tag != MKTAG('M', 'P', 'E', 'G') &&\r
             tag != MKTAG('M', 'J', 'P', 'G') &&\r
-            tag != MKTAG('L', 'J', 'P', 'G') &&\r
             tag != MKTAG('j', 'p', 'e', 'g') &&\r
             tag != 0 &&\r
             tag != MKTAG('I', '4', '2', '0') &&\r