Alexander Alekhin
84db82a329
build: fix warnings
7 years ago
Maksim Shabunin
5309832308
VideoIO: prettier test console output, gstreamer capture backend changed to C++ interface
7 years ago
Simon Que
705464258e
Merge pull request #11353 from eecsninja:3.4
...
* Fix CV_Asserts with negation of strings
{!"string"} causes some compilers to throw a warning.
The value of the string is not that important -- it's only for printing
the assertion message.
Replace these calls with:
CV_Error(Error::StsError, "string")
to suppress the warning.
* remove unnecessary 'break' after CV_Error()
7 years ago
Alexander Alekhin
8f0669c300
videoio: apply CV_OVERRIDE/CV_FINAL
7 years ago
luz.paz
d05714995c
Misc. modules/ cont. pt2
...
Found via `codespell`
7 years ago
Maksim Shabunin
6f48dc2482
Fixed GStreamer pipeline building on Ubuntu 17
7 years ago
Alexander Alekhin
b1b2528e50
videoio: improve condition for MJPEG gstreamer sink
7 years ago
Emanuele Ruffaldi
588ca5d126
videoio for mingw32: added STRSAFE_NO_DEPRECATE and realpath
7 years ago
Satoshi Tanaka
96a3c7954d
Merge pull request #8914 from stnk20:gstreamer_yuv
...
Add gstreamer capture capability for some YUV formats (#8914 )
* Add gstreamer capture capability for some YUV formats.(only for gstreamer-1.0)
* avoid cross initialization error
* add checking if pipeline is manualpipeline, for compatibility.
7 years ago
Alexander Alekhin
cc862e996e
videoio: fixes for GStreamer support
...
- emulated frame counter (with autodetection of GStreamer broken behavior)
- skip 'seek' tests if seeking is not supported by backend
- update 'fps' and total frames checks (increase error tolerance)
- update synthetic image generation
8 years ago
StevenPuttemans
88c0d64b4e
fixing gstreamer cap
9 years ago
Andreas Franek
1b3a967223
Enable directly writing jpeg-encoded streams with GStreamer
...
CvVideoWriter_GStreamer assumes a JPEG encoded stream if the height of
the given frame size is 1.
9 years ago
Pavel Rojtberg
9dc14b3efc
cap_gst: inspect sink instead of videoconvert to find out properties
...
videoconvert might not be present on a manual pipeline, but appsink must
be.
9 years ago
Dan
da189ce1e0
Fixed regression in cv::VideoCapture with gstreamer back end that prevented viewing of rtsp streams.
9 years ago
Pavel Rojtberg
ff77f4d9ef
GStreamer: allow reading raw MJPEG data
9 years ago
Péter Trombitás
410eb30c26
Fix for #6192 (Mismatching delete)
9 years ago
Dan
46ec9c386b
Gstreamer 1.0 on windows.
9 years ago
Alexander Stohr
7e3d7677ae
not only print file-not-found as a warning but also print the name of the problematic file and the uri used for the open attempt
9 years ago
Pavel Rojtberg
345cd1242f
do not leak GstMapInfo
...
it is new'ed but never deleted. However it does not need to be global or
heap allocated in the first place.
9 years ago
Dikay900
7ca0557b40
typos in comments
10 years ago
Nils Plath
ee55e4595c
- Fixed compile error that appeared with Clang 5.1 on Mac 10.8.5:
...
modules/videoio/src/cap_gstreamer.cpp:577:31: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
filename = "v4lsrc ! "COLOR_ELEM" ! appsink";
^
modules/videoio/src/cap_gstreamer.cpp:585:32: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
filename = "v4l2src ! "COLOR_ELEM" ! appsink";
10 years ago
Artur Wieczorek
854a722c70
Implement VideoCapture::get, CvCapture::getProperty, IVideoCapture::getProperty as constant methods.
10 years ago
Alexander Smorkalov
15251056ba
Fixed compatibility with GStreamer 1.x
10 years ago
Alexander Smorkalov
cc6e6aa028
Fixed query of basic VideoCapture properties. Added tests for them.
10 years ago
Alexander Smorkalov
0518455163
More accurate selection of color space conversion element for GStreamer 1.x
10 years ago
Alexander Smorkalov
aa57634213
Fixed compatibility with GStreamer 1.x.
10 years ago
Alexander Smorkalov
a419b64347
Fixed GStreamer encoding pipeline frame drop for most cases.
...
For several muxers and encoders GStreamer still drops the last frame.
10 years ago
Alexander Smorkalov
38887e6ea9
Code review fixes.
10 years ago
Alexander Smorkalov
3ea8be7292
Several fixes for GStreamer support in OpenCV
...
- Accurate ASYC task handling for both GStreamer generations.
- Correct video duration request for videos.
- More accurate pipeline destruction.
- Correct color space conversion plugin for GStreamer 1.0.
10 years ago
Sander Mathijs van Veen
facb2f9a81
Reset class members to NULL after gst_*_unref()
11 years ago
Sander Mathijs van Veen
f8442da945
Initialize all pointers of CvCapture_GStreamer correctly
11 years ago
vbystricky
d58f736935
Split highgui module to videoio and highgui
11 years ago
Luis Zarrabeitia
bb5a22c504
highgui: fix segfault on CvCapture_GStreamer::retrieveFrame
...
CvCapture_GStreamer::retrieveFrame assumes that RGB videos are 24BPP.
This is not necesarily the case, unless we explicitly tell GStreamer
that we want 24BPP RGB streams.
Adding bpp=(int)24 to the appsink caps.
11 years ago
Roman Donchenko
1817a07a5e
Fixed a -Wnull-conversion Clang warning in cap_gstreamer.cpp.
11 years ago
Dirk Van Haerenborgh
30f7f9717f
allow for arbitraty number of sources and sinks
12 years ago
Dirk Van Haerenborgh
6d66d11046
gstreamer: cleaning up resources
12 years ago
Andrey Kamaev
3890a74565
Drop outdated definitions from internal.hpp
...
This also fixes few clang build errors
12 years ago
Andrey Kamaev
6377922716
Fix build with gstreamer 0.10.28
12 years ago
Dirk Van Haerenborgh
921675c4e2
eliminated warnings
12 years ago
Dirk Van Haerenborgh
4f3453dbbf
bomb commit of gstreamer videocapture and videowriter
12 years ago
Alexander Smorkalov
82e325cbfa
Patch #2721 More FourCC for gstreamer applied.
12 years ago
Éric Piel
7701fa7a63
highgui: fix segfault on CvCapture_GStreamer::open
...
when compiled with GStreamer, open (of a file) segfaults.
Fix was suggested by Bostjan Vesnicer.
12 years ago
Ilya Lavrenov
4abf0b3193
thread-safe VideoWriter and VideoCapture
12 years ago
Andrey Kamaev
bcd0aefbca
Fix gcc build errors and warnings
12 years ago
Marina Kolpakova
3def843652
merged the trunk r8719:8731 and 8807
13 years ago
Andrey Kamaev
5e0160d711
Fixed few warnings on Linux
13 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Andrey Kamaev
f2d3b9b4a1
Warning fixes continued
13 years ago
Nils Hasler
39b79b1261
change state of pipeline to NULL before freeing.
14 years ago
Nils Hasler
3b9138c4a0
fixed jump over initialisation bug.
14 years ago