appium / appium/python-client

appium ios Recording the screen, the saved mp4 file cannot be opened

オープン
#900 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
1.8k
フォーク
570
平均マージ
1日 10時間
マージ済み PR(30日)
24

説明

The problem

appium ios Recording the screen, the saved mp4 file cannot be opened

Environment

  • Appium version (or git revision) that exhibits the issue:2.0.1
  • Last Appium version that did not exhibit the issue (if applicable):
  • Desktop OS/version used to run Appium: windows
  • Node.js version (unless using Appium.app|exe):
  • Mobile platform/version under test:ios
  • Real device or emulator/simulator:device
  • Appium CLI or Appium.app|exe:

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))

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Python クライアントのエントリーポイント start_recording_screen と stop_recording_screen から始め、提供されたオプションと保存先パスを使って、Windows 上で tidevice 経由の iOS 録画フローを再現します。Appium のログと recording_data の処理を確認します。保存された recorded_video.mp4 を正常に開ければ完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
mobile-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。