Comments (3)
Hi, I would like to second the support for mp4 files.
On the same, note, .mov
also returns the same result:
[{typename: 'pic'}, {typename: 'pif'}, {typename: 'sea'}, {typename: 'ytr'}]
Both .mkv
and .webm
return this same result so it's impossible to tell which is which (only from the file extension, which could be changed):
[{"typename": "mkv"},{"typename": "mka"},{"typename": "mks"},{"typename": "mk3d"},{"typename": "webm","mime": "audio/webm","extension": "webm"}]
So overall, add better support for video files.
from magic-bytes.
mkv, mka, mks mk3d and webm share the same signature (see: https://en.wikipedia.org/wiki/List_of_file_signatures).
mp4 shall be detected correctly now on version 1.0.10. (https://github.com/LarsKoelpin/magic-bytes/blob/master/src/index.spec.ts#L17)
let me know, if it works for you.
from magic-bytes.
It works. Thank you.
from magic-bytes.
Related Issues (19)
- "types" field in package.json has incorrect path to index.d.ts
- Filetype mime HOT 2
- No browser.js file in /dist folder HOT 3
- License HOT 2
- Cannot detect apng File Type HOT 1
- filetypeinfo failing on subsequent requests HOT 2
- Is it possible to support detection of .mov files
- Issue with MKV files HOT 2
- The automated release is failing 🚨 HOT 5
- .srt & . vtt subtitle/caption file support HOT 6
- Question: dealing with false positives within same signature group HOT 2
- Detects "tda2" instead of truetype ttf HOT 1
- new file types: ELF, macho, eml HOT 1
- new file types to add
- *.hevc files support (ios video format) HOT 2
- Can we relax the pattern for JPGs? HOT 4
- Add CSV support? HOT 1
- Add support for SVG HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magic-bytes.