kimvde
afc2858ad0
Add PsExtractor test for AC3
...
PiperOrigin-RevId: 305503256
2020-04-08 21:48:54 +01:00
kimvde
dc80cf32b6
Add TsExtractor tests for LATM and H264
...
PiperOrigin-RevId: 305475709
2020-04-08 21:48:36 +01:00
olly
d87fc72378
Add DASH text representation parsing tests
...
PiperOrigin-RevId: 305140826
2020-04-07 13:39:03 +01:00
olly
eb65f5e20a
Fix ADTS extraction with mid-stream ID3
...
PiperOrigin-RevId: 304184650
2020-04-01 22:38:45 +01:00
olly
db61af23b9
Parse opus gain correctly as a signed value
...
Issue: #7046
PiperOrigin-RevId: 303354941
2020-03-27 23:33:15 +00:00
andrewlewis
09be441e3d
Add canned VAST/VMAP ad responses for testing
...
PiperOrigin-RevId: 303286872
2020-03-27 23:31:54 +00:00
ibaker
2842eb3eb4
Make milliseconds optional in SubRip (SRT) subtitles
...
issue:#7122
PiperOrigin-RevId: 303154493
2020-03-27 23:31:21 +00:00
olly
05fb211121
WAV: Don't read past data end position
...
Issue: #7129
PiperOrigin-RevId: 302660343
2020-03-25 13:05:14 +00:00
ibaker
0c20462b48
Allow missing hours in SubRip (.srt) subtitle timecodes
...
Add a test for this case, and extend the existing tests to ensure the
hour is parsed when it's present.
issue:#7122
PiperOrigin-RevId: 302472213
2020-03-25 13:03:52 +00:00
Oliver Woodman
0175dd4441
Merge pull request #7057 from Chimerapps:dash_assetidentifier
...
PiperOrigin-RevId: 300313753
2020-03-11 16:27:36 +00:00
andrewlewis
9c1c74ecc4
Rename .unklen.dump -> .unknown_length.dump
...
PiperOrigin-RevId: 298334502
2020-03-10 10:16:54 +00:00
Oliver Woodman
06e1651612
Merge pull request #7026 from DolbyLaboratories:dev-v2-test-assets
...
PiperOrigin-RevId: 298317097
2020-03-10 10:16:35 +00:00
Nicola Verbeeck
170fc852ca
DASH: Include AssetIdentifier in period
...
DASH: Parse AssetIdentifier in period
Breaking: DashManifestParser.buildPeriod signature has changed
2020-03-06 12:24:04 +01:00
olly
67b29bbe39
Format.Builder: Finish migration
...
Issue: #5978
PiperOrigin-RevId: 297876336
2020-02-28 18:43:04 +00:00
olly
3730639c95
Don't set decoded bitrate on audio/flac format
...
PiperOrigin-RevId: 297864386
2020-02-28 18:42:39 +00:00
andrewlewis
64feb97d62
Add codecs string to extractor dumps
...
PiperOrigin-RevId: 297806457
2020-02-28 18:41:13 +00:00
olly
db97d0c37c
Format.Builder: Migrate MatroskaExtractor
...
Selection flags and language tags appear to apply to all tracks
in MKV, so I think the change in output is correct.
PiperOrigin-RevId: 297646190
2020-02-28 18:41:04 +00:00
kimvde
56dbe83a4c
Extractor tests: dump only non-default values for format
...
This removes noisy data from the dump files and allows updating less
dump files if a format field is added, removed or updated.
PiperOrigin-RevId: 297617138
2020-02-28 18:40:54 +00:00
ybai001
40df646a07
Add AC3 and EAC3-JOC Test Assets
2020-02-28 19:32:01 +08:00
kim-vde
292942feb3
Merge pull request #6971 from DolbyLaboratories:dev-v2-ts-assets
...
PiperOrigin-RevId: 297591404
2020-02-27 17:16:20 +00:00
kim-vde
6946170d3e
Merge pull request #6922 from phhusson:feature/ait
...
PiperOrigin-RevId: 297579733
2020-02-27 17:15:52 +00:00
kimvde
52825a272d
Rename FLAC dump files based on output instead of language
...
PiperOrigin-RevId: 297336461
2020-02-27 17:15:11 +00:00
olly
31f0302505
Extractor tests: Output average and peak bitrates separately
...
Note: The dump files will need updating again when the extractors
are modified to only set the appropriate bitrate. Enhancing the
test first is nice, because it means that in subsequent CLs the
dump file updates can be used to quickly see what's changed in
the output.
PiperOrigin-RevId: 297188367
2020-02-27 17:14:47 +00:00
ibaker
94315ab757
Remove duplicate SCTE-35 format and add sample to TsExtractorTest
...
It's not clear why we're currently outputting the format in both init()
and consume() - it seems likely that this was accidentally introduced
in <unknown commit>
when we started outputting the format in consume() but didn't remove it
from init().
The SCTE-35 TsExtractorTest doesn't pass with the current code because
when it seeks back to the beginning of the file init() is not called
again so the second pass through only sees one sample (and
ExtractorAsserts checks that seeking back to 0 produces the same output
as reading the file from the beginning).
I generated the SCTE-35 sample using TSDuck's tsp command:
$ tsp --add-input-stuffing 1/10 \
-I file testdata/src/test/assets/ts/sample.ts \
-P pmt --service 1 --add-programinfo-id 0x43554549 --add-pid 600/0x86 \
-P spliceinject --service 1 --files scte_35.xml --wait-first-batch \
-P filter --negate --pid 0x1FFF \
-O file testdata/src/test/assets/ts/sample_scte35.ts
This was adapted from the instructions in section 5.2.24.1 of the TSDuck
user manual: https://tsduck.io/download/docs/tsduck.pdf
PiperOrigin-RevId: 296217084
2020-02-25 21:22:40 +00:00
ibaker
786a1ee82f
Add ruby support to TtmlDecoder
...
I had to expand the info that gets passed around a bit, so I could join up the container, base & text ruby nodes.
Spec: https://www.w3.org/TR/2018/REC-ttml2-20181108/#style-attribute-ruby
PiperOrigin-RevId: 295931653
2020-02-25 21:21:04 +00:00
kimvde
7a8ab7ce68
FakeTrackOutput: test all the formats sent
...
PiperOrigin-RevId: 294621946
2020-02-13 15:44:47 +00:00
kimvde
bdfd24290f
Share FLAC extractor tests between both extractors
...
PiperOrigin-RevId: 294614958
2020-02-13 15:44:29 +00:00
ybai001
397aafb3ce
Add EAC3 and AC-4 test assets
2020-02-13 09:47:18 +08:00
kim-vde
fed0acc253
Merge pull request #6949 from DolbyLaboratories:dev-v2-assets
...
PiperOrigin-RevId: 294441610
2020-02-11 17:12:55 +00:00
kimvde
363599dd54
Move assets from dash to testdata module
...
PiperOrigin-RevId: 294241169
2020-02-11 17:12:21 +00:00
kimvde
22ce744095
Move assets from core to testdata module
...
PiperOrigin-RevId: 294239472
2020-02-11 17:12:13 +00:00
kimvde
ecc04b2b6f
ExtractorAsserts: always test against .unklen.dump files
...
This allows the file to be created automatically when
FakeExtractorOutput#WRITE_DUMP is true.
PiperOrigin-RevId: 293834547
2020-02-11 17:10:33 +00:00
kimvde
b081b6ea4a
Move assets from vp9 to testdata module
...
PiperOrigin-RevId: 293781786
2020-02-11 17:10:18 +00:00
kimvde
bcbb7d23fa
Move assets from opus to testdata module
...
PiperOrigin-RevId: 293780365
2020-02-11 17:10:10 +00:00
kimvde
e4eb55a291
Move asssets from smoothstreaming to testdata module
...
PiperOrigin-RevId: 293774012
2020-02-11 17:10:03 +00:00
kimvde
b69918a21e
Move assets from extractor to testdata module
...
PiperOrigin-RevId: 293608745
2020-02-11 17:09:39 +00:00
kimvde
79a3bad4c3
Move assets from FLAC extension to testdata
...
PiperOrigin-RevId: 293553412
2020-02-11 17:09:08 +00:00
kimvde
011efcc522
Move FLAC assets from extractor to testdata module
...
PiperOrigin-RevId: 293552271
2020-02-11 17:09:00 +00:00
kimvde
e3f43ee2ce
Create testdata module
...
This module will allow sharing sample data between modules.
PiperOrigin-RevId: 293545495
2020-02-11 17:08:45 +00:00