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
43778a50
Commit
43778a50
authored
Feb 11, 2018
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support AV1 encoding using libaom
parent
c438899a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
590 additions
and
1 deletion
+590
-1
configure
configure
+1
-0
Makefile
libavcodec/Makefile
+1
-0
allcodecs.c
libavcodec/allcodecs.c
+1
-1
avcodec.h
libavcodec/avcodec.h
+4
-0
libaomenc.c
libavcodec/libaomenc.c
+583
-0
No files found.
configure
View file @
43778a50
...
...
@@ -2366,6 +2366,7 @@ avxsynth_deps="libdl"
avisynth_demuxer_deps_any
=
"avisynth avxsynth"
avisynth_demuxer_select
=
"riffdec"
libaom_av1_decoder_deps
=
"libaom"
libaom_av1_encoder_deps
=
"libaom"
libdcadec_decoder_deps
=
"libdcadec"
libfaac_encoder_deps
=
"libfaac"
libfaac_encoder_select
=
"audio_frame_queue"
...
...
libavcodec/Makefile
View file @
43778a50
...
...
@@ -688,6 +688,7 @@ OBJS-$(CONFIG_WEBM_MUXER) += mpeg4audio.o
# external codec libraries
OBJS-$(CONFIG_LIBAOM_AV1_DECODER)
+=
libaomdec.o
libaom.o
OBJS-$(CONFIG_LIBAOM_AV1_ENCODER)
+=
libaomenc.o
libaom.o
OBJS-$(CONFIG_LIBDCADEC_DECODER)
+=
libdcadec.o
dca.o
OBJS-$(CONFIG_LIBFAAC_ENCODER)
+=
libfaac.o
OBJS-$(CONFIG_LIBFDK_AAC_DECODER)
+=
libfdk-aacdec.o
...
...
libavcodec/allcodecs.c
View file @
43778a50
...
...
@@ -421,7 +421,7 @@ void avcodec_register_all(void)
REGISTER_ENCDEC
(
XSUB
,
xsub
);
/* external libraries */
REGISTER_
DECODER
(
LIBAOM_AV1
,
libaom_av1
);
REGISTER_
ENCDEC
(
LIBAOM_AV1
,
libaom_av1
);
REGISTER_DECODER
(
LIBDCADEC
,
libdcadec
)
REGISTER_ENCODER
(
LIBFAAC
,
libfaac
);
REGISTER_ENCDEC
(
LIBFDK_AAC
,
libfdk_aac
);
...
...
libavcodec/avcodec.h
View file @
43778a50
...
...
@@ -2551,6 +2551,10 @@ typedef struct AVCodecContext {
#define FF_PROFILE_HEVC_MAIN_STILL_PICTURE 3
#define FF_PROFILE_HEVC_REXT 4
#define FF_PROFILE_AV1_0 0
#define FF_PROFILE_AV1_1 1
#define FF_PROFILE_AV1_2 2
/**
* level
* - encoding: Set by user.
...
...
libavcodec/libaomenc.c
0 → 100644
View file @
43778a50
This diff is collapsed.
Click to expand it.
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