quicktime_video_hack icon indicating copy to clipboard operation
quicktime_video_hack copied to clipboard

bug?ipad air2 ios13.1.3,could not be record?

Open ShiverZm opened this issue 4 years ago • 7 comments

hi,developer i use the release version and run it in Ubuntu 18.04

master@ubuntu:~/Desktop/tools/quicktime-hackdemo/bin/bin/linux$ ./qvh record /home/master/Desktop/1.h264 /home/master/Desktop/2.wav {"level":"info","msg":"Device '96aaf300a6f4d62114d29824feb8056bf3822aaa' USB connection ready","time":"2020-04-08T01:56:02-07:00"} {"level":"info","msg":"AudioVideo-Stream has started","time":"2020-04-08T01:56:02-07:00"}

then,the 1.h264 and the 2.wav was empty,when i close this command, size of the 2.wav was 44 Bytes, please give me some tip about what is the problem? thank you :D

ShiverZm avatar Apr 08 '20 09:04 ShiverZm

Withouth looking too much into it, you need to kill the command with ctrl+c /sigterm so it can sucessfully write the wave file. If that does not help:

  1. The h264 file should be playable with VLC, does it work?
  2. Can you run with ./qvh record -v /home/master/Desktop/1.h264 /home/master/Desktop/2.wav and post debug logs?

Thanks for trying my tool 👍 :-D

danielpaulus avatar Apr 08 '20 10:04 danielpaulus

hello, i did so,but it still did not work, And i get some logs, using what you said "-v", please have a look :D thanks you very much

