James Zern
5261a679b7
webm_info: check vp9 ParseUncompressedHeader return
...
avoids potential side effects
BUG=webm:1416,webm:1417
Change-Id: I4acd4c9f86be20fa3c06af6c87c1ce538a50c84c
2017-04-21 15:16:17 -07:00
James Zern
85f7e2e428
webm_info,PrintVP9Info: validate alt ref sizes
...
fixes out of bounds reads with corrupted bitstreams
BUG=webm:1416,webm:1417
Change-Id: Ia643708b4b74d153a7b1dee1c4cbcab7f79d7111
2017-04-21 15:15:26 -07:00
James Zern
50c44bb44d
webm_info,OutputCues: fix indexing of tracks
...
use GetTrackByIndex() rather than GetTrackByNumber(). the former is
0-based the latter is by track id, this loop iterates through all tracks
based on the track count.
fixes a segfault with tracks non-starting at 1 / increasing by 1.
BUG=webm:1415
Change-Id: I916328575d0871cf4090b1d123644d6f01e6ffb1
2017-04-19 23:10:33 -07:00
Frank Galligan
c97e3e7d60
Add support to output sub-sample encryption information.
...
See http://wiki.webmproject.org/encryption/webm-subsample-encryption
for the format.
Change-Id: Ia5d6f3566b92c46911704108d3e86cd0fac9ee34
2016-10-13 09:04:52 -07:00
Tom Finegan
54d6b6b60e
webm_info: Add Projection element support.
...
Part of the Spherical Video V2 draft specification:
https://github.com/google/spatial-media/blob/master/docs/spherical-video-v2-rfc.md
Change-Id: If37a7e3ede452a2545f613b50cd3cedd5dd64f09
2016-08-29 14:51:28 -07:00
Frank Galligan
82903f36fa
Add column tiles and frame parallel to webm_info
...
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1227
Change-Id: I23b1611a91074bfa0cff3b788baeff71bc68d034
2016-05-17 09:00:41 -07:00
Frank Galligan
d31e6c970d
Fix profile 2 in vp9_header_parser.
...
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1208
Change-Id: Ie31adef15eac965e3fb587825f63ff320c1d59fe
2016-04-29 17:11:29 -07:00
Frank Galligan
bd3ab3abe6
Add flag to estimate last frame's duration to stats.
...
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1204
Change-Id: Ie73e2981951f9eb6140bdfb0a6839320e009b7fe
2016-04-29 14:19:58 -07:00
Frank Galligan
196708a95f
Change MaxLumaSampleRate to be based on frame resolution.
...
MaxLumaSampleRate generation code now takes into account the frame
resolution of every frame.
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1203
Change-Id: I666fa2f21971ff4fb80219ef29dee3254cbb370c
2016-04-29 08:15:37 -07:00
Frank Galligan
47f2843e79
Add parsing support for new features in CodecPrivate.
...
Adds support for parsing bit depth and chroma subsampling features.
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1198
Change-Id: I8d11829f5d43a518cbe0e5c0bdd4fd37db7b6266
2016-04-27 09:27:24 -07:00
Frank Galligan
e3c9576716
Add VP9 level output to webm_info.
...
Removed building webm_info from Makefile.unix as it now requires c++11.
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1188
Change-Id: Ia142f0c3cd580f397449d2ffa8788f78fb7faff0
2016-04-26 22:16:31 -07:00
Frank Galligan
58e33b3329
Merge "Add support to parse VP9 profile."
2016-04-18 19:20:04 +00:00
Frank Galligan
296429a7dc
Add support to parse VP9 profile.
...
This is the VP9 profile contained in the CodecPrivate data.
Change-Id: If5fd5667bfc86ff596354457539da363367128db
2016-04-18 12:15:59 -07:00
Frank Galligan
7d674468bd
Merge "Add support to output Colour elements to webm_info."
2016-04-13 16:15:30 +00:00
Frank Galligan
a1dc4f2f22
Fix parsing of VP9 level.
...
The VP9 level is contained in the CodecPrivate data.
Change-Id: I65475363ee230b422a8cdce8172f6262cb3329e7
2016-04-12 23:00:03 -07:00
Frank Galligan
4e3d037374
Add support to output Colour elements to webm_info.
...
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1178
Change-Id: I50825e320a0c93dd565bf89c9478feb434277ddb
2016-04-12 21:46:00 -07:00
Tom Finegan
030518edd3
webm_info: Fix implicit conversion warnings.
...
Fix warnings exposed by addition of -Wshorten-64-to-32 to compiler
flags.
Change-Id: I56f10e6c9af8c4fafebe8fbe00739f775cf31492
2016-04-08 10:45:33 -07:00
Tom Finegan
5c50e310e7
Add support for parsing VPx track codec private data.
...
Currently only the VP9 profile level is supported.
http://www.webmproject.org/vp9/profiles/
Change-Id: Iff7238e104621b53fdd51a67d752bd72b2dbbacb
2016-04-04 11:16:33 -07:00
Tom Finegan
596f5e0544
Add webm_info.
...
Migrated from the webm-tools repository with minor tweaks to
fix its build in the new location.
Last location/revision:
https://chromium.googlesource.com/webm/webm-tools
a7e97e8f0a913ddd97444392bb8816f44a4821a1
Change-Id: Icfad43d9fdd37fc413a6a28b57b370c97c7c28df
2016-04-01 12:07:38 -04:00