Add AAC/H264 encoders, MP4 muxer.

This commit is contained in:
John Preston 2024-10-08 12:32:01 +04:00
parent 285c96fd2e
commit 4dc7fd8cd1
2 changed files with 9 additions and 1 deletions

View File

@ -493,6 +493,7 @@ RUN git clone -b n6.1.1 --depth=1 {{ GIT }}/FFmpeg/FFmpeg.git \
--disable-autodetect \
--disable-everything \
--enable-libdav1d \
--enable-libopenh264 \
--enable-libopus \
--enable-libvpx \
--enable-vaapi \
@ -587,6 +588,8 @@ RUN git clone -b n6.1.1 --depth=1 {{ GIT }}/FFmpeg/FFmpeg.git \
--enable-decoder=wmav1 \
--enable-decoder=wmav2 \
--enable-decoder=wmavoice \
--enable-encoder=aac \
--enable-encoder=libopenh264 \
--enable-encoder=libopus \
--enable-filter=atempo \
--enable-parser=aac \
@ -610,6 +613,7 @@ RUN git clone -b n6.1.1 --depth=1 {{ GIT }}/FFmpeg/FFmpeg.git \
--enable-demuxer=mp3 \
--enable-demuxer=ogg \
--enable-demuxer=wav \
--enable-muxer=mp4 \
--enable-muxer=ogg \
--enable-muxer=opus \
&& make -j$(nproc) \

View File

@ -1217,13 +1217,14 @@ depends:yasm/yasm
--arch="$arch" \
--extra-cflags="$MIN_VER -arch $arch $UNGUARDED -DCONFIG_SAFE_BITSTREAM_READER=1 -I$USED_PREFIX/include" \
--extra-cxxflags="$MIN_VER -arch $arch $UNGUARDED -DCONFIG_SAFE_BITSTREAM_READER=1 -I$USED_PREFIX/include" \
--extra-ldflags="$MIN_VER -arch $arch $USED_PREFIX/lib/libopus.a" \
--extra-ldflags="$MIN_VER -arch $arch $USED_PREFIX/lib/libopus.a -lc++" \
--disable-programs \
--disable-doc \
--disable-network \
--disable-everything \
--enable-protocol=file \
--enable-libdav1d \
--enable-libopenh264 \
--enable-libopus \
--enable-libvpx \
--enable-hwaccel=h264_videotoolbox \
@ -1301,7 +1302,9 @@ depends:yasm/yasm
--enable-decoder=wmav1 \
--enable-decoder=wmav2 \
--enable-decoder=wmavoice \
--enable-encoder=aac \
--enable-encoder=libopus \
--enable-encoder=libopenh264 \
--enable-filter=atempo \
--enable-parser=aac \
--enable-parser=aac_latm \
@ -1324,6 +1327,7 @@ depends:yasm/yasm
--enable-demuxer=mp3 \
--enable-demuxer=ogg \
--enable-demuxer=wav \
--enable-muxer=mp4 \
--enable-muxer=ogg \
--enable-muxer=opus
}