Add ffmpeg flac encoder support

Signed-off-by: audioDever <blue2yellow@163.com>
This commit is contained in:
audioDever 2023-05-24 15:05:31 +08:00
parent c9d81343a3
commit a70ac1016c
2 changed files with 2 additions and 2 deletions

View File

@ -339,7 +339,7 @@ ohos_source_set("ffmpeg_dynamic") {
"//third_party/ffmpeg/libavcodec/flacdec.c",
"//third_party/ffmpeg/libavcodec/flacdsp.c",
# "//third_party/ffmpeg/libavcodec/flacenc.c",
"//third_party/ffmpeg/libavcodec/flacenc.c",
# "//third_party/ffmpeg/libavcodec/flicvideo.c",
# "//third_party/ffmpeg/libavcodec/flvdec.c",
# "//third_party/ffmpeg/libavcodec/flvenc.c",

View File

@ -51,7 +51,7 @@ FF_CONFIG_OPTIONS="
--enable-parser=mpegaudio,aac,aac_latm,av3a
--enable-decoder=h263,h264,mpeg2video,mpeg4,vp8,vp9
--enable-decoder=mp3,mp3float,aac,aac_latm,ape,flac,vorbis,opus
--enable-encoder=aac,aac_latm,opus
--enable-encoder=aac,aac_latm,opus,flac
--enable-encoder=mpeg4,h263
--enable-bsf=h264_mp4toannexb
"