danielpaulus / quicktime_video_hack

Record iOS device audio and video
MIT License
541 stars 113 forks source link

iOS 18 doesnt work #159

Open karthikgbbristol opened 2 months ago

karthikgbbristol commented 2 months ago

Just tried to run the record command on on iOS device with 18.0 and get the following error.

`karthik@karthik-mac-mini-m1 quicktime_video_hack % go run main.go record out.h264 out.wav

github.com/danielpaulus/gst

cgo-gcc-prolog:110:35: warning: 'gst_element_get_request_pad' is deprecated: Use 'gst_element_request_pad_simple' instead [-Wdeprecated-declarations] /opt/homebrew/Cellar/gstreamer/1.24.8/include/gstreamer-1.0/gst/gstelement.h:1041:9: note: 'gst_element_get_request_pad' has been explicitly marked deprecated here /opt/homebrew/Cellar/glib/2.82.1/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR'

command-line-arguments

ld: warning: ignoring duplicate libraries: '-lglib-2.0', '-lgobject-2.0', '-lgstapp-1.0', '-lintl' {"level":"info","msg":"no usbSerial specified, using '000081300008749802E8001C\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000'","time":"2024-09-25T11:31:37+01:00"} {"level":"info","msg":"found Karthik’s iPhone 15 18.0 for udid 00008130-0008749802E8001C","time":"2024-09-25T11:31:37+01:00"} panic: libusb: unknown error [code -99]

goroutine 1 [running]: github.com/google/gousb.newContextWithImpl({0x1008aab18, 0x100a6ed80}) /Users/karthik/go/pkg/mod/github.com/google/gousb@v2.1.0+incompatible/usb.go:146 +0x14c github.com/google/gousb.NewContext(...) /Users/karthik/go/pkg/mod/github.com/google/gousb@v2.1.0+incompatible/usb.go:159 github.com/danielpaulus/quicktime_video_hack/screencapture.EnableQTConfig({{0x14000134180, 0x28}, {0x140001225e8, 0x6}, 0x6, 0xffffffffffffffff, 0x5ac, 0x12a8, {0x140001a8c00, 0x1e}}) /Users/karthik/Documents/software/quicktime_video_hack/screencapture/activator.go:17 +0x84 main.startWithConsumer({0x1008a72e8, 0x140002c1640}, {{0x14000134180, 0x28}, {0x140001225e8, 0x6}, 0x6, 0xffffffffffffffff, 0x5ac, 0x12a8, ...}, ...) /Users/karthik/Documents/software/quicktime_video_hack/main.go:385 +0x88 main.record({0x14000122040, 0x8}, {0x14000122048, 0x7}, {{0x14000134180, 0x28}, {0x140001225e8, 0x6}, 0x6, 0xffffffffffffffff, ...}) /Users/karthik/Documents/software/quicktime_video_hack/main.go:380 +0x3e4 main.main() /Users/karthik/Documents/software/quicktime_video_hack/main.go:166 +0x7f0 exit status 2 `