简体   繁体   English

在后台录制IOS模拟器视频和模拟器音频

[英]Record IOS Simulator video and simulator audio in background

I need to record 100 separate videos of my simulator which is about 40 hours of high quality.我需要录制 100 个独立的模拟器视频,大约 40 小时的高质量视频。 I want to record video of Xcode simulator and system audio in the background.我想在后台录制 Xcode 模拟器和系统音频的视频。 Since I need to use my computer at the same time I don't want to use tools like Camtasia or quick time.因为我需要同时使用我的电脑,所以我不想使用像 Camtasia 或 quick time 这样的工具。 I am wondering if this is achievable.我想知道这是否可以实现。 If so this will save my one month.如果是这样,这将节省我一个月的时间。

You can achieve this by following.您可以通过以下方式实现此目的。

1.In simulator Menu Choose Hardware > Audio Input > System to use the same audio input as the Mac. 1.在模拟器菜单中选择硬件>音频输入>系统以使用与Mac相同的音频输入。

2.Open Terminal and navigate to the directory where you want to save video. 2.打开终端并导航到要保存视频的目录。

Run Command : xcrun simctl io booted recordVideo <filename>.<extension>运行命令: xcrun simctl io booted recordVideo <filename>.<extension>

It will start recording.To finish Press Control-C .它将开始录制。完成按Control-C Video will save on current directory.视频将保存在当前目录中。

In the latest version of Xcode Simulators "Scroll over the Save Screen Button and Hold the OPTION key , gives the screen record option.在最新版本的 Xcode Simulators 中“滚动保存屏幕按钮并按住OPTION键,给出屏幕记录选项。 在此处输入图片说明

Save screen button will change to record video button保存屏幕按钮将变为录制视频按钮

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 背景音频在iOS模拟器上可运行,但不能在设备上运行 - background audio working on iOS simulator but not device 音频在模拟器(iOS 7.1)的背景上停止播放 - Audio stops on background on simulator (iOS 7.1) 在背景中播放的音频不适用于iOS模拟器 - Audio playing in background not working in iOS Simulator iOS模拟器未启用“记录”按钮 - The Record Button is not Enabled With iOS Simulator iOS OpenTok音频视频通话已禁用视频,原因是在iOS Simulator和路由会话上未记录的原因 - iOS OpenTok audio-video call has video disabled with an undocumented reason on iOS Simulator and routed sessions 是否可以在iPhone模拟器中录制和播放音频? - Is it possible to record and play audio in iPhone simulator? iOS 模拟器 - 记录模拟器屏幕并包含设备框架? - iOS Simulator - Record simulator screen and include device frame? 音频播放器可以在后台的iOS模拟器上运行,但不能在iOS设备上使用(相同版本) - Audio player work on iOS simulator in Background but does not on iOS device (same version) 设备在后台播放音频,模拟器不播放 - Device plays audio in background, Simulator does not 音频和振动在模拟器中工作,而不是在ios设备上 - Audio and vibrate working in simulator not on ios device
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM