|
|
|
@ -226,7 +226,11 @@ const videoio_container_params_t videoio_container_params[] = |
|
|
|
|
videoio_container_params_t(CAP_FFMPEG, "video/big_buck_bunny", "h264", "h264", "h264", "I420"), |
|
|
|
|
videoio_container_params_t(CAP_FFMPEG, "video/big_buck_bunny", "h265", "h265", "hevc", "I420"), |
|
|
|
|
videoio_container_params_t(CAP_FFMPEG, "video/big_buck_bunny", "mjpg.avi", "mjpg", "MJPG", "I420"), |
|
|
|
|
#ifdef _WIN32 // handle old FFmpeg backend - remove when windows shared library is updated
|
|
|
|
|
videoio_container_params_t(CAP_FFMPEG, "video/sample_322x242_15frames.yuv420p.libx264", "mp4", "h264", "avc1", "I420") |
|
|
|
|
#else |
|
|
|
|
videoio_container_params_t(CAP_FFMPEG, "video/sample_322x242_15frames.yuv420p.libx264", "mp4", "h264", "h264", "I420") |
|
|
|
|
#endif |
|
|
|
|
//videoio_container_params_t(CAP_FFMPEG, "video/big_buck_bunny", "h264.mkv", "mkv.h264", "h264", "I420"),
|
|
|
|
|
//videoio_container_params_t(CAP_FFMPEG, "video/big_buck_bunny", "h265.mkv", "mkv.h265", "hevc", "I420"),
|
|
|
|
|
//videoio_container_params_t(CAP_FFMPEG, "video/big_buck_bunny", "h264.mp4", "mp4.avc1", "avc1", "I420"),
|
|
|
|
@ -448,10 +452,21 @@ TEST_P(ffmpeg_get_fourcc, check_short_codecs) |
|
|
|
|
const ffmpeg_get_fourcc_param_t ffmpeg_get_fourcc_param[] = |
|
|
|
|
{ |
|
|
|
|
ffmpeg_get_fourcc_param_t("../cv/tracking/faceocc2/data/faceocc2.webm", "VP80"), |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/sample_322x242_15frames.yuv420p.libvpx-vp9.mp4", "vp09"), |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/sample_322x242_15frames.yuv420p.libaom-av1.mp4", "av01"), |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/big_buck_bunny.h265", "hevc"), |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/big_buck_bunny.h264", "h264") |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/big_buck_bunny.h264", "h264"), |
|
|
|
|
#ifdef _WIN32 // handle old FFmpeg backend - remove when windows shared library is updated
|
|
|
|
|
ffmpeg_get_fourcc_param_t("video/sample_322x242_15frames.yuv420p.libvpx-vp9.mp4", "vp09"), |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/sample_322x242_15frames.yuv420p.libaom-av1.mp4", "av01") |
|
|
|
|
#else |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/sample_322x242_15frames.yuv420p.libvpx-vp9.mp4", "VP90"), |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/sample_322x242_15frames.yuv420p.libaom-av1.mp4", "AV01"), |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/big_buck_bunny.mp4", "FMP4"), |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/sample_322x242_15frames.yuv420p.mpeg2video.mp4", "mpg2"), |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/sample_322x242_15frames.yuv420p.mjpeg.mp4", "MJPG"), |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/sample_322x242_15frames.yuv420p.libxvid.mp4", "FMP4"), |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/sample_322x242_15frames.yuv420p.libx265.mp4", "hevc"), |
|
|
|
|
ffmpeg_get_fourcc_param_t("video/sample_322x242_15frames.yuv420p.libx264.mp4", "h264") |
|
|
|
|
#endif |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
INSTANTIATE_TEST_CASE_P(videoio, ffmpeg_get_fourcc, testing::ValuesIn(ffmpeg_get_fourcc_param)); |
|
|
|
|