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
59dbabdd
Commit
59dbabdd
authored
Oct 20, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: libmp4: add few encoders
parent
fe4fa8c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+3
-0
modules/demux/mp4/libmp4.h
modules/demux/mp4/libmp4.h
+3
-0
modules/demux/mp4/meta.c
modules/demux/mp4/meta.c
+3
-0
No files found.
modules/demux/mp4/libmp4.c
View file @
59dbabdd
...
@@ -3748,6 +3748,8 @@ static const struct
...
@@ -3748,6 +3748,8 @@ static const struct
{
ATOM_xid_
,
MP4_ReadBox_Metadata
,
MP4_FreeBox_Common
,
ATOM_ilst
},
{
ATOM_xid_
,
MP4_ReadBox_Metadata
,
MP4_FreeBox_Common
,
ATOM_ilst
},
/* udta */
/* udta */
{
ATOM_0x40PRM
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_0x40PRQ
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_0xa9ART
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_0xa9ART
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_0xa9alb
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_0xa9alb
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_0xa9ard
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_0xa9ard
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
...
@@ -3798,6 +3800,7 @@ static const struct
...
@@ -3798,6 +3800,7 @@ static const struct
{
ATOM_0xa9xpd
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_0xa9xpd
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_0xa9xyz
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_0xa9xyz
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_chpl
,
MP4_ReadBox_chpl
,
MP4_FreeBox_chpl
,
ATOM_udta
},
/* nero unlabeled chapters list */
{
ATOM_chpl
,
MP4_ReadBox_chpl
,
MP4_FreeBox_chpl
,
ATOM_udta
},
/* nero unlabeled chapters list */
{
ATOM_MCPS
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_name
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_name
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_vndr
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_vndr
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_SDLN
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
{
ATOM_SDLN
,
MP4_ReadBox_String
,
MP4_FreeBox_String
,
ATOM_udta
},
...
...
modules/demux/mp4/libmp4.h
View file @
59dbabdd
...
@@ -309,7 +309,10 @@
...
@@ -309,7 +309,10 @@
#define ATOM_tsel VLC_FOURCC( 't', 's', 'e', 'l' )
#define ATOM_tsel VLC_FOURCC( 't', 's', 'e', 'l' )
#define ATOM_xid_ VLC_FOURCC( 'x', 'i', 'd', ' ' )
#define ATOM_xid_ VLC_FOURCC( 'x', 'i', 'd', ' ' )
#define ATOM_0x40PRM VLC_FOURCC( '@', 'P', 'R', 'M' )
#define ATOM_0x40PRQ VLC_FOURCC( '@', 'P', 'R', 'Q' )
#define ATOM_chap VLC_FOURCC( 'c', 'h', 'a', 'p' )
#define ATOM_chap VLC_FOURCC( 'c', 'h', 'a', 'p' )
#define ATOM_MCPS VLC_FOURCC( 'M', 'C', 'P', 'S' )
#define ATOM_SDLN VLC_FOURCC( 'S', 'D', 'L', 'N' )
#define ATOM_SDLN VLC_FOURCC( 'S', 'D', 'L', 'N' )
#define ATOM_vndr VLC_FOURCC( 'v', 'n', 'd', 'r' )
#define ATOM_vndr VLC_FOURCC( 'v', 'n', 'd', 'r' )
...
...
modules/demux/mp4/meta.c
View file @
59dbabdd
...
@@ -32,6 +32,8 @@ static const struct
...
@@ -32,6 +32,8 @@ static const struct
const
uint32_t
xa9_type
;
const
uint32_t
xa9_type
;
const
vlc_meta_type_t
meta_type
;
const
vlc_meta_type_t
meta_type
;
}
xa9typetometa
[]
=
{
}
xa9typetometa
[]
=
{
{
ATOM_0x40PRM
,
vlc_meta_EncodedBy
},
/* Adobe Premiere */
{
ATOM_0x40PRQ
,
vlc_meta_EncodedBy
},
/* Adobe Qt */
{
ATOM_0xa9nam
,
vlc_meta_Title
},
/* Full name */
{
ATOM_0xa9nam
,
vlc_meta_Title
},
/* Full name */
{
ATOM_0xa9aut
,
vlc_meta_Artist
},
{
ATOM_0xa9aut
,
vlc_meta_Artist
},
{
ATOM_0xa9ART
,
vlc_meta_Artist
},
{
ATOM_0xa9ART
,
vlc_meta_Artist
},
...
@@ -47,6 +49,7 @@ static const struct
...
@@ -47,6 +49,7 @@ static const struct
{
ATOM_0xa9enc
,
vlc_meta_EncodedBy
},
/* Encoded By */
{
ATOM_0xa9enc
,
vlc_meta_EncodedBy
},
/* Encoded By */
{
ATOM_0xa9pub
,
vlc_meta_Publisher
},
{
ATOM_0xa9pub
,
vlc_meta_Publisher
},
{
ATOM_0xa9dir
,
vlc_meta_Director
},
{
ATOM_0xa9dir
,
vlc_meta_Director
},
{
ATOM_MCPS
,
vlc_meta_EncodedBy
},
/* Cleaner Pro */
{
0
,
0
},
{
0
,
0
},
};
};
...
...
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