mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat: M2TS (#2896)
Support the Blu-ray disc Audio-Video (BDAV) MPEG-2 Transport Stream (M2TS) format. https://en.wikipedia.org/wiki/.m2ts Fixes: #2350
This commit is contained in:
parent
c03d8e312a
commit
069c68bfe4
7 changed files with 79 additions and 44 deletions
|
|
@ -137,6 +137,12 @@ class FileHelper {
|
|||
case 'jxl':
|
||||
return {"type": "image", "subType": "jxl"};
|
||||
|
||||
case 'mts':
|
||||
return {"type": "video", "subType": "mp2t"};
|
||||
|
||||
case 'm2ts':
|
||||
return {"type": "video", "subType": "mp2t"};
|
||||
|
||||
default:
|
||||
return {"type": "unsupport", "subType": "unsupport"};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue