Skip to content

Commit 49e1f6b

Browse files
committed
Merge pull request opencv#9091 from alalek:update_ffmpeg
2 parents 1a4c22f + 6833b46 commit 49e1f6b

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

3rdparty/ffmpeg/ffmpeg.cmake

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Binary branch name: ffmpeg/master_20170418
2-
# Binaries were created for OpenCV: b993b9b7c7f6f5f37d10acacb2962812228410ba
3-
set(FFMPEG_BINARIES_COMMIT "86c4a841055f2612774e85b4292bb20e5fe8a783")
4-
set(FFMPEG_FILE_HASH_BIN32 "3dea5f7f009b44601fe95728328e0f9e")
5-
set(FFMPEG_FILE_HASH_BIN64 "9debe701975ef074bd6661981f3f0716")
6-
set(FFMPEG_FILE_HASH_CMAKE "208c00f03d2f6f39fa6262649e0bfc8d")
1+
# Binary branch name: ffmpeg/master_20170704
2+
# Binaries were created for OpenCV: f670a9927026629a4083e05a1612f0adcad7727e
3+
set(FFMPEG_BINARIES_COMMIT "a86e53eb35737a50e5100e26af3aa1d29e810890")
4+
set(FFMPEG_FILE_HASH_BIN32 "79c35cc654778e66237444bc562afbca")
5+
set(FFMPEG_FILE_HASH_BIN64 "0dc72775ec3c14d1e049f51dc1280dbb")
6+
set(FFMPEG_FILE_HASH_CMAKE "ec59008da403fb18ab3c1ed66aed583b")
77

88
function(download_win_ffmpeg script_var)
99
set(${script_var} "" PARENT_SCOPE)

3rdparty/ffmpeg/readme.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,18 @@
1616
The binaries are opencv_ffmpeg.dll (version for 32-bit Windows) and
1717
opencv_ffmpeg_64.dll (version for 64-bit Windows).
1818

19-
See build_win32.txt for the build instructions, if you want to rebuild opencv_ffmpeg*.dll from scratch.
20-
2119
The pre-built opencv_ffmpeg*.dll is:
2220
* LGPL library, not BSD libraries.
2321
* Loaded at runtime by opencv_videoio module.
2422
If it succeeds, ffmpeg can be used to decode/encode videos;
2523
otherwise, other API is used.
2624

27-
FFMPEG build contains H264 encoder based on the OpenH264 library, that should be installed separatelly.
25+
FFMPEG build includes support for H264 encoder based on the OpenH264 library.
2826
OpenH264 Video Codec provided by Cisco Systems, Inc.
2927
See https://github.com/cisco/openh264/releases for details and OpenH264 license.
30-
Downloaded binary file can be placed into global system path (System32 or SysWOW64) or near application binaries.
31-
You can also specify location of binary file via OPENH264_LIBRARY_PATH environment variable.
28+
OpenH264 library should be installed separatelly. Downloaded binary file can be placed into global system path
29+
(System32 or SysWOW64) or near application binaries (check documentation of "LoadLibrary" Win32 function from MSDN).
30+
Or you can specify location of binary file via OPENH264_LIBRARY environment variable.
3231

3332
If LGPL/GPL software can not be supplied with your OpenCV-based product, simply exclude
3433
opencv_ffmpeg*.dll from your distribution; OpenCV will stay fully functional except for the ability to

modules/videoio/test/test_ffmpeg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class CV_FFmpegWriteBigVideoTest : public cvtest::BaseTest
138138
fprintf(stderr, "\n\nFile name: %s\n", filename.c_str());
139139
fprintf(stderr, "Codec id: %d Codec tag: %c%c%c%c\n", (int)j,
140140
tag & 255, (tag >> 8) & 255, (tag >> 16) & 255, (tag >> 24) & 255);
141-
fprintf(stderr, "Error: cannot create video file.");
141+
fprintf(stderr, "Error: cannot create video file.\n");
142142
if (entries[j].required)
143143
ts->set_failed_test_info(ts->FAIL_INVALID_OUTPUT);
144144
}

0 commit comments

Comments
 (0)