test: ffmpeg: change resolution for H264 test

This commit is contained in:
Alexander Alekhin 2016-07-15 17:00:02 +03:00
parent 99b0845cd5
commit daf1879a2e

View File

@ -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);*/