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
f9e77586
Commit
f9e77586
authored
May 19, 2018
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/mxfdec: recognize SMPTE 436 VBI data
Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
183db8a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mxfdec.c
libavformat/mxfdec.c
+2
-0
No files found.
libavformat/mxfdec.c
View file @
f9e77586
...
@@ -1278,6 +1278,7 @@ static const MXFCodecUL mxf_sound_essence_container_uls[] = {
...
@@ -1278,6 +1278,7 @@ static const MXFCodecUL mxf_sound_essence_container_uls[] = {
};
};
static
const
MXFCodecUL
mxf_data_essence_container_uls
[]
=
{
static
const
MXFCodecUL
mxf_data_essence_container_uls
[]
=
{
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x04
,
0x01
,
0x01
,
0x09
,
0x0d
,
0x01
,
0x03
,
0x01
,
0x02
,
0x0d
,
0x00
,
0x00
},
16
,
AV_CODEC_ID_NONE
,
"vbi_smpte_436M"
},
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x04
,
0x01
,
0x01
,
0x09
,
0x0d
,
0x01
,
0x03
,
0x01
,
0x02
,
0x0e
,
0x00
,
0x00
},
16
,
AV_CODEC_ID_NONE
,
"vbi_vanc_smpte_436M"
},
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x04
,
0x01
,
0x01
,
0x09
,
0x0d
,
0x01
,
0x03
,
0x01
,
0x02
,
0x0e
,
0x00
,
0x00
},
16
,
AV_CODEC_ID_NONE
,
"vbi_vanc_smpte_436M"
},
{
{
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
},
0
,
AV_CODEC_ID_NONE
},
{
{
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
},
0
,
AV_CODEC_ID_NONE
},
};
};
...
@@ -2497,6 +2498,7 @@ static const MXFMetadataReadTableEntry mxf_metadata_read_table[] = {
...
@@ -2497,6 +2498,7 @@ static const MXFMetadataReadTableEntry mxf_metadata_read_table[] = {
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x53
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x01
,
0x01
,
0x01
,
0x01
,
0x48
,
0x00
},
mxf_read_generic_descriptor
,
sizeof
(
MXFDescriptor
),
Descriptor
},
/* Wave */
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x53
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x01
,
0x01
,
0x01
,
0x01
,
0x48
,
0x00
},
mxf_read_generic_descriptor
,
sizeof
(
MXFDescriptor
),
Descriptor
},
/* Wave */
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x53
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x01
,
0x01
,
0x01
,
0x01
,
0x47
,
0x00
},
mxf_read_generic_descriptor
,
sizeof
(
MXFDescriptor
),
Descriptor
},
/* AES3 */
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x53
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x01
,
0x01
,
0x01
,
0x01
,
0x47
,
0x00
},
mxf_read_generic_descriptor
,
sizeof
(
MXFDescriptor
),
Descriptor
},
/* AES3 */
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x53
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x01
,
0x01
,
0x01
,
0x01
,
0x51
,
0x00
},
mxf_read_generic_descriptor
,
sizeof
(
MXFDescriptor
),
Descriptor
},
/* MPEG2VideoDescriptor */
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x53
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x01
,
0x01
,
0x01
,
0x01
,
0x51
,
0x00
},
mxf_read_generic_descriptor
,
sizeof
(
MXFDescriptor
),
Descriptor
},
/* MPEG2VideoDescriptor */
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x53
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x01
,
0x01
,
0x01
,
0x01
,
0x5b
,
0x00
},
mxf_read_generic_descriptor
,
sizeof
(
MXFDescriptor
),
Descriptor
},
/* VBI - SMPTE 436M */
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x53
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x01
,
0x01
,
0x01
,
0x01
,
0x5c
,
0x00
},
mxf_read_generic_descriptor
,
sizeof
(
MXFDescriptor
),
Descriptor
},
/* VANC/VBI - SMPTE 436M */
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x53
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x01
,
0x01
,
0x01
,
0x01
,
0x5c
,
0x00
},
mxf_read_generic_descriptor
,
sizeof
(
MXFDescriptor
),
Descriptor
},
/* VANC/VBI - SMPTE 436M */
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x53
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x01
,
0x01
,
0x01
,
0x01
,
0x5e
,
0x00
},
mxf_read_generic_descriptor
,
sizeof
(
MXFDescriptor
),
Descriptor
},
/* MPEG2AudioDescriptor */
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x53
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x01
,
0x01
,
0x01
,
0x01
,
0x5e
,
0x00
},
mxf_read_generic_descriptor
,
sizeof
(
MXFDescriptor
),
Descriptor
},
/* MPEG2AudioDescriptor */
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x53
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x01
,
0x01
,
0x01
,
0x01
,
0x3A
,
0x00
},
mxf_read_track
,
sizeof
(
MXFTrack
),
Track
},
/* Static Track */
{
{
0x06
,
0x0e
,
0x2b
,
0x34
,
0x02
,
0x53
,
0x01
,
0x01
,
0x0d
,
0x01
,
0x01
,
0x01
,
0x01
,
0x01
,
0x3A
,
0x00
},
mxf_read_track
,
sizeof
(
MXFTrack
),
Track
},
/* Static Track */
...
...
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