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
1df78e24
Commit
1df78e24
authored
May 01, 2022
by
NzSN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build scripts update
parent
f5fb3d57
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
build-ffmpeg.sh
wasm/build-scripts/build-ffmpeg.sh
+1
-1
configure-ffmpeg.sh
wasm/build-scripts/configure-ffmpeg.sh
+7
-9
No files found.
wasm/build-scripts/build-ffmpeg.sh
View file @
1df78e24
...
...
@@ -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
-lx264
-l
mp3lame
-l
z
-lavdevice
-lavfilter
-lavformat
-lavcodec
-lswresample
-lswscale
-lavutil
-lpostproc
-lm
-lx264
-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 @
1df78e24
...
...
@@ -5,24 +5,22 @@ 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-decoder=h264
# --enable-demuxer=mov
# --enable-muxer=mp4
# --enable-protocol=file
# --enable-encoder=libx264
--enable-gpl
# required by x264
--enable-nonfree
# required by fdk-aac
#--enable-zlib # enable zlib
--enable-libx264
# enable x264
--enable-zlib
# enable zlib
#--enable-libx265 # enable x265
#--enable-libvpx # enable libvpx / webm
#--enable-libwavpack # enable libwavpack
--enable-libmp3lame
# enable libmp3lame
#
--enable-libmp3lame # enable libmp3lame
#--enable-libfdk-aac # enable libfdk-aac
#--enable-libtheora # enable libtheora
#--enable-libvorbis # enable libvorbis
...
...
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