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:
Thomas
2023-06-21 19:50:12 +01:00
committed by GitHub
parent c03d8e312a
commit 069c68bfe4
7 changed files with 79 additions and 44 deletions

View File

@@ -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"};
}