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
88508a87
Commit
88508a87
authored
Dec 17, 2017
by
Aurelien Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sbc: add raw muxer for SBC
parent
ff4600d9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
1 deletion
+16
-1
general.texi
doc/general.texi
+1
-1
Makefile
libavformat/Makefile
+1
-0
allformats.c
libavformat/allformats.c
+1
-0
rawenc.c
libavformat/rawenc.c
+13
-0
No files found.
doc/general.texi
View file @
88508a87
...
...
@@ -501,7 +501,7 @@ library:
@item raw NULL @tab X @tab
@item raw video @tab X @tab X
@item raw id RoQ @tab X @tab
@item raw SBC @tab
@tab X
@item raw SBC @tab
X
@tab X
@item raw Shorten @tab @tab X
@item raw TAK @tab @tab X
@item raw TrueHD @tab X @tab X
...
...
libavformat/Makefile
View file @
88508a87
...
...
@@ -453,6 +453,7 @@ OBJS-$(CONFIG_SAMI_DEMUXER) += samidec.o subtitles.o
OBJS-$(CONFIG_SAP_DEMUXER)
+=
sapdec.o
OBJS-$(CONFIG_SAP_MUXER)
+=
sapenc.o
OBJS-$(CONFIG_SBC_DEMUXER)
+=
sbcdec.o
rawdec.o
OBJS-$(CONFIG_SBC_MUXER)
+=
rawenc.o
OBJS-$(CONFIG_SBG_DEMUXER)
+=
sbgdec.o
OBJS-$(CONFIG_SCC_DEMUXER)
+=
sccdec.o
subtitles.o
OBJS-$(CONFIG_SCC_MUXER)
+=
sccenc.o
subtitles.o
...
...
libavformat/allformats.c
View file @
88508a87
...
...
@@ -355,6 +355,7 @@ extern AVInputFormat ff_sami_demuxer;
extern
AVInputFormat
ff_sap_demuxer
;
extern
AVOutputFormat
ff_sap_muxer
;
extern
AVInputFormat
ff_sbc_demuxer
;
extern
AVOutputFormat
ff_sbc_muxer
;
extern
AVInputFormat
ff_sbg_demuxer
;
extern
AVInputFormat
ff_scc_demuxer
;
extern
AVOutputFormat
ff_scc_muxer
;
...
...
libavformat/rawenc.c
View file @
88508a87
...
...
@@ -452,6 +452,19 @@ AVOutputFormat ff_rawvideo_muxer = {
};
#endif
#if CONFIG_SBC_MUXER
AVOutputFormat
ff_sbc_muxer
=
{
.
name
=
"sbc"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"raw SBC"
),
.
mime_type
=
"audio/x-sbc"
,
.
extensions
=
"sbc,msbc"
,
.
audio_codec
=
AV_CODEC_ID_SBC
,
.
write_header
=
force_one_stream
,
.
write_packet
=
ff_raw_write_packet
,
.
flags
=
AVFMT_NOTIMESTAMPS
,
};
#endif
#if CONFIG_TRUEHD_MUXER
AVOutputFormat
ff_truehd_muxer
=
{
.
name
=
"truehd"
,
...
...
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