avfoundation tag

5 questions


1 answers
90 views
0
"Because more than one output of the same type is unsupported" error when shooting a video

I am currently trying to shoot a video, but when I execute the following code, I get the error because more than one output of the same type is unsupported. var myDevice: AVCaptureDevice? let devices...

2 years ago

1 answers
157 views
0
The image captured by AVFoundation has a strange conversion.

I would like to use AVFoundation to capture the in-camera capture image, but the capture image is strange.I have attached an image.I captured my business card normally, but it looks like it's crushed ...


1 answers
83 views
0
I want to use AVCaptureConnection to set the orientation of the device when shooting a video (Swift)

I use iOS Swift to create a video save process.I can now save videos, but when I check the video taken with the iPhone facing up with the camera roll, it is facing sideways.To avoid this, we found tha...


1 answers
89 views
0
I want to change the code I wrote using AVAudioPCMBuffer on swift to objective-C.

If you use AVAudioPCMBuffer in swift to write a value to the buffer and sound a sine wave http://www.tmroyal.com/playing-sounds-in-swift-audioengine.htmlIt was made by referring to .I'd like to write ...


1 answers
89 views
0
I want to use AVFoundation to add a logo to the video.

I am creating a video editing application with swift.Using AVFoundation, we create the ability to add logos to videos.I was able to find some samples of objective-c, but I don't have many samples with...

2 years ago

© 2024 OneMinuteCode. All rights reserved.