Mattias Wadman
02b3527608
exif,tiff: Handle broken last next ifd offset by treating it as end marker
2023-11-03 16:13:49 +01:00
Mattias Wadman
9e58067f4b
webp: Refactor to use riff code and decode VP8X, EXIF, ICCP and XMP chunks
2023-11-01 18:58:09 +01:00
Mattias Wadman
5e2e49e31b
protobuf: No need for synthetic for string and bytes value
2023-10-29 16:10:22 +01:00
Mattias Wadman
797c7d9065
macho: Move timestamp string to description
2023-10-25 18:00:44 +02:00
Mattias Wadman
a418eb0e63
Merge pull request #796 from wader/macho-flags-endian
...
macho: Respect endian when decoding flags
2023-10-25 17:57:24 +02:00
Mattias Wadman
71a5fc91ad
macho: Respect endian when decoding flags
2023-10-25 17:43:36 +02:00
Mattias Wadman
ac276ee119
gzip: Correctly handle multiple members
...
A gzip file consists of one or more "members" that are concatenated on uncompress.
Introduce a members array with each member and uncompressed is now the concatenation.
Fixes #794
2023-10-24 10:45:32 +02:00
Mattias Wadman
a83cac6021
zip: Fix incorrect time/date, add extended timestamp and refactor
...
MSDOS time/date was read in wrong order and also did not take into account
that the bit ranges in the shortis are in little-endian.
Remodel modification_time/date to be one struct with fat_time, fat_date LE shorts
and then synthetic values for day, hours, minute etc and also a unix field with the
timestamp as unix time.
Also refactor and clenaup extra fields/extended code a bit.
Fixes #792
2023-10-23 11:11:27 +02:00
Mattias Wadman
d703321a7a
avi: Add extended chunks support and option
...
This is used for >1gb files. Disable decode will speed up
deocde a lot but will probably also produce some gaps as same
part of the movi chunks will not be reference by the indx index.
2023-10-20 15:55:19 +02:00
Mattias Wadman
051a70bd4b
interp: Change bit ranges to use exclusive end
...
All other ranges and slicing uses exclusive end so i think it make sense
to make it consistent.
Update docs and add additional example for non-byte-aligned field.
Also fixes issue showing zero bit ranges as start-NA.
2023-10-20 15:37:26 +02:00
Mattias Wadman
45a8dd9c74
interp: Better from_jq error handling
...
Thanks @emanuele6 for reporting
2023-10-20 14:21:58 +02:00
Mattias Wadman
1d14ea51cd
matroska: Decode ebml date type
...
Also some refactor of shared date decode functions to allow unit
2023-10-17 11:10:48 +02:00
Mattias Wadman
80aaef9e84
Merge pull request #781 from wader/brightbg-fixes
...
interp: Improve colors when using light background
2023-10-11 14:51:10 +02:00
Mattias Wadman
0f225c3245
avi: Add unused field for extra indx chunk space
2023-10-10 16:46:05 +02:00
Mattias Wadman
c28163f8f4
interp: Improve colors when using light background
...
Related to #729
2023-10-10 11:08:38 +02:00
Mattias Wadman
c7ec18d6d2
avi: Increase sample size heuristics to 32bit stereo
2023-10-08 10:33:36 +02:00
Mattias Wadman
55521bbaec
avi: Add stream type constants
2023-10-07 21:19:14 +02:00
Mattias Wadman
9b10e59802
avi: Only use sample size heuristics if there is no format
2023-10-07 18:07:46 +02:00
Mattias Wadman
23ae4d978b
decode,interp: Make synthetic values more visible and not act as decode values
2023-10-07 17:40:16 +02:00
Mattias Wadman
df085b91b9
avi: Handle stream sample size
...
When > 0 split sample into sub samples
2023-10-07 16:48:59 +02:00
Mattias Wadman
5196554989
avi: Add type, handler, format_tag and compreession per stream
...
Also simplify stream tracking code a bit
2023-10-07 11:35:30 +02:00
Mattias Wadman
a745b12da2
avi: More correct strf chunk extra data
2023-10-05 23:11:55 +02:00
fiatjaf
912f4116a9
opentimestamps: add help text.
2023-09-26 15:22:23 -03:00
fiatjaf
64a4ff2e7a
opentimestamps: account for unknown attestation types.
2023-09-26 15:00:35 -03:00
fiatjaf
cc8e6f1abc
opentimestamps: abstract away file digest sizes and support sha1, ripemd160 and keccac256.
2023-09-26 14:49:00 -03:00
fiatjaf
5e7c01a013
opentimestamps: address comments and improve things.
2023-09-26 12:35:18 -03:00
fiatjaf
0a22a3253c
opentimestamps: satisfy linter.
2023-09-25 23:04:03 -03:00
fiatjaf
1aa557d533
opentimestamps: add tests.
2023-09-25 22:52:56 -03:00
fiatjaf
cef5faa85d
opentimestamps: add parser.
2023-09-25 22:52:41 -03:00
Ronsor
14f233d21e
moc3: update tests
2023-09-18 18:22:50 -07:00
Ronsor
f7eb0279b3
moc3: Fix field order in blend_shape_keyform_bindings structure, version detection in count_info
2023-09-18 18:21:07 -07:00
Mattias Wadman
0699c80bac
mp3_frame_xing: Detect lame ext more similar to ffmpeg and mediainfo
2023-09-08 12:09:35 +02:00
Mattias Wadman
0efe5a2c64
id3v2: Handle W000-WZZZ,W00-WZZ URL frames
2023-09-04 15:41:57 +02:00
Mattias Wadman
bedd719b3a
mp4: Decode emsg box
2023-08-31 17:33:18 +02:00
Mattias Wadman
312d8078a7
mp4: Decode cslg box
2023-08-31 15:00:29 +02:00
Mattias Wadman
e50028ac00
mp4,mpeg_es: Decode iods box and MP4_IOD_Tag OD
2023-08-30 14:57:41 +02:00
Mattias Wadman
0cefc46b8b
golangci: Fix gosec aliasing warnings
2023-08-21 19:26:21 +02:00
Mattias Wadman
c503bc1313
html: Add forgotten re test
2023-08-21 19:26:00 +02:00
Mattias Wadman
f15f9bc1a4
doc,moc3,caff: Add author and regenerate docs
2023-08-21 10:04:37 +02:00
Mattias Wadman
2eae4c2fd5
Merge pull request #747 from Ronsor/live2d-formats
...
moc3 and caff: add decoder
2023-08-20 19:06:50 +02:00
Ronsor
833b06363c
moc3: update test data
2023-08-20 09:55:59 -07:00
Ronsor
fac1e68395
moc3: count_info: extra space is reserved, not normal alignment/padding
2023-08-19 21:09:50 -07:00
Ronsor
e424e2932e
moc3: eliminate gaps and properly handle padding, fix version 5 format decoding
2023-08-19 21:03:54 -07:00
Ronsor
b3759de7f0
caff: run go fmt
2023-08-19 07:18:33 -07:00
Ronsor
013cc2f68f
caff: eliminate gaps and specify unused fields
2023-08-19 07:07:10 -07:00
Ronsor
4dd0f6d88b
caff: run go fmt
2023-08-18 20:02:26 -07:00
Ronsor
d3073c6459
moc3: add test data for new version 5
2023-08-18 20:02:12 -07:00
Ronsor
fa1157221b
caff: obfuscation key is a signed integer, add test data
...
The obfuscation key is actually a signed integer, and thanks to two's complement
arithmetic and sign extension, this is actually significant.
2023-08-18 19:45:09 -07:00
Ronsor
03ba71b67f
moc3: add support for version 5
2023-08-18 17:42:17 -07:00
Ronsor
ce40fd19d7
moc3: consistency - scales array contains value elements, not scale elements
2023-08-18 12:02:55 -07:00