Michael Niedermayer
584fff9478
avdevice: Fix max value of AV_OPT_TYPE_VIDEO_RATE
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Rick Kern
f1560dbb2a
lavd/avfoundation: use AVCodecParameters
...
Fixes "Could not find codec parameters for stream" error (#5494 )
Signed-off-by: Rick Kern <kernrj@gmail.com>
9 years ago
Michael Niedermayer
63167a6ba3
avdevice/avfoundation: Fix occured typo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Matthieu Bouron
cf16b459a8
libavdevice/avfoundation: use pts/dts provided by the CMSampleBuffer API
...
Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Matthieu Bouron
021b023751
libavdevice/avfoundation: add capture_mouse_clicks option
...
Support mouse clicks capture while recording a screen on OSX >= 10.7.
Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Matthieu Bouron
c908cae74c
libavdevice/avfoundation: add capture_cursor option
...
Add support for cursor capturing while recording a screen for OSX >=
10.8.
Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Matthieu Bouron
573a77a1b6
libavdevice/avfoundation: add framerate and video size options
...
Support framerate ands video size options on AVCaptureDevices for
OSX >= 10.7 and iOS >= 7.0.
For screen captures, only the framerate option is taken into account.
Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Carl Eugen Hoyos
88bf16895a
lavd/avfoundation: Silence warnings when compiling for iOS.
...
Reviewed-by: Thilo Borgmann
10 years ago
Carl Eugen Hoyos
87b3c6e28b
lavd/avfoundation: Silence c99 warnings when using gcc.
...
Reviewed-by: Thilo Borgmann
10 years ago
John Robinson
98d19ca8f1
lavd/avfoundation: Add support for 24 and 32bit integer input.
...
Tested on Mac Mini soundflower and built-in line input.
Reviewed-by: Thilo Borgmann
10 years ago
Carl Eugen Hoyos
23e483269d
lavd/avfoundation: Add support for 16bit integer input.
...
Reviewed-by: Thilo Borgmann
10 years ago
Thilo Borgmann
2045334239
lavd/avfoundation: Introduce device alias 'none' to allow the user to record only audio or video.
...
Changes the selection of a default device to none instead of the system default device.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Carl Eugen Hoyos
0ea54d698b
lavd/avfoundation: Remove unused -frame_rate option.
10 years ago
Thilo Borgmann
48c29883fc
lavd/avfoundation: Use internal av_strtok instead of std lib strtok
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Thilo Borgmann
ed2e97ce6a
lavd/avfoundation: Fix compilation for non MAC OS devices by conditional compilation of screen capture capabilities.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Thilo Borgmann
a6555f88aa
lavd/avfoundation: Add support for screen capturing.
...
Patch based on pull-request by Joseph Benden <joe@benden.us>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Thilo Borgmann
dd16a0d8cc
lavd/avfoundation: Add basic PCM audio support.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Thilo Borgmann
f2254e36c0
lavd/avfoundation: Use microseconds as common timebase.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Thilo Borgmann
1ea7a3e04e
lavd/avfoundation: Simplify debug message generation.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Thilo Borgmann
92827e1869
lavd/avfoundation: Using the actual stream index instead of hardcoded value.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Thilo Borgmann
a69c70e148
lavd/avfoundation: Split adding a device and getting the device configuration into separate functions.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Thilo Borgmann
86b7821e29
lavd/avfoundation: Add device category.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Hanspeter Niederstrasser
04980dbee8
avdevice/avfoundation: kCVPixelFormatType_OneComponent8 only exists from 10.8 onward
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
sfan5
ffe6ecc418
lavd/avfoundation: Support user selected pixel formats and pixel format autoselection.
...
Signed-off-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Thilo Borgmann
d2417061ef
Add AVFoundation input device.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago