在我的应用程序中,我正在录制设备屏幕。在我的设备屏幕的某个部分进行录制时,相机处于打开状态。当我播放录音时,打开摄像机的部分显示为黑色。我如何解决这个问题,让摄像头部分也被添加到录制中。
发布于 2015-07-03 21:54:19
使用内置的OSX QuickTime,插入iPhone/iPad/iPod即可直接从您的设备进行录制。
发布于 2016-03-31 02:13:40
我已经写了一个脚本,你可以运行它来记录你的iphone屏幕。
从QuickTime Player的设备列表中手动选择您的iPhone或iPad,然后运行脚本,您将在QuickTime窗口中看到设备的屏幕被复制并重新编码。
创建外壳脚本和以下内容:
osascript <<EOD
tell application "QuickTime Player"
activate
start (new movie recording)
delay 5
tell application "System Events"
key down {command}
keystroke "w"
key up {command}
key down {command}
keystroke "s"
key up {command}
end tell
end tell
EODhttps://stackoverflow.com/questions/31204374
复制相似问题