Alexander Smorkalov
cbda161c39
Fixed FPS computation on some videos for FFmpeg backend.
2 years ago
Christoph Rackwitz
a64b51dd94
Merge pull request #23108 from crackwitz:issue-23107
...
Usage of imread(): magic number 0, unchecked result
* docs: rewrite 0/1 to IMREAD_GRAYSCALE/IMREAD_COLOR in imread()
* samples, apps: rewrite 0/1 to IMREAD_GRAYSCALE/IMREAD_COLOR in imread()
* tests: rewrite 0/1 to IMREAD_GRAYSCALE/IMREAD_COLOR in imread()
* doc/py_tutorials: check imread() result
2 years ago
Vadim Levin
727feda935
fix: AVFoundation inconsistent camera indices
2 years ago
Henrik Dobbe Flemmen
6481cfd048
Update the fourcc codes link
2 years ago
Jochen Sprickerhof
496eed950f
Add missing header for LIBAVCODEC_VERSION_INT
2 years ago
dan
2366f2cb2e
issues-22126
2 years ago
Yulv-git
15ac54d5d6
Fix some typos in modules/.
3 years ago
Alexander Alekhin
1b3a06a02a
videoio(ffmpeg): avoid memory leaks
3 years ago
Alexander Alekhin
05dbaf7672
videoio(msmf): use info message in SourceReaderCB destructor
3 years ago
Alexander Alekhin
a22dd28e02
videoio: fix ffmpeg standalone build
3 years ago
Alexander Alekhin
7620456486
videoio(MSMF): add queue for async ReadSample()
3 years ago
yuki takehara
a6277370ca
Merge pull request #21107 from take1014:remove_assert_21038
...
resolves #21038
* remove C assert
* revert C header
* fix several points in review
* fix test_ds.cpp
3 years ago
Alexander Alekhin
473f10877c
doc(videoio): fix apiPreference note, replace DSHOW(deprecated)->MSMF
3 years ago
Alexander Alekhin
b3e16c6423
videoio(dshow): eliminate build warnings from MSVC-Clang
3 years ago
Michel Promonet
9a9e457dd6
Allow to set av_log_set_level to reduce ffmpeg level below AV_LOG_ERROR
3 years ago
Jonas Vautherin
9537a909f7
Merge pull request #20801 from JonasVautherin:fix-gst-error-handling
...
* Fix gst error handling
* Use the return value instead of the error, which gives no guarantee of being NULL in case of error
* Test err pointer before accessing it
* Remove unreachable code
* videoio(gstreamer): restore check in writer code
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years ago
Jonas Vautherin
de5b6386e0
Fix gst_initializer
...
Use the return value of gst_init_check instead of testing the error pointer
3 years ago
Iyad Ahmed
4300bb2e1f
Merge pull request #20541 from iyadahmed:video_capture_timeout_prop
...
* VideoCapture timeout set/get
* Common formatting for enum values
* Fix enum values wrongly in videoio.hpp
* Define timeout enum values in public api and align with master
3 years ago
kikaxa
926535469d
fix videoio/src/container_avi.cpp VideoInputStream alignment
3 years ago
Kai Stüdemann
636db09d73
videoio(dshow) fix incompatible media type left set on video device
4 years ago
Kai Stüdemann
64c018507b
videoio(dshow) fix memory leak
4 years ago
Alexander Alekhin
d7cb2ea210
videoio(dshow): add NULL ptr check
4 years ago
Alexander Alekhin
4ae2c11520
videoio(build): eliminate inconsistent 'override' warnings
4 years ago
Alexander Alekhin
b697b3162f
videoio(mjpeg): disable parallel encoder
4 years ago
Alexander Alekhin
40c0830b63
videoio(avfoundation): add getCaptureDomain()
4 years ago
Alexander Alekhin
85009800b3
videoio(docs): fixes
4 years ago
Alexander Alekhin
1c88e1fd19
Merge pull request #19661 from alalek:ffmpeg_fixes_3.4
...
* videoio(ffmpeg): eliminate MSVC build warnings
* videoio(ffmpeg): update initialization code
- repair FFmpeg logger settings on each .open() call
4 years ago
Maksim Shabunin
b2321576bc
Fixed several issues found by static analysis
4 years ago
Alexander Alekhin
d2d6eba16a
cmake: fix add_apple_compiler_options() calls and OBJCXX handling
4 years ago
Maksim Shabunin
f65d75f5c8
Updated more links to forum.opencv.org
4 years ago
Alexander Alekhin
48d9031efb
videoio(test): add FFmpeg backend check
...
- configure through OPENCV_TEST_VIDEOIO_BACKEND_REQUIRE_FFMPEG environment variable
4 years ago
Maksim Shabunin
55a2bcbe15
videoio: turn off syncronized sink in GStreamer
4 years ago
Alexander Alekhin
962f5c9b82
videoio(test): skip GStreamer in 'frame_timestamp' tests
...
- CAP_PROP_POS_MSEC is not reliable
4 years ago
Jaime Rivera
2fa624aef0
Add Timestamps to MSMF Video Capture by index
...
Enable frame timestamp tests for MSMF
Add functional test for camera live timestamps
Remove trailing whitespace
Add timestamp test to all functional tests. Protect div by 0
Add Timestamps to MSMF Video Capture by index
4 years ago
Alexander Smorkalov
24fac5f56d
Added test for VideoCapture CAP_PROP_FRAME_MSEC option.
...
- Suppressed FFMPEG + h264, h265 as it does not pass tests with CI configuration.
- Suppressed MediaFoundation backend as it always returns zero for now.
4 years ago
Alexander Alekhin
0800f6f91b
videoio: add missing getCaptureDomain() methods
4 years ago
Maksim Shabunin
21a8d9569d
videoio: added frameSize to MFX capture
4 years ago
Alexander Alekhin
f2bb3d0d80
videoio(dc1394_v2): ensure variable initialization
4 years ago
Takehiro Kajihara
8c44b8306b
Fix typo in videoio doc
4 years ago
Alexander Alekhin
f6795d75a6
videoio: repair build of FFmpeg windows wrapper
4 years ago
Vadim Levin
f7e524cbe6
fix: libavcodec version check for AVDISCARD_NONINTRA
...
- AVDISCARD_NONINTRA flag is supported only for FFMPEG libraries pack
4 years ago
Vadim Levin
e503ac508e
fix: libavcodec version check for AV_CODEC_FLAG_GLOBAL_HEADER
4 years ago
Tomoaki Teshima
cc769ff19d
fix build error on odroid-n2-plus
4 years ago
Alexander Smorkalov
7ed37b3fa5
MP4 autorotation tests and various fixes for Windows
...
- Added test for automated rotation for MP4 videos with metadata
- Fix 180 degrees rotation bug
- Moved rotation logic to cv::VideoCapture implementation for FFmpeg and restore binary compatibility with FFmpeg wrapper.
4 years ago
Alexey Lapshin
f0271e54d9
Autorotation for mp4 streams with metadata
...
- Add VideoCapture camera orientation property for mp4 videos with camera orientation meta.
- Add auto rotation for 90, 180, 270 degrees using cv::rotate
4 years ago
jasonKercher
749bd80091
Merge pull request #17770 from jasonKercher:3.4_triggered
...
3.4 Allow first capture to return false
* fix first capture timeout
* fix first capture timeout
4 years ago
Fernando Martin
cb0f74ab9f
Merge pull request #17473 from f3rm4rf3r:fixingFourCCDocBrokenLink
...
* - Fixing broken URL to mp4ra website
* - Fixing broken URL to mp4ra website (in C videoio API)
5 years ago
Alexander Alekhin
f1dd5e49c5
videoio(ffmpeg): fix handling of AVERROR_EOF
...
decoder should be properly flushed after that
5 years ago
Maksim Shabunin
2d11edd103
videoio/MSMF: fixed audio stream handling
5 years ago
Alexander Alekhin
98611adeb9
build: fix warnings about TARGET_OS_MACCATALYST
5 years ago