1
1
mirror of https://github.com/wader/fq.git synced 2024-08-16 23:40:43 +03:00
Commit Graph

2327 Commits

Author SHA1 Message Date
Mattias Wadman
307c4ca105 wip 2023-12-13 19:49:51 +01:00
Mattias Wadman
56c47229f0
Merge pull request #834 from wader/mp4-track-dref
mp4: Don't decode samples if track has external data reference
2023-12-11 15:11:06 +01:00
Mattias Wadman
1f2ef4ebb8
Merge pull request #833 from wader/mp4-trak-traf-heir-instead-of-id
mp4: Use box structure instead of track id to keep track for sample t…
2023-12-11 15:00:03 +01:00
Mattias Wadman
0d06e0a4cb mp4: Don't decode samples if track has external data reference
Also add field for data reference url

Fixes FileFormatConformance/data/file_features/published/isobmff/02_dref_edts_img.mp4
2023-12-11 14:55:10 +01:00
Mattias Wadman
d2c5ce5575 mp4: Use box structure instead of track id to keep track for sample table data
Fixes issue with mp4s where tkhd is after sample table boxes
2023-12-11 14:48:54 +01:00
Mattias Wadman
b05c7ec54f
Merge pull request #824 from mikez/leveldb
leveldb: Add LevelDB support
2023-12-09 16:47:43 +01:00
Michael B.
08e3d2d2a6 leveldb: improve stringify by preallocating result 2023-12-09 15:23:45 +01:00
Michael B.
2f5f183106 leveldb: decode unfragmented .log files further; fix UTF8 decoding
decode unfragmented .log files:

 - break leveldb_log.go into leveldb_log_blocks.go and leveldb_log.go;
   the former is used by both .MANIFEST (descriptor) and .LOG.
 - in leveldb_log, introduce readBatch that decodes further

 fix UTF8 decoding:

 - introduce fieldUTF8ReturnBytes and stringify to handle multi-byte
   UTF8-encodings correctly.
2023-12-09 14:13:33 +01:00
Michael B.
e826f097d3 leveldb: fix Errorf arguments 2023-12-09 11:31:44 +01:00
Michael B.
07ad9401a4 leveldb: rename "suffix" to "sequence_number_suffix" 2023-12-09 08:51:54 +01:00
Michael B.
e735ceadf1 leveldb: propagate error 2023-12-09 08:45:45 +01:00
Michael B.
8665df56e8 leveldb: fix table's data blocks' internal keys decoding
In the LevelDB encoding, the internal key can be cut at any byte:
including the user_key, type, or sequence_number. The resulting prefix
is shared among subsequent keys and not specified explicitly by them.

This fixes a previous mistaken belief that cuts can't happen in the
last 8 bytes of the type & sequence number.

