iOS Simulator, recording video and audio via the command line?
I'm trying to create an app preview video using the iOS command line simulator tool, which produces video, like so.
xcrun simctl io booted recordVideo
However, videos don't include audio. I have seen that videos aren't possible unless you have support for metal, which I do.
I've seen some conflicting answers, although mentions the mic Is it possible to record actual sound on the simulator using mic
I need to automate this process as I have a lot of videos (languages / devices) where I need to produce videos ( I can provided more details about this).
I'm currently using an automated UI Test to run through my app and produce the video.
I've also seen a method using applescript and quicktime player, but this doesn't appear to work with the simulator and I'll have problems using automated tests.
https://apple.stackexchange.com/questions/63056/can-applescript-be-used-to-automate-a-screen-recording-session-on-os-x
How to screen record iOS-real device with command?
Alternatively I'm looking to record the audio from my app separatly from the simulator perhaps using something like soundflower. However I will need to do this from the command line / script. Then I'll have to join them together from the command line.
链接地址: http://www.djcxy.com/p/81064.html上一篇: 最快的屏幕捕获方法
下一篇: iOS模拟器,通过命令行录制视频和音频?