Peter Jozsa
8b0e1c7fcb
Fix https://github.com/opencv/opencv/issues/12301
6 years ago
Maxim Smirnov
c94d75874b
`CV_Assert`s changed
...
Some `CV_Assert`s changed to `CV_Assert_N`s according to https://github.com/opencv/opencv/issues/12304
6 years ago
Kaartic Sivaraam
a527e8cc73
cap-v4l: remove unwanted loop in V4L2 mainloop
...
The while loop would run only once making it useless and leading
to confusion.
So, remove the unwanted while loop and just keep an infinite for
loop.
6 years ago
Suleyman TURKMEN
c61bc3a0cb
Update documentation and samples
6 years ago
zarelaky
715f23127c
Update cap_gstreamer.cpp
...
fixed call open(int id) failed
6 years ago
berak
7e353a1ec5
videoio: check iterator in mjpeg_encoder.cpp
6 years ago
Maksim Shabunin
a2daf0c83c
videoio: added YUV420 format (UV order) support to v4l capture
6 years ago
Alexander Alekhin
0bef42ba12
videoio: add note about image BGR format VideoWriter::write()
6 years ago
Maksim Shabunin
dd8e990451
Fixed several issues found by static analysis, GStreamer backend
6 years ago
Maksim Shabunin
e031bada7d
Fixed several issues found by static analysis, Windows-specific
6 years ago
Maksim Shabunin
cbb1e867e5
More issues found by static analysis
6 years ago
Maksim Shabunin
e0603bb45f
Fixed several issues found by static analysis tools
6 years ago
Teng Yiliang
dadde75ef0
use struct member width_set/height_set to replace static width/height.
...
the static variables will cause race-condition when operating in
multithread scenarios.
Signed-off-by: Teng Yiliang <ylteng@outlook.com>
Signed-off-by: Teng Yiliang <yiliang.teng@weimob.com>
6 years ago
Alexander Alekhin
270cc3bcbc
videoio: add routines to query information about backends API
...
into cv::videoio_registry namespace
6 years ago
Maksim Shabunin
a2a9a01e05
AVI container: verbose error messages
6 years ago
Maksim Shabunin
53eb27f508
AVI container: use C++ streams for file operations, check some operations for overflow
6 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
6 years ago
Alexander Alekhin
f545aee66d
videoio(VFW): lower priority (after DSHOW)
6 years ago
Alexander Alekhin
b3578710cf
videoio(MSMF): fix 32-bit build crash
6 years ago
Alexander Alekhin
2dbaba077a
videoio(msmf): avoid using of C++11 code
...
build fails with MSVS 2012 without additional flags
6 years ago
Alexander Alekhin
7a2448672c
videoio(MSMF): avoid OpenCV load failure on Win7 machines
...
OpenCV binaries are compiled on Win10 environment
6 years ago
Alexander Alekhin
c3a90ccbad
videoio(MSMF): remove "always true" check
6 years ago
Vitaly Tuzov
67b67003c5
Disable MSMF VideoCapture fallback to existing camera in case provided index is out of range.
6 years ago
Rostislav Vasilikhin
18bc2a1a93
Kinect2 support added to OpenNI2 backend ( #11794 )
...
* Kinect2 support added to OpenNI2 backend
* more fixes for OpenNI2 backend
* whitespace fixed
* libfreenect2 support added
* const cast added
* mutable removed
6 years ago
Adam Rankin
ecf4b639e1
Adding the ability to toggle autofocus on/off for DirectShow webcams
7 years ago
Alexander Alekhin
9629af1aa9
videoio: MSMF async reader for camera stream
...
Synchronized reading from camera with heavy frame processing
provides bad effects (huge frame latency, processing frames from the past).
Generally, there is no way to process each frame and some frames will be dropped.
Allow preventive frame dropping to reduce lag of processed frames.
This mode is applied to cameras only (opened by 'index').
7 years ago
Alexander Alekhin
2bb5d1bca3
videoio(msmf): cleanup unused methods from ComPtr wrapper
...
Use Win32 TRUE/FALSE in SetUINT32() calls for bool parameters
7 years ago
Alexander Alekhin
09c63e4f00
videoio(msmf): fix reopen condition in configureHW()
...
`camid` value is always -1 after close().
7 years ago
Alexander Alekhin
0d249c7448
videoio(msmf): replace custom debug print function
7 years ago
Vitaly Tuzov
cb4b6bb2dc
Fixed setting of frame size properties for MSMF-based VideoCapture
7 years ago
Alexander Alekhin
c64f6b3c22
videoio(MSMF): refactor grabFrame() / retrieveFrame() methods
...
- no behavior changes in grabFrame()
- added Lock2D() support into retrieveFrame()
7 years ago
Alexander Alekhin
277e9279cc
videoio(gstreamer): support dumping of VideoWriter pipeline
7 years ago
Alexander Alekhin
d041b0a599
videoio: fix capture modes
7 years ago
Alexander Alekhin
2628662586
videoio(ffmpeg): cleanup, remove dead code
7 years ago
Alexander Alekhin
5d68c8dbe7
videoio(test): fixup information dump
7 years ago
Alexander Alekhin
b934702c7f
cmake: support find_package(FFMPEG)
...
Use "OPENCV_FFMPEG_USE_FIND_PACKAGE" variable to specify find_package() parameters
7 years ago
Alexander Alekhin
c94fe0c7e7
videoio(v4l): eliminate global variable
7 years ago
Alexander Alekhin
83d915eca1
videoio(v4l): don't pre-scan or cache list of available cameras
7 years ago
Alexander Alekhin
22f435ff4d
videoio(v4l): fix code indentation, tabs
7 years ago
Alexander Alekhin
ddba772297
videoio: fix isOpened() method for legacy APIs, fix "index" API list
7 years ago
Alexander Alekhin
83ec0f526c
videoio(ffmpeg): add option to enable debug logs
7 years ago
Alexander Alekhin
cd9e43704e
videoio: backends priority list
7 years ago
Alexander Alekhin
5128c1ff1f
videoio(ffmpeg): specify stream->time_base
...
Using codec->time_base is deprecated to specify muxer settings.
Resolves issue with FPS value for AVI files with FFmpeg 4.0.
Related FFmpeg commits:
- 194be1f43e
- 91736025b2
7 years ago
Vitaly Tuzov
9622ca0e37
MSMF-based VideoCapture and VideoWriter backend changed to C++ interface
7 years ago
Alexander Alekhin
39b60f9b17
fix build warnings
7 years ago
Maksim Shabunin
1a15136536
GStreamer backend: fixed memory leak and version check
7 years ago
Alexander Alekhin
e21c01708a
videoio: fix lifetime management of data of input frames
7 years ago
Vitaly Tuzov
aeed43ec90
FFMPEG-based VideoCapture and VideoWriter backend changed to C++ interface
7 years ago
shengyu
70455a959d
tab to space
7 years ago
Damien Picard
ba000bf8ea
Fixes 11480 : allow to force the video codec used to read videos
...
with the ffmpeg backend
7 years ago