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
5ee57b86
Commit
5ee57b86
authored
Oct 28, 2015
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: mp4: add youtube meta
parent
604aa2b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
+18
-0
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+6
-0
modules/demux/mp4/libmp4.h
modules/demux/mp4/libmp4.h
+6
-0
modules/demux/mp4/meta.c
modules/demux/mp4/meta.c
+6
-0
No files found.
modules/demux/mp4/libmp4.c
View file @
5ee57b86
...
@@ -3892,6 +3892,12 @@ static const struct
...
@@ -3892,6 +3892,12 @@ static const struct
{
ATOM_rtng
,
MP4_ReadBox_Metadata
,
ATOM_ilst
},
{
ATOM_rtng
,
MP4_ReadBox_Metadata
,
ATOM_ilst
},
{
ATOM_trkn
,
MP4_ReadBox_Metadata
,
ATOM_ilst
},
{
ATOM_trkn
,
MP4_ReadBox_Metadata
,
ATOM_ilst
},
{
ATOM_xid_
,
MP4_ReadBox_Metadata
,
ATOM_ilst
},
{
ATOM_xid_
,
MP4_ReadBox_Metadata
,
ATOM_ilst
},
{
ATOM_gshh
,
MP4_ReadBox_Metadata
,
ATOM_ilst
},
/* YouTube gs?? */
{
ATOM_gspm
,
MP4_ReadBox_Metadata
,
ATOM_ilst
},
{
ATOM_gspu
,
MP4_ReadBox_Metadata
,
ATOM_ilst
},
{
ATOM_gssd
,
MP4_ReadBox_Metadata
,
ATOM_ilst
},
{
ATOM_gsst
,
MP4_ReadBox_Metadata
,
ATOM_ilst
},
{
ATOM_gstd
,
MP4_ReadBox_Metadata
,
ATOM_ilst
},
/* udta */
/* udta */
{
ATOM_0x40PRM
,
MP4_ReadBox_String
,
ATOM_udta
},
{
ATOM_0x40PRM
,
MP4_ReadBox_String
,
ATOM_udta
},
...
...
modules/demux/mp4/libmp4.h
View file @
5ee57b86
...
@@ -325,6 +325,12 @@ typedef int64_t stime_t;
...
@@ -325,6 +325,12 @@ typedef int64_t stime_t;
#define ATOM_rtng VLC_FOURCC( 'r', 't', 'n', 'g' )
#define ATOM_rtng VLC_FOURCC( 'r', 't', 'n', 'g' )
#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_gshh VLC_FOURCC( 'g', 's', 'h', 'h' )
#define ATOM_gspm VLC_FOURCC( 'g', 's', 'p', 'm' )
#define ATOM_gspu VLC_FOURCC( 'g', 's', 'p', 'u' )
#define ATOM_gssd VLC_FOURCC( 'g', 's', 's', 'd' )
#define ATOM_gsst VLC_FOURCC( 'g', 's', 's', 't' )
#define ATOM_gstd VLC_FOURCC( 'g', 's', 't', 'd' )
#define ATOM_0x40PRM VLC_FOURCC( '@', 'P', 'R', 'M' )
#define ATOM_0x40PRM VLC_FOURCC( '@', 'P', 'R', 'M' )
#define ATOM_0x40PRQ VLC_FOURCC( '@', 'P', 'R', 'Q' )
#define ATOM_0x40PRQ VLC_FOURCC( '@', 'P', 'R', 'Q' )
...
...
modules/demux/mp4/meta.c
View file @
5ee57b86
...
@@ -95,6 +95,12 @@ static const struct
...
@@ -95,6 +95,12 @@ static const struct
{
ATOM_flvr
,
N_
(
"Encoding Params"
)
},
{
ATOM_flvr
,
N_
(
"Encoding Params"
)
},
{
ATOM_vndr
,
N_
(
"Vendor"
)
},
{
ATOM_vndr
,
N_
(
"Vendor"
)
},
{
ATOM_xid_
,
N_
(
"Catalog Number"
)
},
{
ATOM_xid_
,
N_
(
"Catalog Number"
)
},
{
ATOM_gshh
,
N_
(
"YouTube Host"
)
},
{
ATOM_gspm
,
N_
(
"YouTube Ping Message"
)
},
{
ATOM_gspu
,
N_
(
"YouTube Ping Url"
)
},
{
ATOM_gssd
,
N_
(
"YouTube Source Data"
)
},
{
ATOM_gsst
,
N_
(
"YouTube Start Time"
)
},
{
ATOM_gstd
,
N_
(
"YouTube Track Duration"
)
},
{
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