-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not find iphone devices which I plugged into my mac #11
Comments
So the reason for this is, I still haven't updated videosnap to use the AVFoundation framework. The command is still using the old QTKit libraries. I had started an av-foundation branch a while ago, but many things have got in the way and I haven't had the time I'd like to devote to this. As soon as it's release I'll update this issue to notify you.. |
+1 for this request -- found videosnap as I was looking for an alternative to the broken and abandoned xrecord project... https://github.com/WPO-Foundation/xrecord/issues . Please let us know if you add ios recording! I often capture ios videos for bug reports and I'd love to automate this! |
Is there any update on this issue? Will it work now for iphones connected to mac? |
Sorry I haven't had time to work on this project for a while, pull requests are always welcome! |
https://stackoverflow.com/a/32703158 It seem to work somehow with this patch:
|
Thanks @muuuh for this suggestion! I've just released v0.0.5, you should now be able to capture from any attached iOS device! Here's an example capture from my iPhone X at |
Hi, the videosnap -l command does not list my connected iPhone i am using the latest version.Attaching the logs below if it helps, do let me know if i am doing something wrong of if there are some permissions to be enabled/disabled either on the device or the mac.
As you can see the version is 0.0.6.
|
I've replicated the issue here, same problem; and if I close Quicktime Player, the device is no longer listed. When I have some time available I'll try to investigate further. |
Hi! 🙂 Sadly, I encountered this issue too. Connected iOS devices are not listed using MacBook Air (M1, 2020) |
Hey @matthutchinson, I know you are probably quite busy lately as we all are, but this is a huge opportunity to fix a problem potentionaly affecting hundreds of M1 chip Mac users. You can really make a difference by providing efficient command line solution to iOS device screen recording for many of the Mobile Toolkit users as well as all of those using your Videosnap tool on latest Macbooks. Please take a quick look at this issue, maybe there is a simple hotfix just waiting for your action. Thank you for your time and all your priceless contributions to our community. |
I'll try to investigate this weekend, or early next week. |
Hello @matthutchinson, any news on this issue? 🥺 |
I worked on this today and have a fix, will release a new version (0.0.7) and explain more soon. This isn't an M1 specific issue. |
Cool, thank you very much for your effort! Looking forward to new update. 🤞 |
* Refactor how verbosity is set (now up front in initWithVerbosity) * Use AVCaptureDeviceDiscoverySession (macOS >= 10.15) * Default device now chosen from first discovered device * Reword man and help slightly * Release built for M1 & Intel (Any mac) * Fixes #11
Still having some intermittent issues with this.. looking into it further |
OK, please try this new release and let me know (on Intel and/or M1). This works for me (Intel and M1), but I have noticed that if I run the command quickly in succession, it can sometimes fail to pick up connected devices for screen capture. After (a LOT) of debugging and googling, I've traced this down to a Kernel error thrown when macOS attempts to connect to the DAL assistant to grab a port to communicate with the virtual capture device. NOTE: when capturing the device will not output any audio, but audio will be recorded to the movie file. Also note, the |
If you continue to have issues, please add |
I've added this section to the README explaining the following... Capturing from connected iOS devicesIt is possible to screen capture video & audio from an attached iOS device. For the device to be discovered you must confirm that you There are some limitations and issues with iOS screen capturing.
|
So turns out while the device is now recognised OK on M1 Macs (and listed OK), capturing fails, with this error - this seems to be an Apple issue. It is possible to record/screen capture via Quicktime Movie recording, so this must be do-able. I think the best course of action is to rewrite this project in Swift, using more up-to-date framework classes, and adhering to the latest guidelines in the AVFoundation documentation. |
Hi @matthutchinson so there are still some issues on M1 after all. I am not able to capture any recording. See the verbose output below:
Are there any steps we can take to fix this, or everything we can do is to hope that Apple will resolve this somehow? |
So the issue title/description here is based around
That should now be resolved on M1 and Intel Macs. Capturing from a connected iPhone on an M1 Mac is currently broken, so we need another issue for that. Capturing from a connected webcam should work tho. Can you pls create another issue and describe what's happening ... i.e. what command you're running and the output with -v flag on. |
Alright, im on it. 🤝 Edit: So I created following issue: #24 |
actually I want to use this command line tool to capture video of my iphone which I plugged into my mac when I do some manipulations on it, but after I execute videosnap in my mac: ./video -l, it only list my facetime HD camera, but no my iphone, but I can see my iphone when I open quicktime, any suggestions,thanks.
The text was updated successfully, but these errors were encountered: