-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add converter test and update UI elements
- Loading branch information
1 parent
c522f2d
commit 1dcad8f
Showing
37 changed files
with
631 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const INITIAL_PROGRESS = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,47 @@ | ||
import { AudioFormat } from '@/enum/audio-format'; | ||
import { VideoFormat } from '@/enum/video-format'; | ||
|
||
export const VIDEO_CONVERSION_FORMATS = [ | ||
'mp4', 'webm', 'ogg', 'flv', 'avi', | ||
'mov', 'wmv', '3gp', 'mkv', 'm4v', | ||
'mpg', 'mpeg', 'vob', 'ts', 'asf', | ||
'f4v', 'h264', 'hevc', 'm2ts', 'm2v', | ||
'mts', 'ogv', 'rm', 'swf', 'xvid', | ||
VideoFormat.MP4, | ||
VideoFormat.WEBM, | ||
VideoFormat.OGG, | ||
VideoFormat.FLV, | ||
VideoFormat.AVI, | ||
VideoFormat.MOV, | ||
VideoFormat.WMV, | ||
VideoFormat.GP3, | ||
VideoFormat.MKV, | ||
VideoFormat.M4V, | ||
VideoFormat.MPG, | ||
VideoFormat.MPEG, | ||
VideoFormat.VOB, | ||
VideoFormat.TS, | ||
VideoFormat.ASF, | ||
VideoFormat.F4V, | ||
VideoFormat.H264, | ||
VideoFormat.HEVC, | ||
VideoFormat.M2TS, | ||
VideoFormat.M2V, | ||
VideoFormat.MTS, | ||
VideoFormat.OGV, | ||
VideoFormat.RM, | ||
VideoFormat.SWF | ||
]; | ||
|
||
export const AUDIO_CONVERSION_FORMATS = [ | ||
'mp3', 'wav', 'ogg', 'm4a', 'flac', | ||
'wma', 'aac', 'amr', 'aiff', 'au', | ||
'mka', 'ac3', 'ape', 'mpc', 'opus', | ||
AudioFormat.MP3, | ||
AudioFormat.WAV, | ||
AudioFormat.OGG, | ||
AudioFormat.M4A, | ||
AudioFormat.FLAC, | ||
AudioFormat.WMA, | ||
AudioFormat.AAC, | ||
AudioFormat.AMR, | ||
AudioFormat.AIFF, | ||
AudioFormat.AU, | ||
AudioFormat.MKA, | ||
AudioFormat.AC3, | ||
AudioFormat.APE, | ||
AudioFormat.MPC, | ||
AudioFormat.OPUS | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export enum Architecture { | ||
IA32 = 'ia32', | ||
X64 = 'x64', | ||
ARM = 'arm', | ||
ARM64 = 'arm64', | ||
UNKNOWN = 'unknown' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export enum AudioFormat { | ||
MP3 = 'mp3', | ||
WAV = 'wav', | ||
OGG = 'ogg', | ||
M4A = 'm4a', | ||
FLAC = 'flac', | ||
WMA = 'wma', | ||
AAC = 'aac', | ||
AMR = 'amr', | ||
AIFF = 'aiff', | ||
AU = 'au', | ||
MKA = 'mka', | ||
AC3 = 'ac3', | ||
APE = 'ape', | ||
MPC = 'mpc', | ||
OPUS = 'opus', | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export enum Platform { | ||
DARWIN = 'darwin', | ||
LINUX = 'linux', | ||
WIN32 = 'win32' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
export enum VideoFormat { | ||
MP4 = 'mp4', | ||
WEBM = 'webm', | ||
FLV = 'flv', | ||
AVI = 'avi', | ||
MOV = 'mov', | ||
WMV = 'wmv', | ||
GP3 = '3gp', | ||
MKV = 'mkv', | ||
M4V = 'm4v', | ||
MPG = 'mpg', | ||
MPEG = 'mpeg', | ||
VOB = 'vob', | ||
TS = 'ts', | ||
ASF = 'asf', | ||
F4V = 'f4v', | ||
H264 = 'h264', | ||
HEVC = 'hevc', | ||
M2TS = 'm2ts', | ||
M2V = 'm2v', | ||
MTS = 'mts', | ||
OGV = 'ogv', | ||
RM = 'rm', | ||
SWF = 'swf', | ||
XVID = 'xvid', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.