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
Nils Hasler
91d813bc89
If a pipeline is specified manually, this has to be done in full now, ending with appsink. For example:
...
"uridecodebin uri=file:///path/to/some/video.avi ! ffmpegcolorspace ! appsink"
14 years ago
Nils Hasler
80da1d408b
removed private copy of gstappsink because appsink is now part of gstreamer base.
14 years ago
Nils Hasler
ee0c16e43e
* added property CV_CAP_GSTREAMER_QUEUE_LENGTH
...
* removed unnecessary memcpy
* fixed minor memory leak
14 years ago
Nils Hasler
56b206dc7b
When opening a file with GStreamer:
...
* if the filename looks like a URI, it is opened in non-blocking mode, cvQueryFrame() could skip frames or grab one frame more than once
* if the filename looks like a filename, it is opened in blocking mode. cvQueryFrame() grabs consecutive frames
* otherwise the filename is interpreted as a gstreamer pipeline as used with gst-launch. The last element of the pipeline has to have the property name=to-opencv
14 years ago
Stefano Fabri
686737e24f
Add support for monocrome cmos ccd
...
Adapted mtu and packed size
Some minor fixes in gstreamer because not implemented support of v4l v4l2 in the wrapper
default beahvior must be v4l v4l2 or libv4l backends
15 years ago
Vadim Pisarevsky
127d6649a1
"atomic bomb" commit. Reorganized OpenCV directory structure
15 years ago