github.com/GeniusesGroup/libgo@v0.0.0-20220929090155-5ff932cb408e/mediatypes/media-types-video.go (about) 1 /* For license and copyright information please see LEGAL file in repository */ 2 3 package mediatypes 4 5 import ( 6 "../mediatype" 7 "../protocol" 8 ) 9 10 var ( 11 AVI mediatype.MediaType 12 13 MPEG mediatype.MediaType 14 15 OGV mediatype.MediaType 16 17 ThreeGPVideo mediatype.MediaType 18 ThreeG2Video mediatype.MediaType 19 20 WEBM mediatype.MediaType 21 ) 22 23 func init() { 24 AVI.Init("video/x-msvideo") 25 AVI.SetFileExtension("avi") 26 AVI.SetDetail(protocol.LanguageEnglish, "Audio Video Interleave", "", "", "", "", []string{}) 27 28 MPEG.Init("video/mpeg") 29 MPEG.SetFileExtension("mpeg") 30 MPEG.SetDetail(protocol.LanguageEnglish, "MPEG Video", "", "", "", "", []string{}) 31 32 OGV.Init("video/ogg") 33 OGV.SetFileExtension("ogg") 34 OGV.SetDetail(protocol.LanguageEnglish, "OGG video", "", "", "", "", []string{}) 35 36 ThreeGPVideo.Init("video/3gpp") 37 ThreeGPVideo.SetFileExtension("3gp") 38 ThreeGPVideo.SetDetail(protocol.LanguageEnglish, "3GPP video container", "", "", "", "", []string{}) 39 40 ThreeG2Video.Init("video/3gpp2") 41 ThreeG2Video.SetFileExtension("3g2") 42 ThreeG2Video.SetDetail(protocol.LanguageEnglish, "3GPP2 video container", "", "", "", "", []string{}) 43 44 WEBM.Init("video/webm") 45 WEBM.SetFileExtension("webm") 46 WEBM.SetDetail(protocol.LanguageEnglish, "WEBM video", "", "", "", "", []string{}) 47 }