2017-07-03 15:08:43 +00:00
|
|
|
[package]
|
|
|
|
name = "examples"
|
2022-12-16 09:40:57 +00:00
|
|
|
version = "0.19.4"
|
2019-10-22 13:36:32 +00:00
|
|
|
license = "MIT"
|
2017-07-03 15:08:43 +00:00
|
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
2021-10-30 11:31:45 +00:00
|
|
|
edition = "2021"
|
2022-09-04 07:37:13 +00:00
|
|
|
rust-version = "1.63"
|
2017-07-03 15:08:43 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-10-24 07:54:30 +00:00
|
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16.2" }
|
2022-10-22 16:32:32 +00:00
|
|
|
gst = { package = "gstreamer", version = "0.19", path = "../gstreamer" }
|
|
|
|
gst-gl = { package = "gstreamer-gl", version = "0.19", path = "../gstreamer-gl", optional = true }
|
|
|
|
gst-gl-egl = { package = "gstreamer-gl-egl", version = "0.19", path = "../gstreamer-gl/egl", optional = true }
|
|
|
|
gst-gl-wayland = { package = "gstreamer-gl-wayland", version = "0.19", path = "../gstreamer-gl/wayland", optional = true }
|
|
|
|
gst-gl-x11 = { package = "gstreamer-gl-x11", version = "0.19", path = "../gstreamer-gl/x11", optional = true }
|
|
|
|
gst-app = { package = "gstreamer-app", version = "0.19", path = "../gstreamer-app" }
|
|
|
|
gst-audio = { package = "gstreamer-audio", version = "0.19", path = "../gstreamer-audio" }
|
|
|
|
gst-base = { package = "gstreamer-base", version = "0.19", path = "../gstreamer-base" }
|
|
|
|
gst-video = { package = "gstreamer-video", version = "0.19", path = "../gstreamer-video" }
|
|
|
|
gst-pbutils = { package = "gstreamer-pbutils", version = "0.19", path = "../gstreamer-pbutils" }
|
|
|
|
gst-play = { package = "gstreamer-play", version = "0.19", path = "../gstreamer-play", optional = true }
|
|
|
|
gst-player = { package = "gstreamer-player", version = "0.19", path = "../gstreamer-player", optional = true }
|
|
|
|
ges = { package = "gstreamer-editing-services", version = "0.19", path = "../gstreamer-editing-services", optional = true }
|
|
|
|
gst-sdp = { package = "gstreamer-sdp", version = "0.19", path = "../gstreamer-sdp", optional = true }
|
|
|
|
gst-rtsp = { package = "gstreamer-rtsp", version = "0.19", path = "../gstreamer-rtsp", optional = true }
|
|
|
|
gst-rtsp-server = { package = "gstreamer-rtsp-server", version = "0.19", path = "../gstreamer-rtsp-server", optional = true }
|
|
|
|
gst-allocators = { package = "gstreamer-allocators", version = "0.19", path = "../gstreamer-allocators", optional = true }
|
2022-10-22 16:24:54 +00:00
|
|
|
gtk = { git = "https://github.com/gtk-rs/gtk3-rs", branch = "0.16", version = "0.16", optional = true }
|
|
|
|
gdk = { git = "https://github.com/gtk-rs/gtk3-rs", branch = "0.16", version = "0.16", optional = true }
|
|
|
|
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16", optional = true }
|
2020-05-02 23:23:38 +00:00
|
|
|
anyhow = "1.0"
|
|
|
|
derive_more = "0.99.5"
|
2019-11-11 10:56:20 +00:00
|
|
|
futures = "0.3"
|
2020-10-13 09:28:19 +00:00
|
|
|
byte-slice-cast = "1"
|
2022-10-22 16:24:54 +00:00
|
|
|
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16", features=["use_glib"], optional = true }
|
|
|
|
pango = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16", optional = true }
|
|
|
|
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16", optional = true }
|
2022-08-09 11:32:09 +00:00
|
|
|
glutin = { version = "0.29", optional = true }
|
2020-01-22 17:38:13 +00:00
|
|
|
once_cell = "1.0"
|
2022-03-01 19:19:50 +00:00
|
|
|
image = { version = "0.24", optional = true }
|
|
|
|
memmap2 = { version = "0.5", optional = true }
|
2022-06-06 08:18:40 +00:00
|
|
|
memfd = { version = "0.6", optional = true }
|
2022-03-01 19:19:50 +00:00
|
|
|
uds = { version = "0.2", optional = true }
|
2018-10-18 10:25:14 +00:00
|
|
|
|
2021-07-12 10:13:34 +00:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
|
|
cocoa = "0.24"
|
|
|
|
|
2018-10-18 10:25:14 +00:00
|
|
|
[build-dependencies]
|
2019-10-04 09:09:57 +00:00
|
|
|
gl_generator = { version = "0.14", optional = true }
|
2017-08-07 14:35:57 +00:00
|
|
|
|
|
|
|
[features]
|
2019-01-16 15:06:24 +00:00
|
|
|
default = []
|
2017-08-17 15:07:48 +00:00
|
|
|
gtksink = ["gtk", "gio"]
|
2017-08-29 12:40:25 +00:00
|
|
|
gtkvideooverlay = ["gtk", "gdk", "gio"]
|
2017-08-30 14:00:28 +00:00
|
|
|
gtkvideooverlay-x11 = ["gtkvideooverlay"]
|
|
|
|
gtkvideooverlay-quartz = ["gtkvideooverlay"]
|
2020-10-10 08:10:20 +00:00
|
|
|
rtsp-server = ["gst-rtsp-server", "gst-rtsp", "gst-sdp"]
|
2020-11-22 10:55:32 +00:00
|
|
|
rtsp-server-record = ["gst-rtsp-server", "gst-rtsp", "gio"]
|
2018-08-28 08:06:01 +00:00
|
|
|
pango-cairo = ["pango", "pangocairo", "cairo-rs"]
|
2020-11-22 10:55:32 +00:00
|
|
|
overlay-composition = ["pango", "pangocairo", "cairo-rs"]
|
2020-10-10 08:10:20 +00:00
|
|
|
gl = ["gst-gl", "gl_generator", "glutin"]
|
2022-12-23 19:27:37 +00:00
|
|
|
gst-gl-x11 = ["dep:gst-gl-x11"]
|
|
|
|
gst-gl-egl = ["dep:gst-gl-egl"]
|
|
|
|
gst-gl-wayland = ["dep:gst-gl-wayland"]
|
2022-03-01 19:19:50 +00:00
|
|
|
allocators = ["gst-allocators", "memmap2", "memfd", "uds"]
|
2017-08-15 07:29:06 +00:00
|
|
|
|
2018-02-26 16:47:08 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "appsink"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "appsrc"
|
|
|
|
|
2020-05-27 12:41:02 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "custom_events"
|
|
|
|
|
2020-06-04 09:07:05 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "custom_meta"
|
|
|
|
|
2018-02-26 16:47:08 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "decodebin"
|
|
|
|
|
2020-08-19 13:15:36 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "debug_ringbuffer"
|
|
|
|
|
2018-04-23 04:24:18 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "encodebin"
|
|
|
|
|
2018-02-26 16:47:08 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "events"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "gtksink"
|
|
|
|
required-features = ["gtksink"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "gtkvideooverlay"
|
|
|
|
required-features = ["gtkvideooverlay"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "iterator"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "launch_glib_main"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "launch"
|
|
|
|
|
2018-11-05 11:50:10 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "transmux"
|
|
|
|
|
2018-02-26 16:47:08 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "pad_probes"
|
|
|
|
|
2022-05-15 22:48:58 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "play"
|
|
|
|
required-features = ["gst-play"]
|
|
|
|
|
2018-02-26 16:47:08 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "playbin"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "player"
|
|
|
|
required-features = ["gst-player"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "queries"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "rtpfecclient"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "rtpfecserver"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "rtsp-server"
|
2020-10-10 08:10:20 +00:00
|
|
|
required-features = ["rtsp-server"]
|
2018-02-26 16:47:08 +00:00
|
|
|
|
2020-02-23 08:26:28 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "rtsp-server-subclass"
|
2020-10-10 08:10:20 +00:00
|
|
|
required-features = ["rtsp-server"]
|
2020-02-23 08:26:28 +00:00
|
|
|
|
2018-02-26 16:47:08 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "tagsetter"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "toc"
|
|
|
|
|
|
|
|
[[bin]]
|
2018-04-23 17:27:51 +00:00
|
|
|
name = "futures"
|
2018-02-23 02:33:37 +00:00
|
|
|
|
2018-04-23 17:31:27 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "glib-futures"
|
|
|
|
|
2018-02-23 02:33:37 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "rtsp-server-record"
|
2020-10-10 08:10:20 +00:00
|
|
|
required-features = ["rtsp-server-record"]
|
2018-08-18 07:10:53 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "discoverer"
|
2018-08-28 08:06:01 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "pango-cairo"
|
|
|
|
required-features = ["pango-cairo"]
|
2018-10-31 16:10:30 +00:00
|
|
|
|
2020-05-28 04:37:23 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "overlay-composition"
|
|
|
|
required-features = ["overlay-composition"]
|
|
|
|
|
2018-10-31 16:10:30 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "ges"
|
|
|
|
required-features = ["ges"]
|
2018-10-18 10:25:14 +00:00
|
|
|
|
|
|
|
[[bin]]
|
2021-04-16 09:17:29 +00:00
|
|
|
name = "glwindow"
|
2018-10-18 10:25:14 +00:00
|
|
|
required-features = ["gl"]
|
2019-10-30 15:07:23 +00:00
|
|
|
|
2021-04-16 18:47:42 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "glfilter"
|
|
|
|
required-features = ["gl"]
|
|
|
|
|
2019-10-30 15:07:23 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "subclass"
|
2020-05-27 18:47:42 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "video_converter"
|
2020-08-02 21:21:21 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "thumbnail"
|
|
|
|
required-features = ["image"]
|
2022-03-01 19:19:50 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "fd_allocator"
|
2022-03-22 16:59:51 +00:00
|
|
|
required-features = ["allocators"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "cairo_compositor"
|
|
|
|
required-features = ["cairo-rs", "gst-video/v1_18"]
|