Vadim Pisarevsky
2b2e3ee93c
make sure opencv builds fine with the recent versions of libav (e.g. from Ubuntu 14.10)
10 years ago
Roman Donchenko
34ad2e0fa4
Fix a memory leak in CvCapture_FFMPEG::close
...
FFmpeg now requires that frames allocated with avcodec_alloc_frame are
freed with avcodec_free_frame.
(cherry picked from commit 77578d415f
)
Conflicts:
modules/highgui/src/cap_ffmpeg_impl.hpp
10 years ago
hahne
1af4521239
fix for issue 1915
10 years ago
Adam Borowski
7b0d1c932e
Get rid of sysctl includes on Linux.
...
The 'sysctl' syscall has been strongly deprecated on Linux for ages.
Currently, on old architectures it will spam syslog whenever used, and on
newer ones it's missing from the headers altogether. Opencv has migrated
away on Linux already, but #includes were left lingering. This commit
removes them on non-__APPLE__, unbreaking x32 (and probably others).
10 years ago
Artur Wieczorek
854a722c70
Implement VideoCapture::get, CvCapture::getProperty, IVideoCapture::getProperty as constant methods.
10 years ago
Manfred Georg
8d95c91805
set ffmpeg mutex to NULL on destruction.
10 years ago
vbystricky
d58f736935
Split highgui module to videoio and highgui
11 years ago
Ilya Lavrenov
6b9ebcbf3d
deleted extra semicolons
11 years ago
Roman Donchenko
3b7acf2657
Fix building with FFmpeg 0.8.
...
avformat_find_stream_info was introduced in Libav avformat 53.3,
but it was only merged to FFmpeg in avformat 53.6.
In Libav avformat 53.3-53.5 av_find_stream_info is not removed
(only deprecated), so this shouldn't break building with that.
11 years ago
Roman Donchenko
9b92545ce6
War on Whitespace, master edition: trailing spaces.
12 years ago
Roman Donchenko
3c137f7a04
Converted tabs to spaces.
12 years ago
Roman Donchenko
f55740da70
Deleted all trailing whitespace.
12 years ago
Alexander Smorkalov
9af2c1661a
Restricted Win32 API was fixed in Highgui and some 3rd party libs. Patch
...
for libpng added.
12 years ago
StevenPuttemans
d11746e56d
Added fix mentioned in bug #3206
...
VideoWriter memory leak solved.
12 years ago
Alexander Smorkalov
37b67fa50d
Fix compiler error due to missing pthread header (Issue #2953 )
12 years ago
Andrey Kamaev
eb3c9ed1ab
Fix ffmpeg wrapper compatibility with libavcodec > 53.25.0
...
Based on pull request #685
12 years ago
Andrey Kamaev
14d27112e9
Fix build of ffmpeg wrapper with some versions of avutil
12 years ago
Andrey Kamaev
ad5cddc007
Main module headers are moved 1 level up
...
e.g. <opencv2/core/core.hpp> become <opencv2/core.hpp>
Also renamed <opencv2/core/opengl_interop.hpp> to <opencv2/core/opengl.hpp>
12 years ago
Charles Otto
c02f94392b
Add version checks to previous modifications to ffmpeg_cap_impl.hpp
...
Add version checks around uses of AVCodecID and av_opt_set, since these aren't
defined for older versions of ffmpeg.
12 years ago
Charles Otto
52137ceed0
Allow encoding with libx264 via ffmpeg to work
...
Add a call to avcodec_get_context_defaults3, this sets per-codec default values
and in the case of libx264 will stop VideoWriter::open (with fourcc=x264) from
failing due to libx264 complaining about broken ffmpeg default settings.
Set some additional libx264 encoder parameters.
12 years ago
gferry
e3803f9985
fix for OpenCV issue #2815
...
- libavcodec issue
- some decoders alter AVCodecContext width/height values, in a wrong way
- eg. in issue 2815, vp6f decoder changes these values, resulting in distorted / invalid frames
- this patch forces default AVCodecContext values
12 years ago
Andrey Kamaev
ac389507a0
Fix warnings from ffmpeg wrapper
12 years ago
Ilya Lavrenov
5512f91d08
removed libstdc++ dependency
12 years ago
Andrey Kamaev
2ed6bc8aaf
Revert ffmpeg related changes from "thread-safe VideoWriter and VideoCapture"
...
This reverts commit 4abf0b3193
.
Changes are reverted because they break build of proxy dlls on Windows
12 years ago
Ilya Lavrenov
4abf0b3193
thread-safe VideoWriter and VideoCapture
12 years ago
Vadim Pisarevsky
4e07561141
fixed possible compile error in cap_ffmpeg_impl.hpp (bug #2365 )
13 years ago
Vadim Pisarevsky
2367a195c5
probably fixed compile error on MacOSX 10.6
13 years ago
Vadim Pisarevsky
633a8bfacc
fixed many warnings (modified pull request 13)
13 years ago
Andrey Kamaev
d4df1e0b5c
Merged the trunk r8887, r8891, r8314
13 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Andrey Kamaev
49a1ba6038
Set stricter warning rules for gcc
13 years ago
Andrey Kamaev
059b79f7c2
Merged the trunk r8542:8544
13 years ago
Vadim Pisarevsky
677680d82d
reverted the original VideoCapture::read() code; moved frame index check to where it should belong: ffmpeg wrapper; applied patch by Rob Reilink (ticket #1971 )
13 years ago
Alexander Reshetnikov
3ec43a11ed
Fixed read error in VideoCapture for images (bug #1892 ); minor fix of ffmpeg wrapper warning
13 years ago
Vladislav Vinogradov
ca57239618
fixed some problems after r8280 (lost code)
13 years ago
Vadim Pisarevsky
d5a0088bbe
merged 2.4 into trunk
13 years ago
Vadim Pisarevsky
2c88791600
get back to single-version ffmpeg wrapper (no more v2); make sure the library builds and the tests pass on Ubuntu 10.04 that includes pretty old version of ffmpeg
13 years ago
Alexander Reshetnikov
689c1814a5
Fixed VideoCapture memory leak (bug #1481 )
13 years ago
Vladislav Vinogradov
f4b4665940
added VideoReader_GPU
13 years ago
Vladislav Vinogradov
70909738f4
added support of different surface formats to VideoWriter_GPU
...
added key frame handling to ffmpeg wrappers
13 years ago
Vladislav Vinogradov
2bfaf540a1
added VideoWriter_GPU
13 years ago
Vadim Pisarevsky
2fd1e2ea57
merged all the latest changes from 2.4 to trunk
13 years ago
Alexander Reshetnikov
0442b3eae4
Updated diagnostic messages in VideoWriter (for ticket #1736 )
13 years ago
Alexander Reshetnikov
d9e4ad3f50
Code style refactoring for ffmpeg wrappers
13 years ago
Alexander Reshetnikov
3514042b29
Updated getProperty method in old ffmpeg wrapper
13 years ago
Alexander Reshetnikov
264dff5231
Fixed ffmpeg encoding error (ticket #1743 )
13 years ago
Alexander Reshetnikov
4ec2ad91b9
Removed duplicated includes from ffmpeg wrappers
13 years ago
Alexander Reshetnikov
e00f1e3911
Fixed a problem with CODEC_ID_RAWVIDEO in FFMPEG (ticket #1400 )
13 years ago
Alexander Reshetnikov
1d7e09a9d5
Removed duplicated ifdef code from ffmpeg wrappers
13 years ago
Alexander Shishkov
84ddd6018d
fixed wrapper compilation on Windows (opencv_ffmpeg dlls)
13 years ago