[Bug 752867] New: avfvideosrc: external session
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Jul 25 10:38:59 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=752867
Bug ID: 752867
Summary: avfvideosrc: external session
Classification: Platform
Product: GStreamer
Version: unspecified
OS: Mac OS
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: ilya.konstantinov at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I've implemented a 'session' property which allows both:
- getting the internal AVCaptureSession used by avfvideosrc
- giving avfvideosrc an external (already inited) AVCaptureSession; in such
case, it avoids configuration, startRunning and stopRunning, assuming it'll be
done externally
See my commit (which I'm dogfooding on iOS and OS X for the past 2 months):
https://github.com/ikonst/gst-plugins-bad/commit/dfd399ae3c33756434ff5708d73b5585b71cc79c
It's useful for attaching additional AVCaptureOutputs to the session,
externally to GStreamer.
One thing it's essential for, is to use AVCaptureVideoPreviewLayer, which is a
high performance video primitive on OS X and iOS which can display a preview of
the video input. It's a standard UI element, whose composition is performed by
the system (out of process) and has better performance than any other option.
An alternative to support AVVideoCapturePreviewLayer specifically, which could
be also nice, is to add a "preview-layer" property, accepting an
AVVideoCapturePreviewLayer whose 'session' property will be set once we
initialize the session.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list