arthenica / ffmpeg-kit

FFmpeg Kit for applications. Supports Android, Flutter, iOS, Linux, macOS, React Native and tvOS. Supersedes MobileFFmpeg, flutter_ffmpeg and react-native-ffmpeg.
https://arthenica.github.io/ffmpeg-kit
GNU Lesser General Public License v3.0
4.52k stars 603 forks source link

Flutter: Lack of Support for AV1 and VC-1 Codecs #1025

Open husen-hn opened 3 months ago

husen-hn commented 3 months ago

Description The FFmpeg plugin for Flutter does not support the AV1 and VC-1 video codecs. This limits its usability in scenarios where these codecs are required.

Expected behavior The plugin should be able to decode and encode videos using the AV1 and VC-1 codecs.

Current behavior The plugin throws an error when attempting to use AV1 or VC-1 codecs.

Logs

[vost#0:0 0x55cdf3bd2180] Unknown encoder 'vc1'
[vost#0:0 0x55cdf3bd2180] Error selecting an encoder
Error opening output file video.wmv
Error opening output files: Encoder not found

Environment

• No issues found!

github-actions[bot] commented 1 month ago

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.

tanersener commented 3 weeks ago

Correct, we only have dav1d as a decoder, but no encoders.

libaom is technically there but you need to build your own ffmpeg-kit package since it is not included in the current ffmpeg-kit packages. We are evaluating supporting other AV1 encoders. The main problem is they don't support all platforms.