Open rohantan opened 5 years ago
Facing the same issue Configuration: Host OS - MAC OS version - macOS Mojave 10.14.5 (18F132) python version - Python 3.7.0 XCode version - Version 10.2.1 (10E1001) idb client - Installed using pip3 install fb-idb on 4 Nov 2019 idb_companion installation details - (version 1.0.8)
Not sure how but I am now able to generate video using this command - (I have not changed any installations on my mac as far as I remember)
idb record video video.mp4 --udid xxxxxxxx-7848-47C5-B199-xxxxxxxxxxxx
I also encountered the same issue, here is the command and output
idb record video video.mp4 --udid xxxxx Running video until ^C ç çççç^C Stopping video Failed to remove create auxillary directory for device at video.mp4
idb record video video.mp4 --udid xxx --log INFO 2020-07-03 09:44:53,773 [WARNING] - video - Setting --log after the command is deprecated, please place it at the start of the invocation Running video until ^C 2020-07-03 09:44:53,776 [INFO] - video - Starting connection to backend 2020-07-03 09:44:53,776 [INFO] - video - Starting video recording to local file video.mp4 ^C Stopping video 2020-07-03 09:45:06,341 [INFO] - video - Stopping video recording Cannot create a new video recording session, one is already active
Same issue as @rohantan when trying to record simulator, and same as @ting81 on an actual device (but maybe that's not supposed to work anyways?)
Hi all, I was able to fix the issue with the screen recording only after using the full path to video file, like this:
idb record video --udid xxxxxxxxxxxxxxxxxxxxxxxxxx /Users/your_user_name/Workspace/SandBox/myvideo.mp4
Description
I am trying to generate a video of the Simulator screen which is booted by idb
What I did: Executed command-
What I expected: After I perform
^c
on keyboard, it should generate avideo.mp4
file in the current directory with the recording of simulator screenWhat actually happened: I do not see any
.mp4
file created in the current directoryReproduction
Host OS - MAC OS version - macOS Mojave 10.14.6 python version - 3.7.4 XCode version - 11.1 idb client - Installed using
pip3 install fb-idb
on 28th October 2019 idb_companion installation details - (version 1.0.8)Steps:
idb boot --udid xxxxxxxx-7848-47C5-B199-xxxxxxxxxxxx
idb connect xxxxxxxx-7848-47C5-B199-xxxxxxxxxxxx
idb record record-video --udid xxxxxxxx-7848-47C5-B199-xxxxxxxxxxxx --log INFO video.mp4
^C
on terminal