Comments (7)
Try the new version please. It contains quite a few stability improvements.
from quicktime_video_hack.
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:
- The h264 file should be playable with VLC, does it work?
- 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.
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.
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.
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 muchmaster@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.
It seems this happens when the device is not paired.
Please run idevicepair pair
and finish pairing first.
from quicktime_video_hack.
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)
- can not docker build in gitpod
- Execute gstreamer cause nil point deference HOT 4
- Turning off Valeria mode will receive an unknown protocol HOT 2
- what's your plan to suppot win 10? HOT 16
- For questions, suggestions and ideas please use the Discussions tab :-)
- linux:Error opening usb deviceslibusb: bad access [code -3] HOT 8
- linux "failed connecting to usb","original_error":"Could not retrieve config"
- Ubuntu: qvh gstreamer run success BUT not show screen dialog <Iphone7/14.2 - Ubuntu>
- AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': Device or resource busy
- GStreamer not working HOT 8
- Can't detach kernel driver on iOS 16.0
- Unable to mirror the iphone on linux
- can't mirror while use iphone14pro and ios16
- zsh: command not found: qvh HOT 1
- Can't receiving EAT and OG data
- cross platform port
- Improve qvh by adding a more stable video integration either using mkv + tcp or ffmpeg integration HOT 5
- qvh activate errors on first run
- qvh record errors
- ubuntu22 Error closing usb context
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quicktime_video_hack.