danielpaulus/quicktime_video_hack — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a command line tool that can record the screen and audio from a connected iPhone or iPad, similar to QuickTime screen recording, but without needing to use QuickTime itself.

I want it to work mainly on macOS, with Linux support if possible. It should detect a plugged in iOS device over USB and let me either preview the screen, record the video and audio to files, or record audio only. For video, saving raw h264 plus a wav audio file is fine. For audio only, let me save wav, mp3, or ogg.

Please include simple commands like record to files, audio only, preview with a media pipeline, and a diagnostics command that can write logs, USB dumps, and metrics for troubleshooting. It should also support multiple devices if that’s reasonable.

Keep it practical and developer friendly, with clear install and usage instructions. Use Go for the main app, and use existing media tools like GStreamer where needed. Look up current docs online if you need to.

Want more depth? Deep Reverse