master@ubuntu:~/Desktop/tools/quicktime-hackdemo/bin/bin/linux$ ./qvh record -v /home/master/Desktop/4.h264 /home/master/Desktop/3.wav {"level":"info","msg":"Set Debug mode","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"requested udid:''","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Writing video output to:'/home/master/Desktop/4.h264' and audio to: /home/master/Desktop/3.wav","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Opened usbcontext:\u0026{0x7f2cf0000b60 0xc00001e420 {}}","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found MuxConfig 3 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found MuxConfig 4 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found QTConfig 5 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Getting serial for: vid=05ac,pid=12ab,bus=1,addr=43","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Got serial96aaf300a6f4d62114d29824feb8056bf3822aaa","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found MuxConfig 3 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found MuxConfig 4 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found QTConfig 5 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"no udid specified, using '96aaf300a6f4d62114d29824feb8056bf3822aaa'","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found QTConfig 5 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found MuxConfig 3 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found MuxConfig 4 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Skipping 96aaf300a6f4d62114d29824feb8056bf3822aaa because it already has an active QT config","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Opened usbcontext:\u0026{0x7f2cf0017ee0 0xc00001e780 {}}","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Config is active: 5","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Enabling QT config RC:0","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"QT Config is active: vid=05ac,pid=12ab,bus=1,addr=43,config=5","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Clear Feature RC: 0","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Clear Feature RC: 0","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Got QT iface:vid=05ac,pid=12ab,bus=1,addr=43,config=5,if=2,alt=0","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Inbound Bulk: ep #6 IN (address 0x86) bulk [512 bytes]","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Outbound Bulk: ep #5 OUT (address 0x05) bulk [512 bytes]","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Endpoint claimed","time":"2020-04-08T06:49:38-07:00"} {"level":"info","msg":"Device '96aaf300a6f4d62114d29824feb8056bf3822aaa' USB connection ready","time":"2020-04-08T06:49:38-07:00"} {"level":"info","msg":"AudioVideo-Stream has started","time":"2020-04-08T06:49:38-07:00"} ^C{"level":"debug","msg":"Signal received: interrupt","time":"2020-04-08T06:51:40-07:00"} {"level":"info","msg":"Telling device to stop streaming..","time":"2020-04-08T06:51:40-07:00"} {"level":"info","msg":"Waiting for device to tell us to stop..","time":"2020-04-08T06:51:40-07:00"} {"level":"warning","msg":"Timed out waiting for device closing","time":"2020-04-08T06:51:43-07:00"} {"level":"info","msg":"Closing usb stream","time":"2020-04-08T06:51:43-07:00"} {"level":"info","msg":"Closing usb interface","time":"2020-04-08T06:51:43-07:00"} {"level":"error","msg":"couldn't read bytesdevice was disconnected","time":"2020-04-08T06:51:43-07:00"} {"level":"debug","msg":"Disabled QT config RC:0","time":"2020-04-08T06:51:43-07:00"}

ShiverZm avatar Apr 08 '20 13:04 ShiverZm

Hm interesting, so it seems like the initial Ping handshake between device and my tool are working fine but then the device never sends the initial request for creating a local clock. I only send a request to the device to send me a AV-stream once I received that request I believe. Let me create a branch tonight where i request AV-data from the device right away. And then maybe it'll work :-) Sadly I do not have an iPad Air 2 to test on anymore.

danielpaulus avatar Apr 26 '20 12:04 danielpaulus

Try the new version please. It contains quite a few stability improvements.

danielpaulus avatar Sep 13 '20 11:09 danielpaulus

hello, i did so,but it still did not work, And i get some logs, using what you said "-v", please have a look :D thanks you very much

master@ubuntu:~/Desktop/tools/quicktime-hackdemo/bin/bin/linux$ ./qvh record -v /home/master/Desktop/4.h264 /home/master/Desktop/3.wav {"level":"info","msg":"Set Debug mode","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"requested udid:''","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Writing video output to:'/home/master/Desktop/4.h264' and audio to: /home/master/Desktop/3.wav","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Opened usbcontext:\u0026{0x7f2cf0000b60 0xc00001e420 {}}","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found MuxConfig 3 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found MuxConfig 4 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found QTConfig 5 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Getting serial for: vid=05ac,pid=12ab,bus=1,addr=43","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Got serial96aaf300a6f4d62114d29824feb8056bf3822aaa","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found MuxConfig 3 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found MuxConfig 4 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found QTConfig 5 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"no udid specified, using '96aaf300a6f4d62114d29824feb8056bf3822aaa'","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found QTConfig 5 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found MuxConfig 3 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Found MuxConfig 4 for Device 1.43: 05ac:12ab (available configs: [1 2 3 4 5])","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Skipping 96aaf300a6f4d62114d29824feb8056bf3822aaa because it already has an active QT config","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Opened usbcontext:\u0026{0x7f2cf0017ee0 0xc00001e780 {}}","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Config is active: 5","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Enabling QT config RC:0","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"QT Config is active: vid=05ac,pid=12ab,bus=1,addr=43,config=5","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Clear Feature RC: 0","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Clear Feature RC: 0","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Got QT iface:vid=05ac,pid=12ab,bus=1,addr=43,config=5,if=2,alt=0","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Inbound Bulk: ep #6 IN (address 0x86) bulk [512 bytes]","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Outbound Bulk: ep #5 OUT (address 0x05) bulk [512 bytes]","time":"2020-04-08T06:49:38-07:00"} {"level":"debug","msg":"Endpoint claimed","time":"2020-04-08T06:49:38-07:00"} {"level":"info","msg":"Device '96aaf300a6f4d62114d29824feb8056bf3822aaa' USB connection ready","time":"2020-04-08T06:49:38-07:00"} {"level":"info","msg":"AudioVideo-Stream has started","time":"2020-04-08T06:49:38-07:00"} ^C{"level":"debug","msg":"Signal received: interrupt","time":"2020-04-08T06:51:40-07:00"} {"level":"info","msg":"Telling device to stop streaming..","time":"2020-04-08T06:51:40-07:00"} {"level":"info","msg":"Waiting for device to tell us to stop..","time":"2020-04-08T06:51:40-07:00"} {"level":"warning","msg":"Timed out waiting for device closing","time":"2020-04-08T06:51:43-07:00"} {"level":"info","msg":"Closing usb stream","time":"2020-04-08T06:51:43-07:00"} {"level":"info","msg":"Closing usb interface","time":"2020-04-08T06:51:43-07:00"} {"level":"error","msg":"couldn't read bytesdevice was disconnected","time":"2020-04-08T06:51:43-07:00"} {"level":"debug","msg":"Disabled QT config RC:0","time":"2020-04-08T06:51:43-07:00"}

hi ShiverZm, have you tried with the new version? Does it work?

haryshi avatar Oct 27 '20 08:10 haryshi

It seems this happens when the device is not paired. Please run idevicepair pair and finish pairing first.

danielpaulus avatar Apr 09 '21 09:04 danielpaulus

master@ubuntu:~/Desktop/tools/quicktime-hackdemo/bin/bin/linux$ ./qvh record /home/master/Desktop/1.h264 /home/master/Desktop/2.wav

ghost avatar May 08 '21 10:05 ghost