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
23d9cc45
Commit
23d9cc45
authored
Mar 19, 2009
by
Ramiro Polla
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support raw TrueHD files
Originally committed as revision 18049 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
45bae968
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
2 deletions
+35
-2
general.texi
doc/general.texi
+1
-0
Makefile
libavformat/Makefile
+2
-0
allformats.c
libavformat/allformats.c
+1
-0
avformat.h
libavformat/avformat.h
+2
-2
raw.c
libavformat/raw.c
+29
-0
No files found.
doc/general.texi
View file @
23d9cc45
...
...
@@ -162,6 +162,7 @@ library:
@item raw video @tab X @tab X
@item raw id RoQ @tab X @tab
@item raw Shorten @tab @tab X
@item raw TrueHD @tab X @tab X
@item raw VC-1 @tab @tab X
@item raw PCM A-law @tab X @tab X
@item raw PCM mu-law @tab X @tab X
...
...
libavformat/Makefile
View file @
23d9cc45
...
...
@@ -207,6 +207,8 @@ OBJS-$(CONFIG_TG2_MUXER) += movenc.o riff.o isom.o avc.o
OBJS-$(CONFIG_TGP_MUXER)
+=
movenc.o
riff.o
isom.o
avc.o
OBJS-$(CONFIG_THP_DEMUXER)
+=
thp.o
OBJS-$(CONFIG_TIERTEXSEQ_DEMUXER)
+=
tiertexseq.o
OBJS-$(CONFIG_TRUEHD_DEMUXER)
+=
raw.o
id3v2.o
OBJS-$(CONFIG_TRUEHD_MUXER)
+=
raw.o
OBJS-$(CONFIG_TTA_DEMUXER)
+=
tta.o
OBJS-$(CONFIG_TXD_DEMUXER)
+=
txd.o
OBJS-$(CONFIG_VC1_DEMUXER)
+=
raw.o
...
...
libavformat/allformats.c
View file @
23d9cc45
...
...
@@ -182,6 +182,7 @@ void av_register_all(void)
REGISTER_MUXER
(
TGP
,
tgp
);
REGISTER_DEMUXER
(
THP
,
thp
);
REGISTER_DEMUXER
(
TIERTEXSEQ
,
tiertexseq
);
REGISTER_MUXDEMUX
(
TRUEHD
,
truehd
);
REGISTER_DEMUXER
(
TTA
,
tta
);
REGISTER_DEMUXER
(
TXD
,
txd
);
REGISTER_DEMUXER
(
VC1
,
vc1
);
...
...
libavformat/avformat.h
View file @
23d9cc45
...
...
@@ -22,8 +22,8 @@
#define AVFORMAT_AVFORMAT_H
#define LIBAVFORMAT_VERSION_MAJOR 52
#define LIBAVFORMAT_VERSION_MINOR 3
1
#define LIBAVFORMAT_VERSION_MICRO
1
#define LIBAVFORMAT_VERSION_MINOR 3
2
#define LIBAVFORMAT_VERSION_MICRO
0
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \
...
...
libavformat/raw.c
View file @
23d9cc45
...
...
@@ -969,6 +969,35 @@ AVInputFormat mlp_demuxer = {
};
#endif
#if CONFIG_TRUEHD_DEMUXER
AVInputFormat
truehd_demuxer
=
{
"truehd"
,
NULL_IF_CONFIG_SMALL
(
"raw TrueHD"
),
0
,
NULL
,
audio_read_header
,
ff_raw_read_partial_packet
,
.
flags
=
AVFMT_GENERIC_INDEX
,
.
extensions
=
"thd"
,
.
value
=
CODEC_ID_TRUEHD
,
};
#endif
#if CONFIG_TRUEHD_MUXER
AVOutputFormat
truehd_muxer
=
{
"truehd"
,
NULL_IF_CONFIG_SMALL
(
"raw TrueHD"
),
NULL
,
"thd"
,
0
,
CODEC_ID_TRUEHD
,
CODEC_ID_NONE
,
NULL
,
raw_write_packet
,
.
flags
=
AVFMT_NOTIMESTAMPS
,
};
#endif
#if CONFIG_MPEG1VIDEO_MUXER
AVOutputFormat
mpeg1video_muxer
=
{
"mpeg1video"
,
...
...
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