Skip to content

ffmpeg cannot record video from 9100 when running Flutter Integration Driver, because that’s a Dart VM service port, not a video stream. #147

@atmnk

Description

@atmnk

"options": map[string]interface{}{
"videoType": "h264",
},

atmaram@RFL966  ~  appium --use-plugins=inspector --allow-cors
[Appium] Attempting to load plugin inspector...
[Appium] Requiring plugin at /Users/atmaram/.appium/node_modules/appium-inspector-plugin/index.mjs
[Appium] AppiumInspectorPlugin has been successfully loaded in 0.454s
[Appium] Welcome to Appium v2.19.0
[Appium] Non-default server args:
[Appium] {
allowCors: true,
usePlugins: [
'inspector'
]
}
[Appium] The autodetected Appium home path: /Users/atmaram/.appium
[Appium] Attempting to load driver xcuitest...
[Appium] Attempting to load driver flutter-integration...
[Appium] Requiring driver at /Users/atmaram/.appium/node_modules/appium-flutter-integration-driver/build/src/driver.js
[Appium] Requiring driver at /Users/atmaram/.appium/node_modules/appium-xcuitest-driver/build/index.js
[Appium] AppiumFlutterDriver has been successfully loaded in 1.251s
[Appium] XCUITestDriver has been successfully loaded in 1.911s
[Appium] You have enabled CORS requests from any host. Be careful not to visit sites which could maliciously try to start Appium sessions on your machine
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723
[Appium] You can provide the following URLs in your client code to connect to this server:
http://127.0.0.1:4723/ (only accessible from the same host)
http://192.168.0.10:4723/
[Appium] Available drivers:
[Appium] - xcuitest@9.10.5 (automationName 'XCUITest')
[Appium] - flutter-integration@1.4.1 (automationName 'FlutterIntegration')
[Appium] Available plugins:
[Appium] - inspector@2025.7.3 (ACTIVE)
[HTTP] --> POST /session {"capabilities":{"alwaysMatch":{"appium:app":"/Users/atmaram/data/work/gh/sedstart/flights-flutter/build/ios/iphonesimulator/Runner.app","appium:automationName":"FlutterIntegration","appium:connectHardwareKeyboard":true,"appium:deviceName":"iPhone 16 Plus","appium:newCommandTimeout":3600,"appium:platformVersion":"18.6","platformName":"iOS"}},"desiredCapabilities":{"appium:app":"/Users/atmaram/data/work/gh/sedstart/flights-flutter/build/ios/iphonesimulator/Runner.app","appium:automationName":"FlutterIntegration","appium:connectHardwareKeyboard":true,"appium:deviceName":"iPhone 16 Plus","appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:platformVersion":"18.6","platformName":"iOS"},"firstMatch":[]}
[AppiumDriver@3d40] Calling AppiumDriver.createSession() with args: [{"appium:app":"/Users/atmaram/data/work/gh/sedstart/flights-flutter/build/ios/iphonesimulator/Runner.app","appium:automationName":"FlutterIntegration","appium:connectHardwareKeyboard":true,"appium:deviceName":"iPhone 16 Plus","appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:platformVersion":"18.6","platformName":"iOS"},null,{"alwaysMatch":{"appium:app":"/Users/atmaram/data/work/gh/sedstart/flights-flutter/build/ios/iphonesimulator/Runner.app","appium:automationName":"FlutterIntegration","appium:connectHardwareKeyboard":true,"appium:deviceName":"iPhone 16 Plus","appium:newCommandTimeout":3600,"appium:platformVersion":"18.6","platformName":"iOS"}}]
[AppiumDriver@3d40] Event 'newSessionRequested' logged at 1758551287907 (19:58:07 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName 'FlutterIntegration' and platformName 'iOS'
[Appium] The 'flutter-integration' driver was installed and matched caps.
[Appium] Will require it at /Users/atmaram/.appium/node_modules/appium-flutter-integration-driver
[Appium] Requiring driver at /Users/atmaram/.appium/node_modules/appium-flutter-integration-driver/build/src/driver.js
[AppiumDriver@3d40] Appium v2.19.0 creating new AppiumFlutterDriver (v1.4.1) session
[AppiumDriver@3d40] Checking BaseDriver versions for Appium and AppiumFlutterDriver
[AppiumDriver@3d40] Appium's BaseDriver version is 9.18.0
[AppiumDriver@3d40] AppiumFlutterDriver's BaseDriver version is 9.18.0
[AppiumFlutterDriver@16db]
[AppiumFlutterDriver@16db] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "iOS",
"appium:app": "/Users/atmaram/data/work/gh/sedstart/flights-flutter/build/ios/iphonesimulator/Runner.app",
"appium:automationName": "FlutterIntegration",
"appium:connectHardwareKeyboard": true,
"appium:deviceName": "iPhone 16 Plus",
"appium:newCommandTimeout": 3600,
"appium:platformVersion": "18.6"
},
"firstMatch": [
{}
]
}
[AppiumFlutterDriver@16db] The following provided capabilities were not recognized by this driver:
[AppiumFlutterDriver@16db] connectHardwareKeyboard
[AppiumFlutterDriver@16db] deviceName
[890ba33a][AppiumFlutterDriver@16db] Session created with session id: 890ba33a-f74a-429f-85e7-3d4b80c73433
[890ba33a][AppiumFlutterDriver@16db] Starting an IOS proxy session
[890ba33a][XCUITestDriver@7e39]
[890ba33a][XCUITestDriver@7e39] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "iOS",
"appium:app": "/Users/atmaram/data/work/gh/sedstart/flights-flutter/build/ios/iphonesimulator/Runner.app",
"appium:automationName": "FlutterIntegration",
"appium:connectHardwareKeyboard": true,
"appium:deviceName": "iPhone 16 Plus",
"appium:newCommandTimeout": 3600,
"appium:platformVersion": "18.6"
},
"firstMatch": [
{}
]
}
[e844e520][XCUITestDriver@7e39] Session created with session id: e844e520-3c5d-4318-b700-ef7d30e3f3cb
[e844e520][XCUITest] Current user: 'atmaram'
[e844e520][XCUITestDriver@7e39] No real device udid has been provided in capabilities. Will select a matching simulator to run the test.
[e844e520][XCUITestDriver@7e39] iOS SDK Version set to '18.5'
[e844e520][XCUITestDriver@7e39] Looking for an existing Simulator with platformName: iOS, platformVersion: 18.6, deviceName: iPhone 16 Plus
[e844e520][XCUITestDriver@7e39] Constructing iOS simulator for Xcode version 16.4 with udid '51ECE279-11BD-436A-B8C5-C6B0720F2F87'
[e844e520][XCUITestDriver@7e39] Determining device to run tests on: udid: '51ECE279-11BD-436A-B8C5-C6B0720F2F87', real device: false
[e844e520][XCUITestDriver@7e39] Event 'xcodeDetailsRetrieved' logged at 1758551288380 (19:58:08 GMT+0530 (India Standard Time))
[e844e520][BaseDriver] Using local app '/Users/atmaram/data/work/gh/sedstart/flights-flutter/build/ios/iphonesimulator/Runner.app'
[e844e520][XCUITestDriver@7e39] Caching the manifest for com.example.flightQa app from a file source using the key '015910a90269bfda825d407fc228e6b12970a44e'
[e844e520][XCUITestDriver@7e39] Event 'appConfigured' logged at 1758551288384 (19:58:08 GMT+0530 (India Standard Time))
[e844e520][XCUITest] Checking whether app '/Users/atmaram/data/work/gh/sedstart/flights-flutter/build/ios/iphonesimulator/Runner.app' is actually present on file system
[e844e520][XCUITest] App is present
[e844e520][XCUITestDriver@7e39] CFBundleIdentifier: "com.example.flightQa"
[e844e520][XCUITestDriver@7e39] Event 'resetStarted' logged at 1758551288385 (19:58:08 GMT+0530 (India Standard Time))
[e844e520][simctl] Error running 'terminate': An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device failed to terminate com.example.flightQa.
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
The request to terminate "com.example.flightQa" failed. found nothing to terminate
found nothing to terminate
[e844e520][XCUITestDriver@7e39] Reset: failed to terminate Simulator application with id "com.example.flightQa"
[e844e520][XCUITestDriver@7e39] Not scrubbing third party app in anticipation of uninstall
[e844e520][XCUITestDriver@7e39] Event 'resetComplete' logged at 1758551288526 (19:58:08 GMT+0530 (India Standard Time))
[e844e520][XCUITestDriver@7e39] Using WDA path: '/Users/atmaram/.appium/node_modules/appium-flutter-integration-driver/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[e844e520][XCUITestDriver@7e39] Using WDA agent: '/Users/atmaram/.appium/node_modules/appium-flutter-integration-driver/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[e844e520][XCUITestDriver@7e39] Starting log capture for iOS Simulator with udid '51ECE279-11BD-436A-B8C5-C6B0720F2F87' via simctl using the following arguments 'log stream --style compact'
[e844e520][XCUITestDriver@7e39] Event 'logCaptureStarted' logged at 1758551289276 (19:58:09 GMT+0530 (India Standard Time))
[e844e520][XCUITestDriver@7e39] Setting up simulator
[e844e520][XCUITestDriver@7e39] Setting preferences of 51ECE279-11BD-436A-B8C5-C6B0720F2F87 Simulator to {"ConnectHardwareKeyboard":true}
[e844e520][XCUITestDriver@7e39] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"StartLastDeviceOnLaunch":false,"DetachOnWindowClose":false,"AttachBootedOnStart":true,"ConnectHardwareKeyboard":true,"PasteboardAutomaticSync":false}
[e844e520][XCUITestDriver@7e39] Updated 51ECE279-11BD-436A-B8C5-C6B0720F2F87 Simulator preferences at '/Users/atmaram/Library/Preferences/com.apple.iphonesimulator.plist' with {"RotateWindowWhenSignaledByGuest":true,"StartLastDeviceOnLaunch":false,"DetachOnWindowClose":false,"AttachBootedOnStart":true,"ConnectHardwareKeyboard":true,"PasteboardAutomaticSync":false,"DevicePreferences":{"51ECE279-11BD-436A-B8C5-C6B0720F2F87":{"ConnectHardwareKeyboard":true,"SimulatorExternalDisplay":2114,"SimulatorWindowRotationAngle":0,"SimulatorWindowOrientation":"Portrait","SimulatorWindowGeometry":{"2D610635-83A3-44F0-B50D-F7887269DB93":{"WindowCenter":"{242.5, 557.5}","WindowScale":0.9679752066115702},"44BB3B09-6688-49B1-AA2C-E382E250A18B":{"WindowCenter":"{1280, 803}","WindowScale":1}},"ChromeTint":""}}}
[e844e520][XCUITestDriver@7e39] Got Simulator UI client PID: 51053
[e844e520][XCUITestDriver@7e39] Both Simulator with UDID '51ECE279-11BD-436A-B8C5-C6B0720F2F87' and the UI client are currently running
[e844e520][XCUITestDriver@7e39] Event 'simStarted' logged at 1758551289664 (19:58:09 GMT+0530 (India Standard Time))
[e844e520][XCUITestDriver@7e39] Verifying application platform
[e844e520][XCUITestDriver@7e39] CFBundleSupportedPlatforms: ["iPhoneSimulator"]
[e844e520][XCUITestDriver@7e39] CFBundleExecutable: "Runner"
[e844e520][XCUITestDriver@7e39] Parsed BUILD_DIR configuration value: '/Users/atmaram/.appium/node_modules/appium-flutter-integration-driver/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/build'
[e844e520][XCUITestDriver@7e39] Got derived data root: '/Users/atmaram/.appium/node_modules/appium-flutter-integration-driver/node_modules/appium-xcuitest-driver/node_modules'
[e844e520][XCUITestDriver@7e39] Architectures in the fat file: /Users/atmaram/data/work/gh/sedstart/flights-flutter/build/ios/iphonesimulator/Runner.app/Runner are: x86_64 arm64
[e844e520][XCUITestDriver@7e39] Current process architecture: arm64
[e844e520][XCUITestDriver@7e39] Is Apple Silicon CPU: true
[e844e520][XCUITestDriver@7e39] App 'com.example.flightQa' is already installed
[e844e520][XCUITestDriver@7e39] Reset requested. Removing app with id 'com.example.flightQa' from the device
[e844e520][XCUITestDriver@7e39] Installing '/Users/atmaram/data/work/gh/sedstart/flights-flutter/build/ios/iphonesimulator/Runner.app' on Simulator with UUID '51ECE279-11BD-436A-B8C5-C6B0720F2F87'...
[e844e520][XCUITestDriver@7e39] The app has been successfully installed in 650ms
[e844e520][XCUITestDriver@7e39] Event 'appInstalled' logged at 1758551290932 (19:58:10 GMT+0530 (India Standard Time))
[e844e520][XCUITestDriver@7e39] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[e844e520][DevCon Factory] Requesting connection for device 51ECE279-11BD-436A-B8C5-C6B0720F2F87 on local port 8100
[e844e520][DevCon Factory] Cached connections count: 0
[e844e520][DevCon Factory] Successfully requested the connection for 51ECE279-11BD-436A-B8C5-C6B0720F2F87:8100
[e844e520][XCUITestDriver@7e39] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[e844e520][WD Proxy] NoSessionProxy options: {"server":"127.0.0.1","port":"8100","base":"","timeout":3000,"scheme":"http","reqBasePath":"","sessionId":null}
[e844e520][WD Proxy] Matched '/status' to command name 'getStatus'
[e844e520][WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[e844e520][WD Proxy] Got response with status 200: {"value":{"build":{"upgradedAt":"1758271075998","version":"9.3.3","time":"Sep 19 2025 14:09:59","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"},"os":{"testmanagerdVersion":65535,"name":"iOS","sdkVersion":"18.4","version":"18.6"},"device":"iphone","ios":{"simulatorVersion":"18.6","ip":"192.168.0.10"},"message":"WebDriverAgent is ready to accept commands","state":"success","ready":true},"sessionId":null}
[e844e520][XCUITestDriver@7e39] Upgrade timestamp of the currently bundled WDA: 1758271075998
[e844e520][XCUITestDriver@7e39] Upgrade timestamp of the WDA on the device: 1758271075998
[e844e520][XCUITestDriver@7e39] Will reuse previously cached WDA instance at 'http://127.0.0.1:8100/' with 'com.facebook.WebDriverAgentRunner'. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior.
[e844e520][XCUITestDriver@7e39] Trying to start WebDriverAgent 2 times with 10000ms interval
[e844e520][XCUITestDriver@7e39] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[e844e520][XCUITestDriver@7e39] Event 'wdaStartAttempted' logged at 1758551291081 (19:58:11 GMT+0530 (India Standard Time))
[e844e520][XCUITestDriver@7e39] Using provided WebdriverAgent at 'http://127.0.0.1:8100/'
[e844e520][XCUITestDriver@7e39] JWProxy options: {"server":"127.0.0.1","port":8100,"base":"","timeout":240000,"keepAlive":true,"scheme":"http","reqBasePath":"","sessionId":null}
[e844e520][XCUITestDriver@7e39] NoSessionProxy options: {"server":"127.0.0.1","port":8100,"base":"","timeout":240000,"keepAlive":true,"scheme":"http","reqBasePath":"","sessionId":null}
[e844e520][WD Proxy] NoSessionProxy options: {"server":"127.0.0.1","port":"8100","base":"","timeout":3000,"scheme":"http","reqBasePath":"","sessionId":null}
[e844e520][WD Proxy] Matched '/status' to command name 'getStatus'
[e844e520][WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[e844e520][WD Proxy] Got response with status 200: {"value":{"build":{"upgradedAt":"1758271075998","version":"9.3.3","time":"Sep 19 2025 14:09:59","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"},"os":{"testmanagerdVersion":65535,"name":"iOS","sdkVersion":"18.4","version":"18.6"},"device":"iphone","ios":{"simulatorVersion":"18.6","ip":"192.168.0.10"},"message":"WebDriverAgent is ready to accept commands","state":"success","ready":true},"sessionId":null}
[e844e520][XCUITestDriver@7e39] Event 'wdaSessionAttempted' logged at 1758551291083 (19:58:11 GMT+0530 (India Standard Time))
[e844e520][XCUITestDriver@7e39] Sending createSession command to WDA
[e844e520][XCUITestDriver@7e39] Matched '/session' to command name 'createSession'
[e844e520][XCUITestDriver@7e39] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.example.flightQa","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":false}],"alwaysMatch":{}}}
[e844e520][XCUITestDriver@7e39] Got response with status 200: {"value":{"sessionId":"F32D611A-A493-4A09-9ACC-193E93221A7F","capabilities":{"sdkVersion":"18.6","device":"iphone"}},"sessionId":"F32D611A-A493-4A09-9ACC-193E93221A7F"}
[e844e520][XCUITestDriver@7e39] Determined the downstream protocol as 'W3C'
[e844e520][XCUITestDriver@7e39] WDA session startup took 2211ms
[e844e520][XCUITestDriver@7e39] Event 'wdaSessionStarted' logged at 1758551293295 (19:58:13 GMT+0530 (India Standard Time))
[e844e520][XCUITestDriver@7e39] Event 'wdaStarted' logged at 1758551293295 (19:58:13 GMT+0530 (India Standard Time))
[e844e520][BaseDriver] The value of 'elementResponseAttributes' setting did not change. Skipping the update for it
[e844e520][BaseDriver] The value of 'shouldUseCompactResponses' setting did not change. Skipping the update for it
[e844e520][XCUITestDriver@7e39] Forwarding MJPEG server port 9100 to local port 9100
[e844e520][DevCon Factory] Requesting connection for device 51ECE279-11BD-436A-B8C5-C6B0720F2F87 on local port 9100, device port 9100
[e844e520][DevCon Factory] Cached connections count: 1
[e844e520][DevCon Factory] Successfully requested the connection for 51ECE279-11BD-436A-B8C5-C6B0720F2F87:9100
[e844e520][AppiumFlutterDriver@16db] Checking if flutter server is running on port 9000 for simulator with id 51ECE279-11BD-436A-B8C5-C6B0720F2F87
[e844e520][WD Proxy] JWProxy options: {"server":"127.0.0.1","port":9000,"base":"","reqBasePath":"","scheme":"http","sessionId":null,"timeout":240000}
[e844e520][WD Proxy] Matched '/status' to command name 'getStatus'
[e844e520][WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:9000/status] with no body
[e844e520][WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"Flutter driver is ready to accept new connections","appInfo":{"appName":"Flight Qa","buildNumber":"0.1.0","packageName":"com.example.flightQa","version":"0.1.0","installerStore":"com.apple.simulator","installTime":"2025-09-22T19:58:10.585","updateTime":"2025-09-22T18:47:25.000"},"serverVersion":"0.0.29"}}
[e844e520][AppiumFlutterDriver@16db] Flutter server is successfully running on port 9000
[e844e520][WD Proxy] JWProxy options: {"server":"127.0.0.1","port":9000,"scheme":"http","base":"","reqBasePath":"","sessionId":null,"timeout":240000}
[e844e520][WD Proxy] Matched '/session' to command name 'createSession'
[e844e520][WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:9000/session] with body: {"capabilities":{"platformName":"iOS","app":"/Users/atmaram/data/work/gh/sedstart/flights-flutter/build/ios/iphonesimulator/Runner.app","automationName":"FlutterIntegration","connectHardwareKeyboard":true,"deviceName":"iPhone 16 Plus","newCommandTimeout":3600,"platformVersion":"18.6"}}
[e844e520][WD Proxy] Got response with status 200: {"sessionId":"41f451f5-6cc9-4b42-8f85-a80a8bd1fbc4","value":{}}
[e844e520][WD Proxy] Determined the downstream protocol as 'W3C'
[e844e520][AppiumDriver@3d40] New AppiumFlutterDriver session created successfully, session 890ba33a-f74a-429f-85e7-3d4b80c73433 added to master session list
[e844e520][AppiumDriver@3d40] Event 'newSessionStarted' logged at 1758551293367 (19:58:13 GMT+0530 (India Standard Time))
[e844e520][AppiumDriver@3d40] Promoting 1 sessionless plugins to be attached to session ID 890ba33a-f74a-429f-85e7-3d4b80c73433
[e844e520][AppiumFlutterDriver@16db] Cached the protocol value 'W3C' for the new session 890ba33a-f74a-429f-85e7-3d4b80c73433
[e844e520][AppiumFlutterDriver@16db] Responding to client with driver.createSession() result: {"capabilities":{"subcommand":"server","address":"0.0.0.0","allowCors":true,"port":4723,"usePlugins":["inspector"],"extraArgs":[],"allowInsecure":[],"basePath":"","callbackPort":4723,"debugLogSpacing":false,"denyInsecure":[],"keepAliveTimeout":600,"requestTimeout":3600,"localTimezone":false,"loglevel":"debug","logFormat":"text","logNoColors":false,"logTimestamp":false,"pluginsImportChunkSize":7,"driversImportChunkSize":3,"longStacktrace":false,"noPermsCheck":false,"relaxedSecurityEnabled":false,"shutdownTimeout":5000,"sessionOverride":false,"strictCaps":false,"useDrivers":[],"driver":{"xcuitest":{"wdaLocalPort":8100}},"tmpDir":"/var/folders/pb/pbxvb2cj33j_87v6gddd8jrr0000gq/T","platformName":"iOS","app":"/Users/atmaram/data/work/gh/sedstart/flights-flutter/build/ios/iphonesimulator/Runner.app","automationName":"FlutterIntegration","connectHardwareKeyboard":true,"deviceName":"iPhone 16 Plus","newCommandTimeout":3600,"platformVersion":"18.6","fastReset":true,"skipUninstall":true}}
[e844e520][HTTP] <-- POST /session 200 5470 ms - 1054
[890ba33a][HTTP] --> POST /session/890ba33a-f74a-429f-85e7-3d4b80c73433/appium/start_recording_screen {"options":{"videoType":"h264"}}
[890ba33a][AppiumFlutterDriver@16db] Calling AppiumDriver.startRecordingScreen() with args: [{"videoType":"h264"},"890ba33a-f74a-429f-85e7-3d4b80c73433"]
[890ba33a][AppiumFlutterDriver@16db] Executing the command: startRecordingScreen with args: [object Object],890ba33a-f74a-429f-85e7-3d4b80c73433 and flutterCommand false
[890ba33a] Executing the proxy command: startRecordingScreen with args: [object Object],890ba33a-f74a-429f-85e7-3d4b80c73433
[890ba33a][XCUITestDriver@7e39] Executing command 'startRecordingScreen'
[890ba33a][XCUITestDriver@7e39] Checking if there is/was a previous screen recording. Set 'forceRestart' option to 'true' if you'd like to skip this step.
[890ba33a][XCUITestDriver@7e39] Screen recording is not running. There is nothing to stop.
[890ba33a][XCUITestDriver@7e39] Matched '/appium/settings' to command name 'getSettings'
[890ba33a][XCUITestDriver@7e39] Proxying [GET /appium/settings] to [GET http://127.0.0.1:8100/session/F32D611A-A493-4A09-9ACC-193E93221A7F/appium/settings] with no body
[890ba33a][XCUITestDriver@7e39] Got response with status 200: {"value":{"mjpegFixOrientation":false,"boundElementsByIndex":false,"mjpegServerFramerate":10,"maxTypingFrequency":60,"reduceMotion":false,"respectSystemAlerts":false,"elementResponseAttributes":"type,label","screenshotQuality":3,"mjpegScalingFactor":100,"screenshotOrientation":"auto","keyboardPrediction":0,"defaultActiveApplication":"auto","mjpegServerScreenshotQuality":25,"limitXPathContextScope":true,"defaultAlertAction":"","keyboardAutocorrection":0,"useFirstMatch":false,"shouldUseCompactResponses":true,"dismissAlertButtonSelector":"","activeAppDetectionPoint":"64.00,64.00","useClearTextShortcut":true,"snapshotMaxDepth":50,"waitForIdleTimeout":10,"includeNonModalElements":false,"acceptAlertButtonSelector":"","animationCoolOffTimeout":2},"sessionId":"F32D611A-A493-4A09-9ACC-193E93221A7F"}
[890ba33a][ffmpeg] ffmpeg version 8.0 Copyright (c) 2000-2025 the FFmpeg developers
[890ba33a][ffmpeg] built with Apple clang version 17.0.0 (clang-1700.0.13.3)
[890ba33a][ffmpeg] configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/8.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
[890ba33a][ffmpeg] libavutil 60. 8.100 / 60. 8.100
[890ba33a][ffmpeg] libavcodec 62. 11.100 / 62. 11.100
[890ba33a][ffmpeg] libavformat 62. 3.100 / 62. 3.100
[890ba33a][ffmpeg] libavdevice 62. 1.100 / 62. 1.100
[890ba33a][ffmpeg] libavfilter 11. 4.100 / 11. 4.100
[890ba33a][ffmpeg] libswscale 9. 1.100 / 9. 1.100
[890ba33a][ffmpeg] libswresample 6. 1.100 / 6. 1.100
[890ba33a][ffmpeg] [http @ 0x600000100000] Will reconnect at 1706 in 0 second(s), error=End of file.
[890ba33a][XCUITestDriver@7e39] Screen capture process did not start within 5000ms. Continuing anyway
[890ba33a][XCUITestDriver@7e39] Starting screen capture on the device '51ECE279-11BD-436A-B8C5-C6B0720F2F87' with command: 'ffmpeg -f mjpeg -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 181 -i http://127.0.0.1:9100 -vcodec h264 -y /var/folders/pb/pbxvb2cj33j_87v6gddd8jrr0000gq/T/2025822-73142-18vpnae.p0yul/appium_dc5bd3.mp4'. Will timeout in 180000ms
[890ba33a][AppiumFlutterDriver@16db] Responding to client with driver.startRecordingScreen() result: ""
[890ba33a][HTTP] <-- POST /session/890ba33a-f74a-429f-85e7-3d4b80c73433/appium/start_recording_screen 200 5026 ms - 12
[890ba33a][HTTP] --> POST /session/890ba33a-f74a-429f-85e7-3d4b80c73433/appium/stop_recording_screen {}
[890ba33a][AppiumFlutterDriver@16db] Calling AppiumDriver.stopRecordingScreen() with args: [null,"890ba33a-f74a-429f-85e7-3d4b80c73433"]
[890ba33a][AppiumFlutterDriver@16db] Executing the command: stopRecordingScreen with args: ,890ba33a-f74a-429f-85e7-3d4b80c73433 and flutterCommand false
[890ba33a] Executing the proxy command: stopRecordingScreen with args: ,890ba33a-f74a-429f-85e7-3d4b80c73433
[890ba33a][XCUITestDriver@7e39] Executing command 'stopRecordingScreen'
[890ba33a][ffmpeg] Last message repeated 2737 times
[890ba33a][ffmpeg] [mjpeg @ 0x1590049e0] No JPEG data found in image
[890ba33a][ffmpeg] [mjpeg @ 0x159204190] Could not find codec parameters for stream 0 (Video: mjpeg, none(bt470bg/unknown/unknown)): unspecified size
[890ba33a][ffmpeg] Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[890ba33a][ffmpeg] Input #0, mjpeg, from 'http://127.0.0.1:9100':
[890ba33a][ffmpeg] Duration: N/A, bitrate: N/A
[890ba33a][ffmpeg] Stream #0:0: Video: mjpeg, none(bt470bg/unknown/unknown), 25 fps, 1200k tbr, 1200k tbn
[890ba33a][ffmpeg] Stream mapping:
[890ba33a][ffmpeg] Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
[890ba33a][ffmpeg] Press [q] to stop, [?] for help
[890ba33a][ffmpeg] [in#0/mjpeg @ 0x159204080] Error during demuxing: Immediate exit requested
[890ba33a][ffmpeg] [mjpeg @ 0x157704ca0] No JPEG data found in image
[890ba33a][ffmpeg] [vist#0:0/mjpeg @ 0x141104080] [dec:mjpeg @ 0x159104200] Error submitting packet to decoder: Invalid data found when processing input
[890ba33a][ffmpeg] [vist#0:0/mjpeg @ 0x141104080] [dec:mjpeg @ 0x159104200] Decode error rate 1 exceeds maximum 0.666667
[890ba33a][ffmpeg] [vist#0:0/mjpeg @ 0x141104080] [dec:mjpeg @ 0x159104200] Task finished with error code: -1145393733 (Error number -1145393733 occurred)
[890ba33a][ffmpeg] [vf#0:0 @ 0x141808200] Cannot determine format of input 0:0 after EOF
[890ba33a][ffmpeg] [vf#0:0 @ 0x141808200] Task finished with error code: -1094995529 (Invalid data found when processing input)
[890ba33a][ffmpeg] [vf#0:0 @ 0x141808200] Terminating thread with return code -1094995529 (Invalid data found when processing input)
[890ba33a][ffmpeg] [vost#0:0/libx264 @ 0x1412048a0] [enc:libx264 @ 0x6000004140e0] Could not open encoder before EOF
[890ba33a][ffmpeg] [vost#0:0/libx264 @ 0x1412048a0] Task finished with error code: -22 (Invalid argument)
[890ba33a][ffmpeg] [vost#0:0/libx264 @ 0x1412048a0] Terminating thread with return code -22 (Invalid argument)
[890ba33a][ffmpeg] [vist#0:0/mjpeg @ 0x141104080] [dec:mjpeg @ 0x159104200] Terminating thread with return code -1145393733 (Error number -1145393733 occurred)
[890ba33a][ffmpeg] [out#0/mp4 @ 0x600001a08000] Nothing was written into output file, because at least one of its streams received no packets.
[890ba33a][ffmpeg] Exiting normally, received signal 2.
[890ba33a][XCUITest] The size of the file is 0 B
[890ba33a][AppiumFlutterDriver@16db] Responding to client with driver.stopRecordingScreen() result: ""
[890ba33a][HTTP] <-- POST /session/890ba33a-f74a-429f-85e7-3d4b80c73433/appium/stop_recording_screen 200 29 ms - 12
[890ba33a][HTTP] --> DELETE /session/890ba33a-f74a-429f-85e7-3d4b80c73433 {}
[890ba33a][AppiumFlutterDriver@16db] Calling AppiumDriver.deleteSession() with args: ["890ba33a-f74a-429f-85e7-3d4b80c73433"]
[890ba33a][AppiumDriver@3d40] Event 'quitSessionRequested' logged at 1758551298434 (19:58:18 GMT+0530 (India Standard Time))
[890ba33a][AppiumDriver@3d40] Removing session 890ba33a-f74a-429f-85e7-3d4b80c73433 from our master session list
[890ba33a][XCUITestDriver@7e39] Proxying [DELETE /session/e844e520-3c5d-4318-b700-ef7d30e3f3cb] to [DELETE http://127.0.0.1:8100/session/F32D611A-A493-4A09-9ACC-193E93221A7F] with no body
[890ba33a][XCUITestDriver@7e39] Got response with status 200: {"value":null,"sessionId":null}
[890ba33a][DevCon Factory] Releasing connections for 51ECE279-11BD-436A-B8C5-C6B0720F2F87 device on any port number
[890ba33a][DevCon Factory] Found cached connections to release: ["51ECE279-11BD-436A-B8C5-C6B0720F2F87:8100","51ECE279-11BD-436A-B8C5-C6B0720F2F87:9100"]
[890ba33a][DevCon Factory] Cached connections count: 0
[890ba33a][XCUITestDriver@7e39] Not clearing log files. Use clearSystemFiles capability to turn on.
[890ba33a][XCUITestDriver@7e39] Stopping iOS log capture
[890ba33a][AppiumDriver@3d40] Event 'quitSessionFinished' logged at 1758551299496 (19:58:19 GMT+0530 (India Standard Time))
[890ba33a][AppiumDriver@3d40] Received response: null
[890ba33a][AppiumDriver@3d40] But deleting session, so not returning
[890ba33a][AppiumDriver@3d40] Responding to client with driver.deleteSession() result: null
[890ba33a][HTTP] <-- DELETE /session/890ba33a-f74a-429f-85e7-3d4b80c73433 200 1063 ms - 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions