appium / appium/java-client

org.openqa.selenium.WebDriverException when using "libx264" video type during video record on iOS

Open
#1,372 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.3k
Forks
752
Avg merge
6d 21h
Merged PRs (30d)
8

Description

Description

I have some problems with video recorder on ios. When I'm using "libx264" - video is saved completely, but sometimes i'm catching this in startRecordingScreen method:

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: The screen capture process 'ffmpeg' died unexpectedly. Check server logs for more details

Appium server on macmini with real devices

Environment

  • Java client 7.3.0:
  • Appium server 1.17.1
  • Desktop OS/version used to run Appium if necessary:
  • Node 14.4.0 npm 6.14.5
  • iOS 12/13
  • Real device
    Xcode 11.4.1

Code To Reproduce Issue

here the code

https://gist.github.com/SergiyBelevitnevSFLY/c1411672d64a457c78c50f7c7aa54ac5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the linked reproduction gist and the Java client's startRecordingScreen entry point. Reproduce on a real iOS 12/13 device with libx264 and inspect Appium/server logs for the ffmpeg process failure; done requires identifying a reproducible cause and verifying a fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.