run command to get Mac list_devices return Error
Description
run command with FFmpegKit.execute("-f avfoundation -list_devices true -i \"\"") can't get devicelist
ERROR: Missing argument for option 'i'. FATAL: Error splitting the argument list: FATAL: Invalid argument
Expected behavior What you expected to happen.
Current behavior What happened.
To Reproduce Steps to reproduce the behaviour.
Screenshots If applicable, add screenshots to help explain your problem.
Logs Post logs here or paste them to Ghostbin and insert the link here.
Environment
- Platform:
Android/Flutter/iOS/macOS/ReactNative/tvOS - Architecture:
arm-v7a,arm-v7a-neon,arm64-v8a,x86,x86_64,armv7,armv7s,arm64,arm64-mac-catalyst,arm64-simulator,arm64e,i386,x86-64,x86-64-mac-catalyst - Version:
v4.5/v4.5.LTS - Source branch:
main,development - Xcode version:
12.4.1 - Cocoapods version:
1.10.1 - Android Studio version:
4.0 - Android NDK version:
r22b - flutter doctor:
- react-native info:
Other Add any other context about the problem here.
FFmpegKitConfig.parseArguments method used to split the command into arguments doesn't allow zero length arguments. Therefore, the last argument of your command is dropped and your command fails with an error. Try using FFmpegKit.executeWithArguments method instead by building the argument list yourself.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.