danielpaulus / quicktime_video_hack

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

what's your plan to suppot win 10? #122

Open ZHENGYUN01 opened 2 years ago

danielpaulus commented 2 years ago

I cannot support windows unfortunately. It does not support libusb and I have not way to access USB devices there.

ChinaGuCheng commented 2 years ago

I cannot support windows unfortunately. It does not support libusb and I have not way to access USB devices there.

can support windows, Use libusb-win32 (libusb0) to set configure index

ChinaGuCheng commented 2 years ago

I cannot support windows unfortunately. It does not support libusb and I have not way to access USB devices there.

can support windows, Use libusb-win32 (libusb0) to set configure index

https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/

ZHENGYUN01 commented 2 years ago

have you ever been to try to do with it? thx.

ChinaGuCheng commented 2 years ago

have you ever been to try to do with it? thx.

yes i success, i can help this project

danielpaulus commented 2 years ago

Oh wow that is awesome! @ChinaGuCheng Can you share some details how you made it work? I would be super happy to add windows support to qvh and make it easy to use on all platforms :-)

ZHENGYUN01 commented 2 years ago

what a wanderful msg from you! @ChinaGuCheng can you make a PR ?

ChinaGuCheng commented 2 years ago

//driver : libusb0.sys //lib : libusb-win32(libusb0) //Why use libusb-win32 instead of libusb1.0, because only libusb-win32 support windows usb_set_configuration. //libusb-win32 download url : https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/

//1、install libusb0 driver(use zadig.exe or inf-wizard.exe) (inf-wizard.exe is can auto install driver)

//next write code //2、get devices

//3、open device

//4、enable QT config

//5、reopen device

//6、get mux ep data and QT ep data

//7、set QT config and interface(only libusb0 driver support windows usb_set_configuration)

//8、usb_clear_halt

//9、pair phone(stop amd services, running usbmuxd)

//send ping //recv ping //success......

ZHENGYUN01 commented 2 years ago

would you mind uploading a git demo project?

danielpaulus commented 2 years ago

I am trying to get it to work and will upload a branch+demo if I can :-D

ZHENGYUN01 commented 2 years ago

I am trying to get it to work and will upload a branch+demo if I can :-D

thanks, if i can help msg me.

Xingran-Yuan commented 2 years ago

I am trying to get it to work and will upload a branch+demo if I can :-D

Hi, may I ask if you tried this? Does it work?

Xingran-Yuan commented 2 years ago

//driver : libusb0.sys //lib : libusb-win32(libusb0) //Why use libusb-win32 instead of libusb1.0, because only libusb-win32 support windows usb_set_configuration. //libusb-win32 download url : https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/

//1、install libusb0 driver(use zadig.exe or inf-wizard.exe) (inf-wizard.exe is can auto install driver)

//next write code //2、get devices

//3、open device

//4、enable QT config

//5、reopen device

//6、get mux ep data and QT ep data

//7、set QT config and interface(only libusb0 driver support windows usb_set_configuration)

//8、usb_clear_halt

//9、pair phone(stop amd services, running usbmuxd)

//send ping //recv ping //success......

hi, may I ask when we change the driver to libusb, how can we run usbmuxed? it seems there are some conflicts.

Vxer-Lee commented 1 year ago

//driver : libusb0.sys //lib : libusb-win32(libusb0) //Why use libusb-win32 instead of libusb1.0, because only libusb-win32 support windows usb_set_configuration. //libusb-win32 download url : https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/ //1、install libusb0 driver(use zadig.exe or inf-wizard.exe) (inf-wizard.exe is can auto install driver) //next write code //2、get devices //3、open device //4、enable QT config //5、reopen device //6、get mux ep data and QT ep data //7、set QT config and interface(only libusb0 driver support windows usb_set_configuration) //8、usb_clear_halt //9、pair phone(stop amd services, running usbmuxd) //send ping //recv ping //success......

hi, may I ask when we change the driver to libusb, how can we run usbmuxed? it seems there are some conflicts.

Dude is so cool!

danielpaulus commented 1 year ago

If you could send a PR, would be cool. It may sound dumb, but I cannot really test it because I do not own a Windows computer.

xghxgb commented 1 year ago

//driver : libusb0.sys //lib : libusb-win32(libusb0) //Why use libusb-win32 instead of libusb1.0, because only libusb-win32 support windows usb_set_configuration. //libusb-win32 download url : https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/

//1、install libusb0 driver(use zadig.exe or inf-wizard.exe) (inf-wizard.exe is can auto install driver)

//next write code //2、get devices

//3、open device

//4、enable QT config

//5、reopen device

//6、get mux ep data and QT ep data

//7、set QT config and interface(only libusb0 driver support windows usb_set_configuration)

//8、usb_clear_halt

//9、pair phone(stop amd services, running usbmuxd)

//send ping //recv ping //success......

I am trying to make it work on Windows. I can receive FEED data and the generated h264 file can be played. However, I am not receiving EAT and OG data, and the sound from the phone is still playing on the phone. I found that AirPlay on the phone is not in system capture mode. Please give me some suggestion.