Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
4f3453db
Commit
4f3453db
authored
Mar 21, 2013
by
Dirk Van Haerenborgh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bomb commit of gstreamer videocapture and videowriter
parent
0990b42e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
11 deletions
+43
-11
CMakeLists.txt
CMakeLists.txt
+7
-4
OpenCVFindLibsVideo.cmake
cmake/OpenCVFindLibsVideo.cmake
+36
-7
cap_gstreamer.cpp
modules/highgui/src/cap_gstreamer.cpp
+0
-0
No files found.
CMakeLists.txt
View file @
4f3453db
...
...
@@ -120,6 +120,7 @@ OCV_OPTION(WITH_NVCUVID "Include NVidia Video Decoding library support"
OCV_OPTION
(
WITH_EIGEN
"Include Eigen2/Eigen3 support"
ON
)
OCV_OPTION
(
WITH_FFMPEG
"Include FFMPEG support"
ON
IF
(
NOT ANDROID AND NOT IOS
))
OCV_OPTION
(
WITH_GSTREAMER
"Include Gstreamer support"
ON
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_GSTREAMER_1_X
"Include Gstreamer 1.x support"
OFF
)
OCV_OPTION
(
WITH_GTK
"Include GTK support"
ON
IF
(
UNIX AND NOT APPLE AND NOT ANDROID
)
)
OCV_OPTION
(
WITH_IPP
"Include Intel IPP support"
OFF
IF
(
MSVC OR X86 OR X86_64
)
)
OCV_OPTION
(
WITH_JASPER
"Include JPEG2K support"
ON
IF
(
NOT IOS
)
)
...
...
@@ -707,10 +708,12 @@ endif(DEFINED WITH_FFMPEG)
if
(
DEFINED WITH_GSTREAMER
)
status
(
" GStreamer:"
HAVE_GSTREAMER THEN
""
ELSE NO
)
if
(
HAVE_GSTREAMER
)
status
(
" base:"
"YES (ver
${
ALIASOF_gstreamer-base-0.10_VERSION
}
)"
)
status
(
" app:"
"YES (ver
${
ALIASOF_gstreamer-app-0.10_VERSION
}
)"
)
status
(
" video:"
"YES (ver
${
ALIASOF_gstreamer-video-0.10_VERSION
}
)"
)
endif
()
status
(
" base:"
"YES (ver
${
GSTREAMER_BASE_VERSION
}
)"
)
status
(
" video:"
"YES (ver
${
GSTREAMER_VIDEO_VERSION
}
)"
)
status
(
" app:"
"YES (ver
${
GSTREAMER_APP_VERSION
}
)"
)
status
(
" riff:"
"YES (ver
${
GSTREAMER_RIFF_VERSION
}
)"
)
status
(
" pbutils:"
"YES (ver
${
GSTREAMER_PBUTILS_VERSION
}
)"
)
endif
(
HAVE_GSTREAMER
)
endif
(
DEFINED WITH_GSTREAMER
)
if
(
DEFINED WITH_OPENNI
)
...
...
cmake/OpenCVFindLibsVideo.cmake
View file @
4f3453db
...
...
@@ -4,15 +4,44 @@
# --- GStreamer ---
ocv_clear_vars
(
HAVE_GSTREAMER
)
if
(
WITH_GSTREAMER
)
CHECK_MODULE
(
gstreamer-base-0.10 HAVE_GSTREAMER
)
if
(
HAVE_GSTREAMER
)
CHECK_MODULE
(
gstreamer-app-0.10 HAVE_GSTREAMER
)
# try to find gstreamer 0.10 first
if
(
WITH_GSTREAMER AND NOT WITH_GSTREAMER_1_X
)
CHECK_MODULE
(
gstreamer-base-0.10 HAVE_GSTREAMER_BASE
)
CHECK_MODULE
(
gstreamer-video-0.10 HAVE_GSTREAMER_VIDEO
)
CHECK_MODULE
(
gstreamer-app-0.10 HAVE_GSTREAMER_APP
)
CHECK_MODULE
(
gstreamer-riff-0.10 HAVE_GSTREAMER_RIFF
)
CHECK_MODULE
(
gstreamer-pbutils-0.10 HAVE_GSTREAMER_PBUTILS
)
if
(
HAVE_GSTREAMER_BASE AND HAVE_GSTREAMER_VIDEO AND HAVE_GSTREAMER_APP AND HAVE_GSTREAMER_RIFF AND HAVE_GSTREAMER_PBUTILS
)
set
(
HAVE_GSTREAMER TRUE
)
set
(
GSTREAMER_BASE_VERSION
${
ALIASOF_gstreamer-base-0.10_VERSION
}
)
set
(
GSTREAMER_VIDEO_VERSION
${
ALIASOF_gstreamer-video-0.10_VERSION
}
)
set
(
GSTREAMER_APP_VERSION
${
ALIASOF_gstreamer-app-0.10_VERSION
}
)
set
(
GSTREAMER_RIFF_VERSION
${
ALIASOF_gstreamer-riff-0.10_VERSION
}
)
set
(
GSTREAMER_PBUTILS_VERSION
${
ALIASOF_gstreamer-pbutils-0.10_VERSION
}
)
endif
()
if
(
HAVE_GSTREAMER
)
CHECK_MODULE
(
gstreamer-video-0.10 HAVE_GSTREAMER
)
endif
(
WITH_GSTREAMER AND NOT WITH_GSTREAMER_1_X
)
# if gstreamer 0.10 was not found, or we specified we wanted 1.x, try to find it
if
(
WITH_GSTREAMER_1_X OR NOT HAVE_GSTREAMER
)
#check for 1.x
CHECK_MODULE
(
gstreamer-base-1.0 HAVE_GSTREAMER_BASE
)
CHECK_MODULE
(
gstreamer-video-1.0 HAVE_GSTREAMER_VIDEO
)
CHECK_MODULE
(
gstreamer-app-1.0 HAVE_GSTREAMER_APP
)
CHECK_MODULE
(
gstreamer-riff-1.0 HAVE_GSTREAMER_RIFF
)
CHECK_MODULE
(
gstreamer-pbutils-1.0 HAVE_GSTREAMER_PBUTILS
)
if
(
HAVE_GSTREAMER_BASE AND HAVE_GSTREAMER_VIDEO AND HAVE_GSTREAMER_APP AND HAVE_GSTREAMER_RIFF AND HAVE_GSTREAMER_PBUTILS
)
set
(
HAVE_GSTREAMER TRUE
)
set
(
GSTREAMER_BASE_VERSION
${
ALIASOF_gstreamer-base-1.0_VERSION
}
)
set
(
GSTREAMER_VIDEO_VERSION
${
ALIASOF_gstreamer-video-1.0_VERSION
}
)
set
(
GSTREAMER_APP_VERSION
${
ALIASOF_gstreamer-app-1.0_VERSION
}
)
set
(
GSTREAMER_RIFF_VERSION
${
ALIASOF_gstreamer-riff-1.0_VERSION
}
)
set
(
GSTREAMER_PBUTILS_VERSION
${
ALIASOF_gstreamer-pbutils-1.0_VERSION
}
)
endif
()
endif
(
WITH_GSTREAMER
)
endif
(
WITH_GSTREAMER_1_X OR NOT HAVE_GSTREAMER
)
# --- unicap ---
ocv_clear_vars
(
HAVE_UNICAP
)
...
...
modules/highgui/src/cap_gstreamer.cpp
View file @
4f3453db
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment