danielpaulus / quicktime_video_hack

Record iOS device audio and video
MIT License
520 stars 110 forks source link

qvh gstreamer on iOS 15 devices error #102

Open bachxu opened 2 years ago

bachxu commented 2 years ago

When I run the qvh gstreamer command on an iOS 15 device, the success rate was very low and often unresponsive

{"level":"info","msg":"found iPhone12(15.0) 15.0 for udid 00008101-001039261XXXXXXX","time":"2021-09-16T16:31:14+08:00"} {"level":"info","msg":"Starting Gstreamer..","time":"2021-09-16T16:31:14+08:00"} {"level":"info","msg":"Gstreamer is running!","time":"2021-09-16T16:31:14+08:00"} {"level":"info","msg":"Device '00008101001039261XXXXXX\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000' USB connection ready, waiting for ping..","time":"2021-09-16T16:31:14+08:00"}

error message

{"level":"info","msg":"no usbSerial specified, using '00008101001039261XXXXXXX\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000'","time":"2021-09-16T16:30:33+08:00"} {"level":"info","msg":"found iPhone12(15.0) 15.0 for udid 00008101-001039261XXXXXXX","time":"2021-09-16T16:30:33+08:00"} {"level":"info","msg":"Starting Gstreamer..","time":"2021-09-16T16:30:33+08:00"} {"level":"info","msg":"Gstreamer is running!","time":"2021-09-16T16:30:33+08:00"} {"level":"info","msg":"Stopping Gstreamer..","time":"2021-09-16T16:30:33+08:00"} {"error_message":"failed connecting to usb","original_error":"failed to claim interface 2 on vid=05ac,pid=12a8,bus=20,addr=50,config=6: libusb: not found [code -5]"}

The qvh version is 0.6.

soulgalore commented 2 years ago

I did try on a couple of devices running on iOS 15 (6s and X) using Big Sur 11.6 and for me it worked every time, I couldn't reproduce it.

karthikgbbristol commented 2 years ago

I get the same error when using iOS 15.1.1 and MacOS Monterey 12.0.1

{"level":"info","msg":"no usbSerial specified, using '000081010000444A1105001E\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000'","time":"2022-01-07T16:56:47Z"} {"level":"info","msg":"found Karthik’s iPhone 15.1.1 for udid 00008101-0000444A1105001E","time":"2022-01-07T16:56:47Z"} {"level":"info","msg":"Device '000081010000444A1105001E\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000' USB connection ready, waiting for ping..","time":"2022-01-07T16:56:47Z"}

karthikgbbristol commented 2 years ago

Looks like it doesn't get back the PING packet it is supposed to receive. When you use Ctrl-C to exit, then I get the second error mentioned by @bachxu (failed to claim interface2)

I am using a iPhone 12 Pro Max

GeoffAbbott commented 1 year ago

Experiencing same issue.. Any luck resolving this?