Videos: Add .dv to the list of known video file types #3226
Note that this is completely untested as we have no sample files. Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
1cc64cc5e6
commit
ae4a2abc37
|
@ -109,6 +109,7 @@ var Extensions = FileExtensions{
|
||||||
".webm": VideoWebM,
|
".webm": VideoWebM,
|
||||||
".asf": VideoASF,
|
".asf": VideoASF,
|
||||||
".wmv": VideoWMV,
|
".wmv": VideoWMV,
|
||||||
|
".dv": VideoDV,
|
||||||
".svg": VectorSVG,
|
".svg": VectorSVG,
|
||||||
".ai": VectorAI,
|
".ai": VectorAI,
|
||||||
".ps": VectorPS,
|
".ps": VectorPS,
|
||||||
|
|
|
@ -31,6 +31,7 @@ var TypeInfo = TypeMap{
|
||||||
VideoAVI: "Microsoft Audio Video Interleave",
|
VideoAVI: "Microsoft Audio Video Interleave",
|
||||||
VideoASF: "Advanced Systems Format ",
|
VideoASF: "Advanced Systems Format ",
|
||||||
VideoWMV: "Windows Media",
|
VideoWMV: "Windows Media",
|
||||||
|
VideoDV: "DV Video",
|
||||||
Video3GP: "Mobile Multimedia Container (3G)",
|
Video3GP: "Mobile Multimedia Container (3G)",
|
||||||
Video3G2: "Mobile Multimedia Container (CDMA2000)",
|
Video3G2: "Mobile Multimedia Container (CDMA2000)",
|
||||||
VideoFlash: "Adobe Flash",
|
VideoFlash: "Adobe Flash",
|
||||||
|
|
|
@ -48,6 +48,7 @@ const (
|
||||||
VideoOGV Type = "ogv" // Ogg container format maintained by the Xiph.Org, free and open
|
VideoOGV Type = "ogv" // Ogg container format maintained by the Xiph.Org, free and open
|
||||||
VideoASF Type = "asf" // Advanced Systems/Streaming Format (ASF)
|
VideoASF Type = "asf" // Advanced Systems/Streaming Format (ASF)
|
||||||
VideoWMV Type = "wmv" // Windows Media Video (based on ASF)
|
VideoWMV Type = "wmv" // Windows Media Video (based on ASF)
|
||||||
|
VideoDV Type = "dv" // DV Video (https://en.wikipedia.org/wiki/DV)
|
||||||
VectorSVG Type = "svg" // Scalable Vector Graphics
|
VectorSVG Type = "svg" // Scalable Vector Graphics
|
||||||
VectorAI Type = "ai" // Adobe Illustrator
|
VectorAI Type = "ai" // Adobe Illustrator
|
||||||
VectorPS Type = "ps" // Adobe PostScript
|
VectorPS Type = "ps" // Adobe PostScript
|
||||||
|
|
|
@ -39,6 +39,7 @@ var Formats = map[fs.Type]Type{
|
||||||
fs.VideoOGV: Video,
|
fs.VideoOGV: Video,
|
||||||
fs.VideoASF: Video,
|
fs.VideoASF: Video,
|
||||||
fs.VideoWMV: Video,
|
fs.VideoWMV: Video,
|
||||||
|
fs.VideoDV: Video,
|
||||||
fs.VectorSVG: Vector,
|
fs.VectorSVG: Vector,
|
||||||
fs.VectorAI: Vector,
|
fs.VectorAI: Vector,
|
||||||
fs.VectorPS: Vector,
|
fs.VectorPS: Vector,
|
||||||
|
|
Loading…
Reference in a new issue