arthenica / ffmpeg-kit-test

Test applications for FFmpegKit.
MIT License
155 stars 61 forks source link

Support the libaom library? #63

Open fangzb opened 6 days ago

fangzb commented 6 days ago

Does it support the libaom library? My requirement is to encode the video into av1 format

tanersener commented 4 days ago

If you build ffmpeg-kit with libaom support then you can use the test applications to test the build.

fangzb commented 4 days ago

If you build ffmpeg-kit with libaom support then you can use the test applications to test the build.

Thanks for your reply. What should I do next? just "enable --libaom" and build?

tanersener commented 3 days ago

Yes, build a new ffmpeg-kit binary, run one of the top level build scripts (e.g. android.sh, ios.sh, tvos.sh, macos.sh) and add the --enable-libaom flag.

fangzb commented 3 days ago

Yes, build a new ffmpeg-kit binary, run one of the top level build scripts (e.g. android.sh, ios.sh, tvos.sh, macos.sh) and add the --enable-libaom flag.

Understood, I will give it a try and come to a conclusion later. Thank you

fangzb commented 3 days ago

Yes, build a new ffmpeg-kit binary, run one of the top level build scripts (e.g. android.sh, ios.sh, tvos.sh, macos.sh) and add the --enable-libaom flag.

Understood, I will give it a try and come to a conclusion later. Thank you

Following your instructions, after rebuilding the build, libaom is now supported, but it is very very slow ... It takes an hour to transcode a 20MB video。Have you tried libsvtav1 or other encode lib?

tanersener commented 1 day ago

Yes, libaom is slow, so we don't build it by default. We also tried other AV1 encoders, but ran into problems with them."