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
0816abae
Commit
0816abae
authored
Mar 25, 2014
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an .oga muxer.
parent
e6fe804b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
1 deletion
+26
-1
allformats.c
libavformat/allformats.c
+1
-0
oggenc.c
libavformat/oggenc.c
+24
-0
version.h
libavformat/version.h
+1
-1
No files found.
libavformat/allformats.c
View file @
0816abae
...
@@ -204,6 +204,7 @@ void av_register_all(void)
...
@@ -204,6 +204,7 @@ void av_register_all(void)
REGISTER_MUXER
(
NULL
,
null
);
REGISTER_MUXER
(
NULL
,
null
);
REGISTER_MUXDEMUX
(
NUT
,
nut
);
REGISTER_MUXDEMUX
(
NUT
,
nut
);
REGISTER_DEMUXER
(
NUV
,
nuv
);
REGISTER_DEMUXER
(
NUV
,
nuv
);
REGISTER_MUXER
(
OGA
,
oga
);
REGISTER_MUXDEMUX
(
OGG
,
ogg
);
REGISTER_MUXDEMUX
(
OGG
,
ogg
);
REGISTER_MUXDEMUX
(
OMA
,
oma
);
REGISTER_MUXDEMUX
(
OMA
,
oma
);
REGISTER_MUXER
(
OPUS
,
opus
);
REGISTER_MUXER
(
OPUS
,
opus
);
...
...
libavformat/oggenc.c
View file @
0816abae
...
@@ -648,6 +648,30 @@ AVOutputFormat ff_ogg_muxer = {
...
@@ -648,6 +648,30 @@ AVOutputFormat ff_ogg_muxer = {
};
};
#endif
#endif
#if CONFIG_OGA_MUXER
static
const
AVClass
oga_muxer_class
=
{
.
class_name
=
"Ogg audio muxer"
,
.
item_name
=
av_default_item_name
,
.
option
=
options
,
.
version
=
LIBAVUTIL_VERSION_INT
,
};
AVOutputFormat
ff_oga_muxer
=
{
.
name
=
"oga"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Ogg audio"
),
.
mime_type
=
"audio/ogg"
,
.
extensions
=
"oga"
,
.
priv_data_size
=
sizeof
(
OGGContext
),
.
audio_codec
=
AV_CODEC_ID_VORBIS
,
.
video_codec
=
AV_CODEC_ID_NONE
,
.
write_header
=
ogg_write_header
,
.
write_packet
=
ogg_write_packet
,
.
write_trailer
=
ogg_write_trailer
,
.
flags
=
AVFMT_TS_NEGATIVE
,
.
priv_class
=
&
oga_muxer_class
,
};
#endif
#if CONFIG_SPEEX_MUXER
#if CONFIG_SPEEX_MUXER
static
const
AVClass
speex_muxer_class
=
{
static
const
AVClass
speex_muxer_class
=
{
.
class_name
=
"Speex muxer"
,
.
class_name
=
"Speex muxer"
,
...
...
libavformat/version.h
View file @
0816abae
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#define LIBAVFORMAT_VERSION_MAJOR 55
#define LIBAVFORMAT_VERSION_MAJOR 55
#define LIBAVFORMAT_VERSION_MINOR 35
#define LIBAVFORMAT_VERSION_MINOR 35
#define LIBAVFORMAT_VERSION_MICRO 10
0
#define LIBAVFORMAT_VERSION_MICRO 10
1
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \
LIBAVFORMAT_VERSION_MINOR, \
...
...
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