Post

Replies

Boosts

Views

Created

External thermal camera interfacing through AVcam's sample code.
I am working with the AVcam sample code example to interface external thermal camera with a USB C connector on iPad. the camera frame consists of a resolution of 1280x740 with the first 1280x720 bytes being for RGB and 160x121 bytes for the thermal data. The camera outputs in YUYV2 format. The thermal data is embedded in this frame as it is a 16 bit value. I found out that YUYV2 is not a supported video format on iOS. is there any way I can get the raw thermal data without any modification ?
0
0
24
Nov ’25
Testing "AVCam: Building a Camera App (Beta)" with external UVC camera
Hi, I am trying to use the AVCam sample app code (latest as of 19 Jul 2023 from here - https://developer.apple.com/documentation/avfoundation/capture_setup/avcam_building_a_camera_app) Test setup: iPad Pro 11" 4 Gen running iPadOS 17 (public beta). Xcode 15 beta 4 to use the iPad as the run destination (wireless mode). An external USB webcam is connected to the iPad during the test. This camera is working when I test using the FaceTime app. I am able to build and run the app on the iPad, however I get the following error when the external camera is selected for video capture. Capture session runtime error: related decl 'e' for AVError(_nsError: Error Domain=AVFoundationErrorDomain Code=-11819 "Cannot Complete Action" UserInfo={NSLocalizedDescription=Cannot Complete Action, NSLocalizedRecoverySuggestion=Try again later.}) Error Code = AVError(rawValue: -11819) From the code the error points to "mediaServicesWereReset" error. I am unable to figure out what is the cause of this error. Can someone help regarding this? Thanks!
1
0
1.4k
Jul ’23
WWDC2023 "Support external cameras in your iPadOS app" presentation sample code
Hi, I saw a presentation / demonstration of AVCam app being modified to use any external USB camera in this video (https://developer.apple.com/videos/play/wwdc2023/10106/). The presenter mentions that the sample code will be available for download, however I am unable to find the same. Can someone point me to the mentioned sample code? Thanks!
3
1
1.8k
Jul ’23