From daf1879a2e5ea9a21c2e1c5209bc5c6526aa112e Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Fri, 15 Jul 2016 17:00:02 +0300 Subject: [PATCH] test: ffmpeg: change resolution for H264 test --- modules/videoio/test/test_ffmpeg.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/videoio/test/test_ffmpeg.cpp b/modules/videoio/test/test_ffmpeg.cpp index 423817715a..fce8cf467c 100644 --- a/modules/videoio/test/test_ffmpeg.cpp +++ b/modules/videoio/test/test_ffmpeg.cpp @@ -118,6 +118,9 @@ public: frame_s = Size(352, 288); else if( tag == VideoWriter::fourcc('H', '2', '6', '3') ) frame_s = Size(704, 576); + else if( tag == VideoWriter::fourcc('H', '2', '6', '4') ) + // OpenH264 1.5.0 has resolution limitations, so lets use DCI 4K resolution + frame_s = Size(4096, 2160); /*else if( tag == CV_FOURCC('M', 'J', 'P', 'G') || tag == CV_FOURCC('j', 'p', 'e', 'g') ) frame_s = Size(1920, 1080);*/