add features

Signed-off-by: joycetao <ibluegalaxy_taoj@163.com>
This commit is contained in:
BlueCitizen 2022-07-07 07:47:01 +00:00 committed by Gitee
parent 6c6fd699dd
commit a661e6eaad
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 16 additions and 16 deletions

View File

@ -91,7 +91,8 @@ ohos_source_set("ffmpeg_dynamic") {
# "//third_party/ffmpeg/libavcodec/ac3enc.c",
# "//third_party/ffmpeg/libavcodec/ac3enc_fixed.c",
# "//third_party/ffmpeg/libavcodec/ac3enc_float.c",
# "//third_party/ffmpeg/libavcodec/ac3tab.c",
"//third_party/ffmpeg/libavcodec/ac3tab.c",
# "//third_party/ffmpeg/libavcodec/acelp_filters.c",
# "//third_party/ffmpeg/libavcodec/acelp_pitch_delay.c",
# "//third_party/ffmpeg/libavcodec/acelp_vectors.c",
@ -329,8 +330,7 @@ ohos_source_set("ffmpeg_dynamic") {
# "//third_party/ffmpeg/libavcodec/fitsdec.c",
# "//third_party/ffmpeg/libavcodec/fitsenc.c",
"//third_party/ffmpeg/libavcodec/flac.c",
# "//third_party/ffmpeg/libavcodec/flac_parser.c",
"//third_party/ffmpeg/libavcodec/flac_parser.c",
"//third_party/ffmpeg/libavcodec/flacdata.c",
"//third_party/ffmpeg/libavcodec/flacdec.c",
"//third_party/ffmpeg/libavcodec/flacdsp.c",
@ -566,8 +566,7 @@ ohos_source_set("ffmpeg_dynamic") {
"//third_party/ffmpeg/libavcodec/mpegaudiodata.c",
"//third_party/ffmpeg/libavcodec/mpegaudiodec_common.c",
"//third_party/ffmpeg/libavcodec/mpegaudiodec_fixed.c",
# "//third_party/ffmpeg/libavcodec/mpegaudiodec_float.c",
"//third_party/ffmpeg/libavcodec/mpegaudiodec_float.c",
"//third_party/ffmpeg/libavcodec/mpegaudiodecheader.c",
"//third_party/ffmpeg/libavcodec/mpegaudiodsp.c",
"//third_party/ffmpeg/libavcodec/mpegaudiodsp_data.c",
@ -957,7 +956,7 @@ ohos_source_set("ffmpeg_dynamic") {
# "//third_party/ffmpeg/libavformat/amr.c",
# "//third_party/ffmpeg/libavformat/anm.c",
# "//third_party/ffmpeg/libavformat/apc.c",
# "//third_party/ffmpeg/libavformat/ape.c",
"//third_party/ffmpeg/libavformat/ape.c",
"//third_party/ffmpeg/libavformat/apetag.c",
# "//third_party/ffmpeg/libavformat/apngdec.c",
@ -1138,10 +1137,9 @@ ohos_source_set("ffmpeg_dynamic") {
# "//third_party/ffmpeg/libavformat/mms.c",
# "//third_party/ffmpeg/libavformat/mmsh.c",
# "//third_party/ffmpeg/libavformat/mmst.c",
# "//third_party/ffmpeg/libavformat/mov.c",
"//third_party/ffmpeg/libavformat/mov.c",
"//third_party/ffmpeg/libavformat/mov_chan.c",
# "//third_party/ffmpeg/libavformat/mov_esds.c",
"//third_party/ffmpeg/libavformat/mov_esds.c",
"//third_party/ffmpeg/libavformat/movenc.c",
"//third_party/ffmpeg/libavformat/movenccenc.c",
"//third_party/ffmpeg/libavformat/movenchint.c",
@ -1203,7 +1201,8 @@ ohos_source_set("ffmpeg_dynamic") {
"//third_party/ffmpeg/libavformat/os_support.c",
# "//third_party/ffmpeg/libavformat/paf.c",
# "//third_party/ffmpeg/libavformat/pcm.c",
"//third_party/ffmpeg/libavformat/pcm.c",
# "//third_party/ffmpeg/libavformat/pcmdec.c",
# "//third_party/ffmpeg/libavformat/pjsdec.c",
# "//third_party/ffmpeg/libavformat/pmpdec.c",
@ -1214,7 +1213,8 @@ ohos_source_set("ffmpeg_dynamic") {
# "//third_party/ffmpeg/libavformat/pva.c",
# "//third_party/ffmpeg/libavformat/pvfdec.c",
# "//third_party/ffmpeg/libavformat/qcp.c",
# "//third_party/ffmpeg/libavformat/qtpalette.c",
"//third_party/ffmpeg/libavformat/qtpalette.c",
# "//third_party/ffmpeg/libavformat/r3d.c",
"//third_party/ffmpeg/libavformat/rawdec.c",
"//third_party/ffmpeg/libavformat/rawenc.c",
@ -1226,8 +1226,7 @@ ohos_source_set("ffmpeg_dynamic") {
# "//third_party/ffmpeg/libavformat/redspark.c",
"//third_party/ffmpeg/libavformat/replaygain.c",
"//third_party/ffmpeg/libavformat/riff.c",
# "//third_party/ffmpeg/libavformat/riffdec.c",
"//third_party/ffmpeg/libavformat/riffdec.c",
"//third_party/ffmpeg/libavformat/riffenc.c",
# "//third_party/ffmpeg/libavformat/rl2.c",
@ -1377,7 +1376,8 @@ ohos_source_set("ffmpeg_dynamic") {
# "//third_party/ffmpeg/libavformat/vplayerdec.c",
# "//third_party/ffmpeg/libavformat/vqf.c",
# "//third_party/ffmpeg/libavformat/w64.c",
# "//third_party/ffmpeg/libavformat/wavdec.c",
"//third_party/ffmpeg/libavformat/wavdec.c",
# "//third_party/ffmpeg/libavformat/wavenc.c",
# "//third_party/ffmpeg/libavformat/wc3movie.c",
# "//third_party/ffmpeg/libavformat/webm_chunk.c",

View File

@ -46,12 +46,12 @@ FF_CONFIG_OPTIONS="
--disable-sdl2
--disable-bzlib
--disable-lzma
--enable-demuxer=mp3,aac,ogg
--enable-demuxer=mp3,aac,ape,flac,ogg,wav,mov
--enable-muxer=mp4,h264
--enable-parser=h263,mpeg4video,vp8,vp9
--enable-parser=mpegaudio,aac_latm
--enable-decoder=h263,h264,mpeg2video,mpeg4,vp8,vp9
--enable-decoder=mp3,aac,aac_latm,ape,flac,vorbis,opus
--enable-decoder=mp3,mp3float,aac,aac_latm,ape,flac,vorbis,opus
--enable-encoder=aac,aac_latm,opus
--enable-encoder=mpeg4,h263
"