andrewlewis
50db5207cb
Fix parsing of H.265 sequence parameter sets
...
Fix short term reference picture list parsing. Before this change, `deltaPocS0`
was derived by adding one to the value of the syntax element
`delta_poc_s0_minus1`, but (maybe surprising) the specification actually says
that `DeltaPocS0[stRpsIdx][i]` should be assigned the negation
`-(delta_poc_s0_minus1[i] + 1)` on the first iteration, then that value added
to the previous value on previous iterations. See equations (7-67) to (7-70) in
the 2021-08 version of the H.265/HEVC specification.
Also read the number of long term reference pictures once rather than on every
loop iteration (subsection 7.3.2.2.1).
PiperOrigin-RevId: 551852999
(cherry picked from commit ddb0f86604 )
2023-07-28 16:00:13 +01:00
sheenachhabra
ebfb9cf402
Add support for passing custom metadata via transformer
...
Changes included:
1. Enable MP4 extractor to read all types of metadata.
2. Allow passing String and Float metadata via Transformer.
Reference to QuickTime spec: https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/Metadata/Metadata.html#//apple_ref/doc/uid/TP40000939-CH1-SW21
PiperOrigin-RevId: 538783982
(cherry picked from commit 53c174f047 )
2023-06-12 09:15:53 +00:00
sheenachhabra
f1d285ed6f
Add support for passing creation time via InAppMuxer
...
PiperOrigin-RevId: 538175466
(cherry picked from commit 7e14811e25 )
2023-06-12 09:15:51 +00:00
sheenachhabra
c38f094b32
Add support for adding capture FPS via transformer
...
PiperOrigin-RevId: 534814892
(cherry picked from commit a944ffecb9 )
2023-05-26 13:25:09 +00:00
sheenachhabra
fb952145fc
Add support for adding XMP data via transformer
...
PiperOrigin-RevId: 534801202
(cherry picked from commit 71facd825e )
2023-05-26 13:25:09 +00:00
sheenachhabra
d40f37158a
Move MdtaMetadataEntry class into container module
...
This class is to be shared between extractor, transformer
and muxer module.
PiperOrigin-RevId: 533490888
(cherry picked from commit b382a7c2da )
2023-05-26 13:25:07 +00:00
sheenachhabra
400218c018
Add argument validation in Mp4LocationData
...
PiperOrigin-RevId: 533121451
(cherry picked from commit 209783bdf2 )
2023-05-25 10:44:07 +00:00
sheenachhabra
7adca46e4b
Move Mp4LocationData from extractor module to container module
...
This class will be shared between extractor and muxer module.
PiperOrigin-RevId: 532784415
(cherry picked from commit 7b62b33127 )
2023-05-18 16:07:52 +00:00
sheenachhabra
f5ec1bb6f9
Move NAL unit related methods from common to container module
...
PiperOrigin-RevId: 532750099
(cherry picked from commit e0d6f67dd9 )
2023-05-18 16:07:51 +00:00
sheenachhabra
f15e5733ce
Add container module
...
This module will contain functionalities common to extractor and muxer.
PiperOrigin-RevId: 531501602
(cherry picked from commit eb8ec87a5c )
2023-05-17 16:59:54 +00:00