file-type icon indicating copy to clipboard operation
file-type copied to clipboard

Ability to detect MPEG when prefixed with some noise

Open Borewit opened this issue 1 year ago • 0 comments

Allow 4 bytes of prefixing MPEG noise.

Via options.mpegOffsetTollerance this number can be increased, which will result it a bit slow scanning times.

Resolves #628

ToDo

  • [ ] Document options.mpegOffsetTollerance
  • [ ] Add MPEG noise fixture
  • [ ] Handle corner case options.mpegOffsetTollerance exceed 256 (peeked buffer size) - 2 (MPEG preamble) [bytes]

Borewit avatar Jul 16 '24 21:07 Borewit