From 0478024ec340635477582d4af6e8b0060412322e Mon Sep 17 00:00:00 2001 From: samuellanca Date: Mon, 18 Nov 2024 12:09:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Edemuxer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: samuellanca --- BUILD.gn | 2 +- ohos_config.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 281c8f2bad..58e071afbe 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -1305,7 +1305,7 @@ ohos_source_set("ffmpeg_dynamic") { "//third_party/ffmpeg/libavformat/mpegts.c", "//third_party/ffmpeg/libavformat/mpegtsenc.c", - # "//third_party/ffmpeg/libavformat/mpegvideodec.c", + "//third_party/ffmpeg/libavformat/mpegvideodec.c", # "//third_party/ffmpeg/libavformat/mpjpeg.c", # "//third_party/ffmpeg/libavformat/mpjpegdec.c", # "//third_party/ffmpeg/libavformat/mpl2dec.c", diff --git a/ohos_config.sh b/ohos_config.sh index af2af2e082..664e5cf6c8 100755 --- a/ohos_config.sh +++ b/ohos_config.sh @@ -50,7 +50,7 @@ FF_CONFIG_OPTIONS=" --disable-bzlib --disable-lzma --disable-vulkan - --enable-demuxer=mp3,aac,ape,flac,ogg,wav,mov,mpegts,amr,amrnb,amrwb,matroska,flv,mpegps,asf,asf_o,srt,h264,webvtt,av3a,avi + --enable-demuxer=mp3,aac,ape,flac,ogg,wav,mov,mpegts,amr,amrnb,amrwb,matroska,flv,mpegps,asf,asf_o,srt,h264,webvtt,av3a,avi,mpegvideo --enable-muxer=mp4,h264,ipod,amr,mpegts,mp3,wav,flac,av3a --enable-parser=h263,h264,mpeg4video,vp8,vp9,mpegvideo --enable-parser=mpegaudio,aac,aac_latm,av3a,amr,opus @@ -144,7 +144,7 @@ FF_CONFIG_OPTIONS=" --disable-sdl2 --disable-bzlib --disable-lzma - --enable-demuxer=mp3,aac,ape,flac,ogg,wav,mov,mpegts,amr,amrnb,amrwb,matroska,flv,mpegps,asf,asf_o,srt,h264,webvtt,av3a,avi + --enable-demuxer=mp3,aac,ape,flac,ogg,wav,mov,mpegts,amr,amrnb,amrwb,matroska,flv,mpegps,asf,asf_o,srt,h264,webvtt,av3a,avi,mpegvideo --enable-muxer=mp4,h264,ipod,amr,mpegts,mp3,wav,flac,av3a --enable-parser=h263,h264,mpeg4video,vp8,vp9,mpegvideo --enable-parser=mpegaudio,aac,aac_latm,av3a,amr,opus