CaptureSession QML Type
오디오 및 비디오 콘텐츠의 캡처를 허용합니다. 더 보기...
Import Statement: | import QtMultimedia |
In C++: | QMediaCaptureSession |
속성
- audioInput : AudioInput
- audioOutput : AudioOutput
- camera : Camera
- imageCapture : ImageCapture
- recorder : MediaRecorder
- screenCapture : ScreenCapture
(since 6.5)
- videoOutput : VideoOutput
- windowCapture : WindowCapture
(since 6.6)
신호
- audioInputChanged()
- audioOutputChanged()
- cameraChanged()
- imageCaptureChanged()
- recorderChanged()
- videoOutputChanged()
상세 설명
로컬 디바이스에서 미디어 캡처를 관리하는 중앙 유형입니다.
카메라 및 AudioInput 객체를 관련 프로퍼티에 할당하여 카메라와 마이크를 CaptureSession에 연결합니다.
ScreenCapture 객체를 screenCapture 속성에 연결하여 화면을 캡처합니다.
WindowCapture 객체를 windowCapture 속성에 연결하여 창을 캡처합니다.
videoOutput 속성에 VideoOutput 요소를 할당하여 캡처한 미디어의 미리 보기를 활성화합니다.
AudioOutput 개체를 audioOutput 속성에 할당하여 오디오를 출력 장치로 라우팅합니다.
imageCapture 속성에 ImageCapture 을 할당하여 카메라에서 정지 이미지를 캡처합니다.
MediaRecorder 을 레코더 속성에 할당하여 오디오/비디오를 녹화합니다.
CaptureSession { id: captureSession camera: Camera { id: camera } imageCapture: ImageCapture { id: imageCapture } recorder: MediaRecorder { id: recorder } videoOutput: preview }
Camera, MediaDevices, MediaRecorder, ImageCapture, ScreenCapture, WindowCapture, AudioInput, VideoOutput 를참조하세요 .
속성 문서
audioInput : AudioInput |
이 속성에는 오디오를 캡처하는 데 사용되는 오디오 입력이 저장됩니다.
audioOutput : AudioOutput |
캡처 세션의 오디오 출력 장치입니다.
AudioInput 장치에서 오디오 라우팅을 사용하려면 캡처 세션에 AudioOutput 장치를 추가합니다.
camera : Camera |
동영상 캡처에 사용되는 카메라입니다.
이 속성을 사용하여 캡처 세션에 카메라를 추가하여 비디오를 녹화하거나 이미지를 촬영합니다.
imageCapture : ImageCapture |
정지 이미지를 캡처하는 데 사용되는 객체입니다.
캡처 세션에 ImageCapture 인터페이스를 추가하여 카메라에서 정지 이미지를 캡처할 수 있도록 합니다.
recorder : MediaRecorder |
오디오/비디오를 캡처하는 데 사용되는 레코더 객체입니다.
캡처 세션에서 오디오 및/또는 비디오를 녹화할 수 있도록 캡처 세션에 MediaRcorder 객체를 추가합니다.
screenCapture : ScreenCapture |
화면을 캡처하는 데 사용되는 객체입니다.
이 속성을 사용하여 캡처 세션에 화면 캡처 객체를 추가하여 화면을 녹화합니다.
이 속성은 Qt 6.5에 도입되었습니다.
videoOutput : VideoOutput |
캡처 세션의 비디오 미리보기인 VideoOutput.
VideoOutput 기반 미리보기에는 QVideoSink 을 반환하는 호출 가능한 videoSink() 메서드가 있을 것으로 예상됩니다.
이전에 설정된 미리보기는 분리됩니다.
windowCapture : WindowCapture |
창을 캡처하는 데 사용되는 객체입니다.
이 속성을 사용하여 창 캡처 객체를 캡처 세션에 추가하여 창을 녹화합니다.
이 프로퍼티는 Qt 6.6에 도입되었습니다.
신호 문서
audioInputChanged() |
이 신호는 오디오 입력이 변경되었을 때 발생합니다.
참고: 해당 핸들러는 onAudioInputChanged
입니다.
CaptureSession::audioInput 를참조하세요 .
audioOutputChanged() |
이 신호는 선택한 오디오 출력이 변경되었을 때 발생합니다.
참고: 해당 핸들러는 onAudioOutputChanged
입니다.
CaptureSession::audioOutput도 참조 하세요.
cameraChanged() |
imageCaptureChanged() |
이 신호는 선택한 인터페이스가 변경되었을 때 발생합니다.
참고: 해당 핸들러는 onImageCaptureChanged
입니다.
CaptureSession::camera도 참조하세요 .
recorderChanged() |
videoOutputChanged() |
선택한 비디오 출력이 변경되었을 때 이 신호가 전송됩니다.
참고: 해당 핸들러는 onVideoOutputChanged
입니다.
CaptureSession::videoOutput도 참조 하세요.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.