Closed fchristysen closed 2 years ago
Can you try by splitting -vframes 1
to -vframes
and 1
please?
it works, Thanks a lot!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description I'm trying to get a single frame from
.mp4
files and output it as jpg/png in Android. I try the following commandsffmpeg -ss 00:00:06 -i altenburg.mp4 -vframes 1 output.jpeg
but failed with ffmpeg-kit. I try the same command in my ubuntu desktop with same.mp4
file and it successfully extract the frame. The version I use in my linux isffmpeg version 4.2.4-1ubuntu0.1
Expected behavior Output correct image based on frame from the specified time.
Current behavior Got error
ffmpeg-kit: Unrecognized option 'vframes 1'.
See logs belowTo Reproduce Snippet of the code
Logs
Environment
com.arthenica:ffmpeg-kit-min-gpl:4.5.LTS
(also tried with LTS full version)