Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
f659b744
Commit
f659b744
authored
Jun 13, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MP4: support more Metadata tags
parent
a5cf9514
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
2 deletions
+48
-2
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+14
-0
modules/demux/mp4/libmp4.h
modules/demux/mp4/libmp4.h
+15
-1
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+19
-1
No files found.
modules/demux/mp4/libmp4.c
View file @
f659b744
...
...
@@ -3244,6 +3244,20 @@ static const struct
{
ATOM_0xa9PRD
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9grp
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9lyr
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9gen
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9st3
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9ard
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9arg
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9cak
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9con
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9des
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9lnt
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9phg
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9pub
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9sne
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9sol
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9thx
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_0xa9xpd
,
MP4_ReadBox_0xa9xxx
,
MP4_FreeBox_0xa9xxx
},
{
ATOM_chpl
,
MP4_ReadBox_chpl
,
MP4_FreeBox_chpl
},
...
...
modules/demux/mp4/libmp4.h
View file @
f659b744
...
...
@@ -239,7 +239,21 @@
#define ATOM_0xa9mod VLC_FOURCC( 0xa9, 'm', 'o', 'd' )
#define ATOM_0xa9PRD VLC_FOURCC( 0xa9, 'P', 'R', 'D' )
#define ATOM_0xa9grp VLC_FOURCC( 0xa9, 'g', 'r', 'p' )
#define ATOM_0xa9lyr VLC_FOURCC( 0xa9, 'g', 'r', 'p' )
#define ATOM_0xa9lyr VLC_FOURCC( 0xa9, 'l', 'y', 'r' )
#define ATOM_0xa9gen VLC_FOURCC( 0xa9, 'g', 'e', 'n' )
#define ATOM_0xa9st3 VLC_FOURCC( 0xa9, 's', 't', '3' )
#define ATOM_0xa9ard VLC_FOURCC( 0xa9, 'a', 'r', 'd' )
#define ATOM_0xa9arg VLC_FOURCC( 0xa9, 'a', 'r', 'g' )
#define ATOM_0xa9cak VLC_FOURCC( 0xa9, 'c', 'a', 'k' )
#define ATOM_0xa9con VLC_FOURCC( 0xa9, 'c', 'o', 'n' )
#define ATOM_0xa9des VLC_FOURCC( 0xa9, 'd', 'e', 's' )
#define ATOM_0xa9lnt VLC_FOURCC( 0xa9, 'l', 'n', 't' )
#define ATOM_0xa9phg VLC_FOURCC( 0xa9, 'p', 'h', 'g' )
#define ATOM_0xa9pub VLC_FOURCC( 0xa9, 'p', 'u', 'b' )
#define ATOM_0xa9sne VLC_FOURCC( 0xa9, 's', 'n', 'e' )
#define ATOM_0xa9sol VLC_FOURCC( 0xa9, 's', 'o', 'l' )
#define ATOM_0xa9thx VLC_FOURCC( 0xa9, 't', 'h', 'x' )
#define ATOM_0xa9xpd VLC_FOURCC( 0xa9, 'x', 'p', 'd' )
#define ATOM_chpl VLC_FOURCC( 'c', 'h', 'p', 'l' )
#define ATOM_WLOC VLC_FOURCC( 'W', 'L', 'O', 'C' )
...
...
modules/demux/mp4/mp4.c
View file @
f659b744
...
...
@@ -861,6 +861,10 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
SET
(
vlc_meta_SetEncodedBy
);
break
;
case
ATOM_0xa9pub
:
SET
(
vlc_meta_SetPublisher
);
break
;
default:
break
;
}
...
...
@@ -883,10 +887,24 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
{
ATOM_0xa9wrn
,
N_
(
"Warning"
)
},
{
ATOM_0xa9swr
,
N_
(
"Software"
)
},
{
ATOM_0xa9lyr
,
N_
(
"Lyrics"
)
},
{
ATOM_0xa9mak
,
N_
(
"
Make
"
)
},
{
ATOM_0xa9mak
,
N_
(
"
Record Company
"
)
},
{
ATOM_0xa9mod
,
N_
(
"Model"
)
},
{
ATOM_0xa9PRD
,
N_
(
"Product"
)
},
{
ATOM_0xa9grp
,
N_
(
"Grouping"
)
},
{
ATOM_0xa9gen
,
N_
(
"Genre"
)
},
{
ATOM_0xa9st3
,
N_
(
"Sub-Title"
)
},
{
ATOM_0xa9arg
,
N_
(
"Arranger"
)
},
{
ATOM_0xa9ard
,
N_
(
"Art Director"
)
},
{
ATOM_0xa9cak
,
N_
(
"Copyright Acknowledgement"
)
},
{
ATOM_0xa9con
,
N_
(
"Conductor"
)
},
{
ATOM_0xa9des
,
N_
(
"Song Description"
)
},
{
ATOM_0xa9lnt
,
N_
(
"Liner Notes"
)
},
{
ATOM_0xa9phg
,
N_
(
"Phonogram Rights"
)
},
{
ATOM_0xa9pub
,
N_
(
"Publisher"
)
},
{
ATOM_0xa9sne
,
N_
(
"Sound Engineer"
)
},
{
ATOM_0xa9sol
,
N_
(
"Soloist"
)
},
{
ATOM_0xa9thx
,
N_
(
"Thanks"
)
},
{
ATOM_0xa9xpd
,
N_
(
"Executive Producer"
)
},
{
0
,
""
},
};
for
(
unsigned
i
=
0
;
xa9typetoextrameta
[
i
].
xa9_type
;
i
++
)
...
...
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