Recorded videos are saving as corrupted files

Recorded videos are saving as corrupted files

  1. Platform under test (android / ios)
  2. Appium version
  3. Os version (macOS / win / … )
  4. Your code with start, stop and save video
  5. Appium server logs

2) 1.7.0
3) windows
vide_name=driver.current_activity + time.strftime("%Y_%m_%d_%H%M%S")
#create filepath
filepath = os.path.join(“C:/Users/CH40043575/PycharmProjects/p1/video/”, vide_name+ “.mp4”)
with open(filepath,“wb”) as vd:

appium-server-logs.txt (90.1 KB)

1.7.0 Appium? Why so old?

It will not be fixed. Try with latest 1.18 or 1.19 beta.

and in logs we see start but no end command to record.