-
Notifications
You must be signed in to change notification settings - Fork 561
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
appium ios Recording the screen, the saved mp4 file cannot be opened #900
Comments
Duplicate of appium/appium#17087 ? |
I have tried to set the videoType. Whether it is libx264 or h264, the output mp4 file still cannot be opened. |
This is the log at runtime, hope it can help. |
I tried it on my Mac and the video plays.But in the Windows environment, the output video file still cannot be played. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
appium ios Recording the screen, the saved mp4 file cannot be opened
Environment
Details
Use appium to connect tidevice to run in windows environment
The mp4 file saved by using the start_recording_screen method to record the screen cannot be opened
Link to Appium Logs
Create a GIST which is a paste of your full Appium logs, and link them here.
Code To reproduce issue
options = {
'videoQuality': 'low',
'timeLimit': 600,
}
self.driver.start_recording_screen(**options)
sleep(3)
recording_data = self.driver.stop_recording_screen()
with open(r'F:\recorded_video.mp4', 'wb') as file:
file.write(base64.b64decode(recording_data))
The text was updated successfully, but these errors were encountered: