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
bd09e8a7
Commit
bd09e8a7
authored
Oct 24, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
raw dnxhd de/muxer
Originally committed as revision 15674 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
da396bf8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
1 deletion
+43
-1
Makefile
libavformat/Makefile
+2
-0
allformats.c
libavformat/allformats.c
+1
-0
avformat.h
libavformat/avformat.h
+1
-1
raw.c
libavformat/raw.c
+39
-0
No files found.
libavformat/Makefile
View file @
bd09e8a7
...
@@ -38,6 +38,8 @@ OBJS-$(CONFIG_DAUD_DEMUXER) += daud.o
...
@@ -38,6 +38,8 @@ OBJS-$(CONFIG_DAUD_DEMUXER) += daud.o
OBJS-$(CONFIG_DAUD_MUXER)
+=
daud.o
OBJS-$(CONFIG_DAUD_MUXER)
+=
daud.o
OBJS-$(CONFIG_DIRAC_DEMUXER)
+=
raw.o
OBJS-$(CONFIG_DIRAC_DEMUXER)
+=
raw.o
OBJS-$(CONFIG_DIRAC_MUXER)
+=
raw.o
OBJS-$(CONFIG_DIRAC_MUXER)
+=
raw.o
OBJS-$(CONFIG_DNXHD_DEMUXER)
+=
raw.o
OBJS-$(CONFIG_DNXHD_MUXER)
+=
raw.o
OBJS-$(CONFIG_DSICIN_DEMUXER)
+=
dsicin.o
OBJS-$(CONFIG_DSICIN_DEMUXER)
+=
dsicin.o
OBJS-$(CONFIG_DTS_DEMUXER)
+=
raw.o
OBJS-$(CONFIG_DTS_DEMUXER)
+=
raw.o
OBJS-$(CONFIG_DTS_MUXER)
+=
raw.o
OBJS-$(CONFIG_DTS_MUXER)
+=
raw.o
...
...
libavformat/allformats.c
View file @
bd09e8a7
...
@@ -72,6 +72,7 @@ void av_register_all(void)
...
@@ -72,6 +72,7 @@ void av_register_all(void)
REGISTER_MUXER
(
CRC
,
crc
);
REGISTER_MUXER
(
CRC
,
crc
);
REGISTER_MUXDEMUX
(
DAUD
,
daud
);
REGISTER_MUXDEMUX
(
DAUD
,
daud
);
REGISTER_MUXDEMUX
(
DIRAC
,
dirac
);
REGISTER_MUXDEMUX
(
DIRAC
,
dirac
);
REGISTER_MUXDEMUX
(
DNXHD
,
dnxhd
);
REGISTER_DEMUXER
(
DSICIN
,
dsicin
);
REGISTER_DEMUXER
(
DSICIN
,
dsicin
);
REGISTER_MUXDEMUX
(
DTS
,
dts
);
REGISTER_MUXDEMUX
(
DTS
,
dts
);
REGISTER_MUXDEMUX
(
DV
,
dv
);
REGISTER_MUXDEMUX
(
DV
,
dv
);
...
...
libavformat/avformat.h
View file @
bd09e8a7
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#define AVFORMAT_AVFORMAT_H
#define AVFORMAT_AVFORMAT_H
#define LIBAVFORMAT_VERSION_MAJOR 52
#define LIBAVFORMAT_VERSION_MAJOR 52
#define LIBAVFORMAT_VERSION_MINOR 2
2
#define LIBAVFORMAT_VERSION_MINOR 2
3
#define LIBAVFORMAT_VERSION_MICRO 1
#define LIBAVFORMAT_VERSION_MICRO 1
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
...
...
libavformat/raw.c
View file @
bd09e8a7
...
@@ -505,6 +505,17 @@ static int dirac_probe(AVProbeData *p)
...
@@ -505,6 +505,17 @@ static int dirac_probe(AVProbeData *p)
}
}
#endif
#endif
#ifdef CONFIG_DNXHD_DEMUXER
static
int
dnxhd_probe
(
AVProbeData
*
p
)
{
static
const
uint8_t
header
[]
=
{
0x00
,
0x00
,
0x02
,
0x80
,
0x01
};
if
(
!
memcmp
(
p
->
buf
,
header
,
5
))
return
AVPROBE_SCORE_MAX
;
else
return
0
;
}
#endif
#if defined(CONFIG_AC3_DEMUXER) || defined(CONFIG_EAC3_DEMUXER)
#if defined(CONFIG_AC3_DEMUXER) || defined(CONFIG_EAC3_DEMUXER)
static
int
ac3_eac3_probe
(
AVProbeData
*
p
,
enum
CodecID
expected_codec_id
)
static
int
ac3_eac3_probe
(
AVProbeData
*
p
,
enum
CodecID
expected_codec_id
)
{
{
...
@@ -640,6 +651,34 @@ AVOutputFormat dirac_muxer = {
...
@@ -640,6 +651,34 @@ AVOutputFormat dirac_muxer = {
};
};
#endif
#endif
#ifdef CONFIG_DNXHD_DEMUXER
AVInputFormat
dnxhd_demuxer
=
{
"dnxhd"
,
NULL_IF_CONFIG_SMALL
(
"raw DNxHD (SMPTE VC-3)"
),
0
,
dnxhd_probe
,
video_read_header
,
raw_read_partial_packet
,
.
flags
=
AVFMT_GENERIC_INDEX
,
.
value
=
CODEC_ID_DNXHD
,
};
#endif
#ifdef CONFIG_DNXHD_MUXER
AVOutputFormat
dnxhd_muxer
=
{
"dnxhd"
,
NULL_IF_CONFIG_SMALL
(
"raw DNxHD (SMPTE VC-3)"
),
NULL
,
"dnxhd"
,
0
,
CODEC_ID_NONE
,
CODEC_ID_DNXHD
,
NULL
,
raw_write_packet
,
.
flags
=
AVFMT_NOTIMESTAMPS
,
};
#endif
#ifdef CONFIG_DTS_DEMUXER
#ifdef CONFIG_DTS_DEMUXER
AVInputFormat
dts_demuxer
=
{
AVInputFormat
dts_demuxer
=
{
"dts"
,
"dts"
,
...
...
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