Closed equationl closed 6 months ago
After try again, I found that using FFmpegKit.executeWithArgumentsAsync(cmdList)
with cmd which is list will get No such filter: 'transpose=2'
error.
But same cmd, I just replace to FFmpegKit.executeAsync(cmdString)
it will work well.
Finally, I knows what happen about it.
If using FFmpegKit.executeWithArgumentsAsync(cmdList)
, any quote in list is unnecessary.
So, just edit from:
var cmd = [
"-y",
"-ss",
"0ms",
"-t",
"4667ms",
"-i",
"xxx/test.mp4",
"-vf",
- "'transpose=2'",
"xxx/test.gif",
];
FFmpegKit.executeWithArgumentsAsync(cmd);
To:
var cmd = [
"-y",
"-ss",
"0ms",
"-t",
"4667ms",
"-i",
"xxx/test.mp4",
"-vf",
+ "transpose=2",
"xxx/test.gif",
];
FFmpegKit.executeWithArgumentsAsync(cmd);
It will work.
Try to add to add full-gpl package. It worked for me when I was trying to use eq filter
Go through the documentation, you will find the steps.
@farid-itpath Check my code, I using package ffmpeg_kit_flutter_full_gpl: 6.0.3
, this issue not cause package.
Description Run filter cmd get a error: No such filter: 'transpose=2'
Expected behavior I just want use transpose filter to rotation video.
Current behavior It can't run transpose filter
To Reproduce
My command:
-y -ss 0ms -t 4667ms -i test.mp4 -vf 'transpose=2' test.gif
When I run it by :
I got a error:
No such filter: 'transpose=2
I aready try this cmd by another ffmpeg excuteable on windows, it work well;
Logs
Environment
Flutter
arm64-v8a
ffmpeg_kit_flutter_full_gpl: 6.0.3
main
,