Vadim Levin
09fe66e87f
Merge pull request #16713 from VadimLevin:dev/vlevin/ffmpeg_video_capture_bitrate
...
* feature: Add video capture bitrate read-only property for FFMPEG backend
* test: For WIN32 property should be either expected or 0.
Added `IsOneOf` helper function, enabled only for _WIN32.
2020-03-10 16:44:22 +03:00
Maksim Shabunin
219ef95dd8
MSMF: fixed issue with camera format selection
2020-03-03 13:17:32 +03:00
firebladed
f00607c8ac
Merge pull request #16626 from firebladed:firebladed-v4l2_pix_fmt_y12
...
V4L2: Add V4L2_PIX_FMT_Y12 (12 bit grey) support
2020-02-28 21:17:30 +03:00
Maksim Shabunin
6c8f50d1f3
videoio/MSMF: refactored format handling and selection, property reading and writing
2020-02-08 00:16:41 +03:00
Alexander Alekhin
8519db8efb
Merge pull request #15464 from tallestorange:3.4
2020-02-03 12:54:03 +00:00
Vadim Pisarevsky
174022547f
fixed incorrect dump of the pixel format
2020-02-03 13:22:56 +03:00
Pierre Letessier
0853085ec6
Merge pull request #16190 from pletessier:videocapture_skip_frames
...
Videocapture skip frames
* enable skipping frames
* update videoio_skip test
2020-01-26 10:19:09 +03:00
Brian Wignall
f9c514b391
Fix spelling typos
...
backport commit 659ffaddb4
2019-12-27 12:46:53 +00:00
Alexander Alekhin
501ff7f056
videoio(v4l2): use logging, update handling of EBUSY, device closing
...
- DEBUG logging compilation is enabled for all videoio backends
- eliminate output through perror(), stderr
2019-11-23 10:36:43 +00:00
Vadim Levin
373160ce00
Merge pull request #15973 from VadimLevin:dev/vlevin/video_capture_inf_loop
...
* Fix infinite loop when trying to change state of the busy camera
- Add finite number of attempts in tryIoctl functions
10 by default.
* Introduced new flag for ioctl call to handle EBUSY
2019-11-23 01:10:16 +03:00
Alexander Alekhin
3f431a16a3
videoio: fix ffmpeg wrapper build
2019-11-18 18:56:57 +00:00
cudawarped
aff8c9bd28
videoio: retrieve encoded frames through FFmpeg backend
...
- backport 15290
- add extra test case
2019-11-18 19:23:19 +03:00
Maksim Shabunin
fccf284088
Fixed relative paths handling in cap_gstreamer:
2019-11-09 11:34:30 +00:00
Elms
8b483a91bc
dshow: Add ability to save direct show graph
2019-10-01 09:46:07 -07:00
Maksim Shabunin
f10fce9ab4
AVFoundation: backported runtime authorization check from master
2019-09-13 13:20:29 +03:00
Maksim Shabunin
aaad238c6e
AVFoundation: fix authorization request not being shown
2019-09-13 13:11:35 +03:00
Yuhel Tanaka
a13862e924
Fix issue #6450
2019-09-06 11:56:04 +09:00
luz.paz
fcc7d8dd4e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
backporting of commit: ec43292e1e
2019-08-16 17:34:29 +03:00
Jake Howard
76b40a37e7
Merge pull request #15111 from RealOrangeOne:patch-1
...
* Remove unavoidable print of CV error
The return value covers whether the device exists.
This might be better hidden behind a debug flag, but I couldn't work out how to do that nicely.
* Use `CV_LOG_WARNING` macro to log rather than removing it entirely
2019-08-08 16:56:49 +03:00
Alexander Alekhin
32da0705cf
Merge pull request #15102 from dgel:force_input_format_ffmpeg
2019-08-06 20:52:57 +00:00
Douwe Gelling
96a27f4266
allow forcing the input format for ffmpeg backend with env var
2019-08-06 19:30:39 +03:00
fishjam
26ac5a3bdc
try to fix VideoCapture different time stamp
2019-08-06 19:04:22 +03:00
Victor Romero
987bb2ca61
Fix build for UWP
...
backport of commit: f18cbd036a
2019-08-05 17:19:36 +03:00
Maksim Shabunin
b231e91d87
Fix for building with old V4L
2019-08-02 11:19:49 +03:00
Alexander Alekhin
557990fdcf
Merge pull request #15104 from alalek:videoio_fix_debug_message
2019-07-21 17:56:41 +00:00
Alexander Alekhin
61f589ddd0
videoio(gstreamer): more .get() checks
2019-07-19 13:16:58 +03:00
Alexander Alekhin
228af2d617
videoio: fix debug message
2019-07-18 21:45:07 +00:00
Tomasz Gorochowik
4997a6bf06
V4L2: Add V4L2_PIX_FMT_Y10 (10 bit grey) support
2019-07-09 14:36:00 +02:00
Alexander Alekhin
07fe1cd6b8
videoio: eliminate build warnings (clang)
2019-07-03 21:57:05 +00:00
James Bowley
daa308f81c
Update obsolete flag in Intel video decoder.
...
Old flag resulted in software implementation being selected when the Intel decoder is not the primary adapter.
2019-06-26 12:32:20 +03:00
Alexander Alekhin
6b32bd5f15
Merge pull request #14834 from alalek:videoio_gstreamer_issues
2019-06-21 13:38:34 +00:00
Alexander Alekhin
8ab6efb8c0
videoio: refactor GStreamer backend
...
- exception safe smart pointers, fixed many memory leaks
- fixed errors handling
- fixed strings handling
- fixed file existence check
- fixed toFraction() implementation
- add 'drop=true' for v4l2 input
- avoid overriding custom pipelines sink's 'max-buffers' value
- updated valgrind supression rules
- added support for GStreamer native leaks tracking (via gst_deinit() call)
- repaired capturing through GStreamer0.10 (fixed CV_8UC1)
2019-06-20 17:48:18 +03:00
Alexander Alekhin
95d9cfb5c3
static analysis issues
2019-06-20 13:55:20 +03:00
Alexey Nikolaev
05563f5bc4
Merge pull request #14592 from aleksey-nikolaev:master
...
VideoCapture Direct Show. Added getter for CV_CAP_PROP_CONVERT_RGB, CAP_PROP_CHANNEL properties. (#14592 )
* Added getter for CV_CAP_PROP_CONVERT_RGB, CAP_PROP_CHANNEL properties.
Some refactoring.
* One space less.
2019-05-27 19:18:36 +03:00
Alexander Alekhin
22701f0c27
imgcodecs(CAP_IMAGES): fix handling of input pattern
2019-05-24 22:13:25 +03:00
Maksim Shabunin
9a81ff7315
Backported AVFoundation fixes from master branch
2019-05-07 13:57:44 +03:00
Alexander Alekhin
2da00161c5
Merge pull request #14446 from mshabunin:old-v4l
2019-04-30 10:41:33 +00:00
Maksim Shabunin
683acd9ae2
Support very old V4L
2019-04-29 18:14:58 +03:00
Alexander Alekhin
7621b91769
Merge pull request #14292 from alalek:issue_14291
...
* macosx: fix C++11 build
backporting commit c3cf35ab63
* macosx: eliminate build warning
2019-04-11 17:46:28 +03:00
kiwixz
c8056b3e27
Merge pull request #14276 from kiwixz:pr/fix_compound
...
Do not use compound literals (fix MSVC C4576) (#14276 )
* do not use compound literals (compat cpp98)
* only fix msvc path
* remove unnecessary cplusplus check
2019-04-11 17:44:28 +03:00
Maksim Shabunin
e4a4f93b72
Removed obsolete functions from cap_dc1394_v2.cpp
2019-03-14 12:08:16 +03:00
Josh Veitch-Michaelis
2143f7cee1
release frame after disabling convert rgb
2019-03-12 12:42:07 +00:00
Christopher N. Hesse
796b0fec7d
videoio: gst: Fix gst assertion on null msg
...
According to the gstreamer docs [1], the GstMessage pointer returned by
gst_bus_pop() is nullable, meaning NULL is a valid return value.
Previously, gst_is_missing_plugin_message would throw an assert when its
message object parameter would fail the GST_IS_MESSAGE macro check,
crashing the entire process (unless running in a try-catch block of course).
Instead of relying on valid messages, check if the message object itself is
valid before passing it to other gstreamer functions.
[1] https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBus.html#gst-bus-pop
Signed-off-by: Christopher N. Hesse <raymanfx@gmail.com>
2019-03-06 17:37:02 +01:00
Alexander Alekhin
93dab9e1e9
videoio(v4l): fix build due missing defines
...
- V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_HEIGHT
- V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_WIDTH
2019-03-04 18:46:56 +03:00
Maksim Shabunin
8c1e0537ec
Merge pull request #13889 from mshabunin:enable-narrowing-warning
...
* Enabled -Wnarrowing warning
* Fixed type narrowing issues
* Cast python constants
* Use long long for python constants
* Use int for python constants with fallback to long
* Update cv2.cpp
2019-02-26 13:15:59 +03:00
klemens
5d9c6723ee
spelling fixes
...
backport 997b7b18af
2019-02-11 15:35:10 +03:00
Maksim Shabunin
9c4eb20221
AVFoundation on Mac: fixed frame count and unsupported format handling
2019-01-24 16:15:08 +03:00
Alexander Alekhin
37a63ca02b
Merge pull request #13488 from alalek:fix_videoio_v4l2_build
2018-12-21 09:07:38 +00:00
Alexander Alekhin
8456d096d2
videoio(v4l2): fix build due missing V4L2_CID_ISO_SENSITIVITY
2018-12-20 16:28:12 +03:00
Vasiliy Sorokin
b6a72826dd
videio: Fix new frame size appling in v4l.
2018-12-20 14:59:39 +03:00