-
Notifications
You must be signed in to change notification settings - Fork 1
/
data_test.go
155 lines (154 loc) · 4.18 KB
/
data_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
package encodingcom
const nonExtendedStatus = `{
"response": {
"id": "abc123",
"userid": "myuser",
"sourcefile": "http://some.video/file.mp4",
"status": "Finished",
"created": "2015-12-31 20:45:30",
"started": "2015-12-31 20:45:34",
"finished": "2015-12-31 21:00:03",
"downloaded": "2015-12-31 20:45:32",
"filesize": "379371262",
"processor": "AMAZON",
"region": "us-east-1",
"time_left": "21",
"progress": "100.0",
"format": {
"id": "f123",
"status": "Finished",
"created": "2015-12-31 20:45:30",
"started": "2015-12-31 20:45:34",
"finished": "2015-12-31 21:00:03",
"output": "mp4",
"output_preset": [],
"destination": "s3://mynicebucket",
"destination_status": "Saved",
"protected_public_result": [],
"size": "0x1080",
"bitrate": "3500k",
"audio_bitrate": "192k",
"audio_sample_rate": "48000",
"audio_channels_number": "2",
"downmix_mode": "pl2",
"framerate": "30",
"framerate_upper_threshold": [],
"fade_in": [],
"fade_out": [],
"crop_top": [],
"crop_left": [],
"crop_right": [],
"crop_bottom": [],
"padd_top": [],
"padd_left": [],
"padd_right": [],
"padd_bottom": [],
"set_aspect_ratio": [],
"keep_aspect_ratio": "yes",
"video_codec": "libx264",
"profile": "high",
"VCodecParameters": [],
"video_codec_parameters": {
"coder": "1",
"flags": "+loop",
"flags2": "+bpyramid+wpred+mixed_refs+dct8x8-fastpskip",
"cmp": "+chroma",
"partitions": "+parti8x8+parti4x4+partp8x8+partb8x8",
"me_method": "umh",
"subq": "7",
"me_range": "16",
"bf": "16",
"keyint_min": "25",
"sc_threshold": "40",
"i_qfactor": "0.71",
"b_strategy": "1",
"qcomp": "0.6",
"qmin": "10",
"qmax": "51",
"qdiff": "4",
"directpred": "1",
"level": "30",
"refs": "4",
"psy": "0"
},
"audio_codec": "dolby_aac",
"two_pass": "no",
"turbo": "no",
"twin_turbo": "no",
"cbr": "no",
"hard_cbr": "no",
"minrate": [],
"maxrate": [],
"bufsize": [],
"audio_minrate": [],
"audio_maxrate": [],
"audio_bufsize": [],
"rc_init_occupancy": [],
"deinterlacing": "auto",
"video_sync": "old",
"keyframe": "300",
"start": [],
"finish": [],
"duration": [],
"audio_volume": "100",
"audio_normalization": [],
"dmg_alerts": [],
"loudness_mode": [],
"input_speech": [],
"clipmode": [],
"prolimiter_max_peak": [],
"input_dialnorm": [],
"adjust_gain_for_dialnorm": [],
"dialnorm_threshold": [],
"dc_repair": [],
"phase_repair": [],
"dmix_center_level": [],
"dmix_center_level_ltrt": [],
"dmix_center_level_loro": [],
"dmix_surround_level": [],
"dmix_surround_level_ltrt": [],
"dmix_surround_level_loro": [],
"audio_sync": [],
"rotate": "def",
"noise_reduction": [],
"two_pass_decoding": [],
"force_keyframes": [],
"metadata_copy": "no",
"strip_chapters": "no",
"pix_format": "yuv420p",
"pan": [],
"encoder": "v1",
"burnin_timecode": [],
"copy_timestamps": "yes",
"encryption": "no",
"encryption_method": "aes-128-cbc",
"encryption_key": [],
"encryption_key_file": [],
"encryption_iv": [],
"encryption_password": [],
"slices": [],
"audio_stream": [],
"file_extension": "mp4",
"ftyp": [],
"hint": "no",
"extends": [],
"set_rotate": "0",
"copy_nielsen_metadata": "no",
"nielsen_breakout_code": [],
"nielsen_distributor_id": [],
"drm": "no",
"drm-content-id": [],
"drm-common-key": [],
"drm-license-server-url": [],
"drm-license-server-cert": [],
"drm-transport-cert": [],
"drm-packager-credential": [],
"drm-credential-pwd": [],
"drm-policy-file": [],
"convertedsize": "78544430",
"queued": "",
"converttime": "0"
},
"queue_time": "0"
}
}`