Giter Site home page Giter Site logo

Comments (7)

danielpaulus avatar danielpaulus commented on June 14, 2024 1

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

from quicktime_video_hack.

danielpaulus avatar danielpaulus commented on June 14, 2024

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

from quicktime_video_hack.

ShiverZm avatar ShiverZm commented on June 14, 2024

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"}

from quicktime_video_hack.

danielpaulus avatar danielpaulus commented on June 14, 2024

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.

from quicktime_video_hack.

haryshi avatar haryshi commented on June 14, 2024

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?

from quicktime_video_hack.

danielpaulus avatar danielpaulus commented on June 14, 2024

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

from quicktime_video_hack.

 avatar commented on June 14, 2024

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

from quicktime_video_hack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.