Tests are added.
2023-12-08 23:37:10 +01:00
Mattias Wadman
ebf809c045
Merge pull request #832 from wader/mp4-ctts-signed
mp4: ctts v0 sample_offset seems to be signed in practice
2023-12-08 18:18:47 +01:00
Mattias Wadman
aadf26f6c7 mp4: ctts v0 sample_offset seems to be signed in practice
sample file from the wild has v0 as negatice offsets
ffmpeg mov.c ignored versions and always read as signed
2023-12-08 17:24:20 +01:00
Mattias Wadman
11fc0f2a4d
Merge pull request #831 from wader/doc-update
doc: Update svgs after ansisvg update
2023-12-08 11:05:52 +01:00
Mattias Wadman
c47756dcd2 doc: Update svgs after ansisvg update
Now generates svg:s with better select support
2023-12-08 10:39:12 +01:00
Michael B.
287ed366f6 leveldb: fix metaindex keys, refactoring, and jq syntax per PR 2023-12-07 17:11:55 +01:00
Mattias Wadman
f74bbecf69
Merge pull request #830 from wader/bson-jq-style
bson: Fix jq style a bit
2023-12-07 15:24:36 +01:00
Mattias Wadman
f5f8e93c39 bson: Fix jq style a bit 2023-12-07 15:09:16 +01:00
Michael B.
3a396e156e leveldb: improve log documentation 2023-12-07 14:36:47 +01:00
Mattias Wadman
2c552e07e5
Merge pull request #829 from wader/hevc_sps-fixes
hevc_sps: Fix some incorrect profile_tier_level decoding
2023-12-07 13:43:40 +01:00
Mattias Wadman
919e07952c hevc_sps: Fix some incorrect profile_tier_level decoding
Array was inverted causing field already exists
Wrong number of bits read for reserved_zero_2bits
For sub_layers pass correct level present flag
2023-12-07 13:26:53 +01:00
Michael B.
1ba8dec56c leveldb: in some properties, change spaces to underscores 2023-12-07 13:03:53 +01:00
Michael B.
cc0d5a8b9b leveldb: update docs 2023-12-07 13:02:55 +01:00
Michael B.
41f27a13c1 leveldb: add torepr for descriptor 2023-12-07 12:43:55 +01:00
Michael B.
42830911d0 leveldb: fix all.fqtest failures 2023-12-06 23:45:37 +01:00
Michael B.
fe1099b95d leveldb: updates per PR comments 2023-12-06 23:22:32 +01:00
Michael B.
2df0f0fbcf leveldb: add log and descriptor decoders 2023-12-06 19:24:49 +01:00
Mattias Wadman
4ef91b5b8b
Merge pull request #828 from wader/bump-github-go-version-1.21.5
Update github-go-version to 1.21.5 from 1.21.4
2023-12-06 17:38:25 +01:00
Mattias Wadman
afa3ae19fa
Merge pull request #827 from wader/bump-docker-golang-1.21.5
Update docker-golang to 1.21.5 from 1.21.4
2023-12-06 17:38:17 +01:00
bump
bed912c351 Update github-go-version to 1.21.5 from 1.21.4 2023-12-06 16:04:07 +00:00
bump
43c7693704 Update docker-golang to 1.21.5 from 1.21.4 2023-12-06 16:04:03 +00:00
Mattias Wadman
86e6d58ad2
Merge pull request #826 from wader/mpeg_es_ios_descriptors
mpeg_es: Support ES_ID_Inc and decode descriptors for IOD tags
2023-12-06 15:33:31 +01:00
Mattias Wadman
fca55b2c09 mpeg_es: Support ES_ID_Inc and decode descriptors for IOD tags 2023-12-06 15:12:53 +01:00
Mattias Wadman
d284808cb5
Merge pull request #825 from wader/test-update-flag
test: Support to more common -update flag
2023-12-06 12:32:03 +01:00
Mattias Wadman
7906f33d51 test: Support to more common -update flag 2023-12-06 11:47:38 +01:00
Michael B.
78a3e94bd7 leveldb: rename functions and add comments 2023-12-05 16:33:50 +01:00
Michael B.
b05aa997ab leveldb: address PR comments 2023-12-05 11:31:30 +01:00
Michael B.
efc59a8130 ldb: uncompression support 2023-12-04 18:49:59 +01:00
Michael B.
fb910bd44b ldb: first draft
Example:
go run . -d ldb d format/ldb/testdata/000005.ldb
2023-12-04 12:05:06 +01:00
Mattias Wadman
146fac3547
Merge pull request #823 from nichtich/patch-2
Add DFDL acronym to README.md
2023-12-03 11:06:45 +01:00
Jakob Voß
6c3914aad6
Add DFDL acronym to README.md 2023-12-03 10:42:46 +01:00
Mattias Wadman
b55b578dbc
Merge pull request #821 from wader/goreleaser-fix-deprecated
goreleaser: Fix deprecated options
2023-11-28 20:27:34 +01:00
Mattias Wadman
a793d10933 goreleaser: Fix deprecated options 2023-11-28 20:19:12 +01:00
Mattias Wadman
abeb3602e6
Merge pull request #820 from wader/bump-gomod-golang-x-net-0.19.0
Update gomod-golang-x-net to 0.19.0 from 0.18.0
2023-11-28 17:18:38 +01:00
Mattias Wadman
cbf68663b5
Merge pull request #819 from wader/bump-gomod-golang-x-crypto-0.16.0
Update gomod-golang-x-crypto to 0.16.0 from 0.15.0
2023-11-28 17:18:32 +01:00
bump
0200a4eea7 Update gomod-golang-x-net to 0.19.0 from 0.18.0
Tags https://github.com/golang/net/tags
2023-11-28 16:04:04 +00:00
bump
be79c19304 Update gomod-golang-x-crypto to 0.16.0 from 0.15.0
Tags https://github.com/golang/crypto/tags
2023-11-28 16:04:00 +00:00
Mattias Wadman
1482145718
Merge pull request #817 from wader/release-0.9.0
fq: Release 0.9.0
2023-11-25 18:45:41 +01:00
Mattias Wadman
3e00ccbff6 fq: Release 0.9.0 2023-11-25 18:37:10 +01:00