mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
add swscale and mpegts
Signed-off-by: joycetao <ibluegalaxy_taoj@163.com>
This commit is contained in:
parent
a661e6eaad
commit
17b89ea1b0
17
BUILD.gn
17
BUILD.gn
@ -1150,7 +1150,7 @@ ohos_source_set("ffmpeg_dynamic") {
|
||||
# "//third_party/ffmpeg/libavformat/mpc8.c",
|
||||
# "//third_party/ffmpeg/libavformat/mpeg.c",
|
||||
# "//third_party/ffmpeg/libavformat/mpegenc.c",
|
||||
# "//third_party/ffmpeg/libavformat/mpegts.c",
|
||||
"//third_party/ffmpeg/libavformat/mpegts.c",
|
||||
# "//third_party/ffmpeg/libavformat/mpegtsenc.c",
|
||||
# "//third_party/ffmpeg/libavformat/mpegvideodec.c",
|
||||
# "//third_party/ffmpeg/libavformat/mpjpeg.c",
|
||||
@ -1487,12 +1487,27 @@ ohos_source_set("ffmpeg_dynamic") {
|
||||
"//third_party/ffmpeg/libswresample/resample_dsp.c",
|
||||
"//third_party/ffmpeg/libswresample/swresample.c",
|
||||
"//third_party/ffmpeg/libswresample/swresample_frame.c",
|
||||
"//third_party/ffmpeg/libswscale/alphablend.c",
|
||||
"//third_party/ffmpeg/libswscale/gamma.c",
|
||||
"//third_party/ffmpeg/libswscale/hscale.c",
|
||||
"//third_party/ffmpeg/libswscale/hscale_fast_bilinear.c",
|
||||
"//third_party/ffmpeg/libswscale/input.c",
|
||||
"//third_party/ffmpeg/libswscale/options.c",
|
||||
"//third_party/ffmpeg/libswscale/output.c",
|
||||
"//third_party/ffmpeg/libswscale/rgb2rgb.c",
|
||||
"//third_party/ffmpeg/libswscale/slice.c",
|
||||
"//third_party/ffmpeg/libswscale/swscale.c",
|
||||
"//third_party/ffmpeg/libswscale/swscale_unscaled.c",
|
||||
"//third_party/ffmpeg/libswscale/utils.c",
|
||||
"//third_party/ffmpeg/libswscale/vscale.c",
|
||||
"//third_party/ffmpeg/libswscale/yuv2rgb.c",
|
||||
]
|
||||
include_dirs = [
|
||||
"//third_party/ffmpeg/",
|
||||
"//third_party/ffmpeg/libavformat/",
|
||||
"//third_party/ffmpeg/libavcodec/",
|
||||
"//third_party/ffmpeg/libswresample/",
|
||||
"//third_party/ffmpeg/libswscale/",
|
||||
"//third_party/ffmpeg/libavfilter/",
|
||||
"${target_gen_dir}/include/",
|
||||
]
|
||||
|
@ -8,7 +8,6 @@ FFMPEG_OUT_PATH=$2
|
||||
FF_CONFIG_OPTIONS="
|
||||
--disable-programs
|
||||
--disable-avdevice
|
||||
--disable-swscale
|
||||
--disable-postproc
|
||||
--disable-avfilter
|
||||
--disable-avresample
|
||||
@ -46,7 +45,7 @@ FF_CONFIG_OPTIONS="
|
||||
--disable-sdl2
|
||||
--disable-bzlib
|
||||
--disable-lzma
|
||||
--enable-demuxer=mp3,aac,ape,flac,ogg,wav,mov
|
||||
--enable-demuxer=mp3,aac,ape,flac,ogg,wav,mov,mpegts
|
||||
--enable-muxer=mp4,h264
|
||||
--enable-parser=h263,mpeg4video,vp8,vp9
|
||||
--enable-parser=mpegaudio,aac_latm
|
||||
|
Loading…
Reference in New Issue
Block a user