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
e0dbeaea
Commit
e0dbeaea
authored
Nov 01, 2020
by
Jerome Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable libaom due to its poor performance
parent
ef5cdacd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
README.md
README.md
+1
-1
build.sh
build.sh
+2
-2
build-ffmpeg.sh
wasm/build-scripts/build-ffmpeg.sh
+1
-1
configure-ffmpeg.sh
wasm/build-scripts/configure-ffmpeg.sh
+1
-1
No files found.
README.md
View file @
e0dbeaea
...
...
@@ -60,7 +60,7 @@ $ npm test
| x265 | 3.4 | mp4 format, only works with
`-pix_fmt yuv420p10le`
and
`-pix_fmt yuv420p12le`
|
| libvpx | 1.9.0 | webm format |
| theora | 1.1.1 | ogv format |
| aom | 1.0.0 | mkv format, extremely slow, not recommended to use |
| aom | 1.0.0 | mkv format, extremely slow
(takes over 120s for 1s video)
, not recommended to use |
#### Audio
...
...
build.sh
View file @
e0dbeaea
...
...
@@ -26,8 +26,8 @@ $SCRIPT_ROOT/build-ogg.sh
$SCRIPT_ROOT
/build-vorbis.sh
# build theora
$SCRIPT_ROOT
/build-theora.sh
# build aom
$SCRIPT_ROOT
/build-aom.sh
# build aom
(disabled as it is extremely slow)
#
$SCRIPT_ROOT/build-aom.sh
# configure FFmpeg with Emscripten
$SCRIPT_ROOT
/configure-ffmpeg.sh
# build ffmpeg.wasm core
...
...
wasm/build-scripts/build-ffmpeg.sh
View file @
e0dbeaea
...
...
@@ -9,7 +9,7 @@ FLAGS=(
-I
.
-I
./fftools
-I
$BUILD_DIR
/include
-Llibavcodec
-Llibavdevice
-Llibavfilter
-Llibavformat
-Llibavresample
-Llibavutil
-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
-lx265
-lvpx
-lwavpack
-lmp3lame
-lfdk-aac
-lvorbis
-lvorbisenc
-lvorbisfile
-logg
-ltheora
-ltheoraenc
-ltheoradec
-
laom
-
pthread
-lavdevice
-lavfilter
-lavformat
-lavcodec
-lswresample
-lswscale
-lavutil
-lpostproc
-lm
-lx264
-lx265
-lvpx
-lwavpack
-lmp3lame
-lfdk-aac
-lvorbis
-lvorbisenc
-lvorbisfile
-logg
-ltheora
-ltheoraenc
-ltheoradec
-pthread
fftools/ffmpeg_opt.c fftools/ffmpeg_filter.c fftools/ffmpeg_hw.c fftools/cmdutils.c fftools/ffmpeg.c
-o
wasm/dist/ffmpeg-core.js
-s
USE_SDL
=
2
# use SDL2
...
...
wasm/build-scripts/configure-ffmpeg.sh
View file @
e0dbeaea
...
...
@@ -15,7 +15,7 @@ FLAGS=(
--enable-libfdk-aac
# enable libfdk-aac
--enable-libtheora
# enable libtheora
--enable-libvorbis
# enable libvorbis
--enable-libaom
# enable libaom
#
--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