Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
80aca1bd
Commit
80aca1bd
authored
Mar 16, 2022
by
Linshizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trim unused components
parent
8f39fb6c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
28 deletions
+38
-28
build.sh
build.sh
+13
-13
build-ffmpeg.sh
wasm/build-scripts/build-ffmpeg.sh
+1
-1
configure-ffmpeg.sh
wasm/build-scripts/configure-ffmpeg.sh
+24
-14
No files found.
build.sh
View file @
80aca1bd
...
...
@@ -16,20 +16,20 @@ run-all() {
install-deps
build-zlib
build-x264
build-x265
build-libvpx
build-wavpack
#
build-x265
#
build-libvpx
#
build-wavpack
build-lame
build-fdk-aac
build-ogg
build-vorbis
build-theora
build-opus
build-libwebp
build-freetype2
build-fribidi
build-harfbuzz
build-libass
#
build-fdk-aac
#
build-ogg
#
build-vorbis
#
build-theora
#
build-opus
#
build-libwebp
#
build-freetype2
#
build-fribidi
#
build-harfbuzz
#
build-libass
#build-aom # disabled as it is extremely slow
configure-ffmpeg
build-ffmpeg
...
...
wasm/build-scripts/build-ffmpeg.sh
View file @
80aca1bd
...
...
@@ -21,7 +21,7 @@ FLAGS=(
-I
.
-I
./fftools
-I
$BUILD_DIR
/include
-Llibavcodec
-Llibavdevice
-Llibavfilter
-Llibavformat
-Llibavresample
-Llibavutil
-Lharfbuzz
-Llibass
-Lfribidi
-Llibpostproc
-Llibswscale
-Llibswresample
-L
$BUILD_DIR
/lib
-Wno-deprecated-declarations
-Wno-pointer-sign
-Wno-implicit-int-float-conversion
-Wno-switch
-Wno-parentheses
-Qunused-arguments
-lavdevice
-lavfilter
-lavformat
-lavcodec
-lswresample
-lswscale
-lavutil
-lpostproc
-lm
-l
harfbuzz
-lfribidi
-lass
-lx264
-lx265
-lvpx
-lwavpack
-lmp3lame
-lfdk-aac
-lvorbis
-lvorbisenc
-lvorbisfile
-logg
-ltheora
-ltheoraenc
-ltheoradec
-lz
-lfreetype
-lopus
-lwebp
-lavdevice
-lavfilter
-lavformat
-lavcodec
-lswresample
-lswscale
-lavutil
-lpostproc
-lm
-l
x264
-lmp3lame
-lz
fftools/ffmpeg_opt.c fftools/ffmpeg_filter.c fftools/ffmpeg_hw.c fftools/cmdutils.c fftools/ffmpeg.c
-s
USE_SDL
=
2
# use SDL2
-s
INVOKE_RUN
=
0
# not to run the main() in the beginning
...
...
wasm/build-scripts/configure-ffmpeg.sh
View file @
80aca1bd
...
...
@@ -5,23 +5,33 @@ source $(dirname $0)/var.sh
FLAGS
=(
"
${
FFMPEG_CONFIG_FLAGS_BASE
[@]
}
"
--disable-everything
--disable-network
--disable-autodetect
--enable-small
--enable-decoder
=
mp3
*
,h264
--enable-demuxer
=
mp3,mov
--enable-muxer
=
mp3,mp4
--enable-protocol
=
file
--enable-encoder
=
libmp3lame,libx264
--enable-filter
=
abuffer,amix,abuffersink,aresample
--enable-gpl
# required by x264
--enable-nonfree
# required by fdk-aac
--enable-zlib
# enable zlib
#
--enable-zlib # enable zlib
--enable-libx264
# enable x264
--enable-libx265
# enable x265
--enable-libvpx
# enable libvpx / webm
--enable-libwavpack
# enable libwavpack
--enable-libmp3lame
# enable libmp3lame
--enable-libfdk-aac
# enable libfdk-aac
--enable-libtheora
# enable libtheora
--enable-libvorbis
# enable libvorbis
--enable-libfreetype
# enable freetype
--enable-libopus
# enable opus
--enable-libwebp
# enable libwebp
--enable-libass
# enable libass
--enable-libfribidi
# enable libfribidi
#
--enable-libaom # enable libaom
#
--enable-libx265 # enable x265
#
--enable-libvpx # enable libvpx / webm
#
--enable-libwavpack # enable libwavpack
--enable-libmp3lame
# enable libmp3lame
#
--enable-libfdk-aac # enable libfdk-aac
#
--enable-libtheora # enable libtheora
#
--enable-libvorbis # enable libvorbis
#
--enable-libfreetype # enable freetype
#
--enable-libopus # enable opus
#
--enable-libwebp # enable libwebp
#
--enable-libass # enable libass
#
--enable-libfribidi # enable libfribidi
#--enable-libaom # enable libaom
)
echo
"FFMPEG_CONFIG_FLAGS=
${
FLAGS
[@]
}
"
emconfigure ./configure
"
${
FLAGS
[@]
}
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment