1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

adding more supported video formats

This commit is contained in:
Patrik J. Braun 2019-12-11 10:39:39 +01:00
parent 17086bcb9e
commit 8a82ec49c5

View File

@ -6,6 +6,8 @@ export const SupportedFormats = {
'webp', 'webp',
'svg' 'svg'
], ],
// Browser supported video formats
// Read more: https://www.w3schools.com/html/html5_video.asp
Videos: [ Videos: [
'mp4', 'mp4',
'webm', 'webm',
@ -15,6 +17,7 @@ export const SupportedFormats = {
MetaFiles: [ MetaFiles: [
'gpx' 'gpx'
], ],
// These formats need to be transcoded (with the build-in ffmpeg support)
TranscodeNeed: { TranscodeNeed: {
Photos: <string[]>[], Photos: <string[]>[],
Videos: [ Videos: [
@ -22,7 +25,17 @@ export const SupportedFormats = {
'mkv', 'mkv',
'mov', 'mov',
'wmv', 'wmv',
'flv' 'flv',
'.mts',
'.m2ts',
'mpg',
'3gp',
'm4v',
'mpeg',
'vob',
'divx',
'xvid',
'ts'
], ],
}, },
WithDots: { WithDots: {