|
1 | 1 | package ffmpeg
|
2 | 2 |
|
3 |
| -import "github.com/floostack/transcoder" |
| 3 | +import "github.com/ahmadissa/transcoder" |
4 | 4 |
|
5 | 5 | // Metadata ...
|
6 | 6 | type Metadata struct {
|
@@ -142,197 +142,197 @@ func (t Tags) GetEncoder() string {
|
142 | 142 | return t.Encoder
|
143 | 143 | }
|
144 | 144 |
|
145 |
| -//GetIndex ... |
| 145 | +// GetIndex ... |
146 | 146 | func (s Streams) GetIndex() int {
|
147 | 147 | return s.Index
|
148 | 148 | }
|
149 | 149 |
|
150 |
| -//GetID ... |
| 150 | +// GetID ... |
151 | 151 | func (s Streams) GetID() string {
|
152 | 152 | return s.ID
|
153 | 153 | }
|
154 | 154 |
|
155 |
| -//GetCodecName ... |
| 155 | +// GetCodecName ... |
156 | 156 | func (s Streams) GetCodecName() string {
|
157 | 157 | return s.CodecName
|
158 | 158 | }
|
159 | 159 |
|
160 |
| -//GetCodecLongName ... |
| 160 | +// GetCodecLongName ... |
161 | 161 | func (s Streams) GetCodecLongName() string {
|
162 | 162 | return s.CodecLongName
|
163 | 163 | }
|
164 | 164 |
|
165 |
| -//GetProfile ... |
| 165 | +// GetProfile ... |
166 | 166 | func (s Streams) GetProfile() string {
|
167 | 167 | return s.Profile
|
168 | 168 | }
|
169 | 169 |
|
170 |
| -//GetCodecType ... |
| 170 | +// GetCodecType ... |
171 | 171 | func (s Streams) GetCodecType() string {
|
172 | 172 | return s.CodecType
|
173 | 173 | }
|
174 | 174 |
|
175 |
| -//GetCodecTimeBase ... |
| 175 | +// GetCodecTimeBase ... |
176 | 176 | func (s Streams) GetCodecTimeBase() string {
|
177 | 177 | return s.CodecTimeBase
|
178 | 178 | }
|
179 | 179 |
|
180 |
| -//GetCodecTagString ... |
| 180 | +// GetCodecTagString ... |
181 | 181 | func (s Streams) GetCodecTagString() string {
|
182 | 182 | return s.CodecTagString
|
183 | 183 | }
|
184 | 184 |
|
185 |
| -//GetCodecTag ... |
| 185 | +// GetCodecTag ... |
186 | 186 | func (s Streams) GetCodecTag() string {
|
187 | 187 | return s.CodecTag
|
188 | 188 | }
|
189 | 189 |
|
190 |
| -//GetWidth ... |
| 190 | +// GetWidth ... |
191 | 191 | func (s Streams) GetWidth() int {
|
192 | 192 | return s.Width
|
193 | 193 | }
|
194 | 194 |
|
195 |
| -//GetHeight ... |
| 195 | +// GetHeight ... |
196 | 196 | func (s Streams) GetHeight() int {
|
197 | 197 | return s.Height
|
198 | 198 | }
|
199 | 199 |
|
200 |
| -//GetCodedWidth ... |
| 200 | +// GetCodedWidth ... |
201 | 201 | func (s Streams) GetCodedWidth() int {
|
202 | 202 | return s.CodedWidth
|
203 | 203 | }
|
204 | 204 |
|
205 |
| -//GetCodedHeight ... |
| 205 | +// GetCodedHeight ... |
206 | 206 | func (s Streams) GetCodedHeight() int {
|
207 | 207 | return s.CodedHeight
|
208 | 208 | }
|
209 | 209 |
|
210 |
| -//GetHasBFrames ... |
| 210 | +// GetHasBFrames ... |
211 | 211 | func (s Streams) GetHasBFrames() int {
|
212 | 212 | return s.HasBFrames
|
213 | 213 | }
|
214 | 214 |
|
215 |
| -//GetSampleAspectRatio ... |
| 215 | +// GetSampleAspectRatio ... |
216 | 216 | func (s Streams) GetSampleAspectRatio() string {
|
217 | 217 | return s.SampleAspectRatio
|
218 | 218 | }
|
219 | 219 |
|
220 |
| -//GetDisplayAspectRatio ... |
| 220 | +// GetDisplayAspectRatio ... |
221 | 221 | func (s Streams) GetDisplayAspectRatio() string {
|
222 | 222 | return s.DisplayAspectRatio
|
223 | 223 | }
|
224 | 224 |
|
225 |
| -//GetPixFmt ... |
| 225 | +// GetPixFmt ... |
226 | 226 | func (s Streams) GetPixFmt() string {
|
227 | 227 | return s.PixFmt
|
228 | 228 | }
|
229 | 229 |
|
230 |
| -//GetLevel ... |
| 230 | +// GetLevel ... |
231 | 231 | func (s Streams) GetLevel() int {
|
232 | 232 | return s.Level
|
233 | 233 | }
|
234 | 234 |
|
235 |
| -//GetChromaLocation ... |
| 235 | +// GetChromaLocation ... |
236 | 236 | func (s Streams) GetChromaLocation() string {
|
237 | 237 | return s.ChromaLocation
|
238 | 238 | }
|
239 | 239 |
|
240 |
| -//GetRefs ... |
| 240 | +// GetRefs ... |
241 | 241 | func (s Streams) GetRefs() int {
|
242 | 242 | return s.Refs
|
243 | 243 | }
|
244 | 244 |
|
245 |
| -//GetQuarterSample ... |
| 245 | +// GetQuarterSample ... |
246 | 246 | func (s Streams) GetQuarterSample() string {
|
247 | 247 | return s.QuarterSample
|
248 | 248 | }
|
249 | 249 |
|
250 |
| -//GetDivxPacked ... |
| 250 | +// GetDivxPacked ... |
251 | 251 | func (s Streams) GetDivxPacked() string {
|
252 | 252 | return s.DivxPacked
|
253 | 253 | }
|
254 | 254 |
|
255 |
| -//GetRFrameRrate ... |
| 255 | +// GetRFrameRrate ... |
256 | 256 | func (s Streams) GetRFrameRrate() string {
|
257 | 257 | return s.RFrameRrate
|
258 | 258 | }
|
259 | 259 |
|
260 |
| -//GetAvgFrameRate ... |
| 260 | +// GetAvgFrameRate ... |
261 | 261 | func (s Streams) GetAvgFrameRate() string {
|
262 | 262 | return s.AvgFrameRate
|
263 | 263 | }
|
264 | 264 |
|
265 |
| -//GetTimeBase ... |
| 265 | +// GetTimeBase ... |
266 | 266 | func (s Streams) GetTimeBase() string {
|
267 | 267 | return s.TimeBase
|
268 | 268 | }
|
269 | 269 |
|
270 |
| -//GetDurationTs ... |
| 270 | +// GetDurationTs ... |
271 | 271 | func (s Streams) GetDurationTs() int {
|
272 | 272 | return s.DurationTs
|
273 | 273 | }
|
274 | 274 |
|
275 |
| -//GetDuration ... |
| 275 | +// GetDuration ... |
276 | 276 | func (s Streams) GetDuration() string {
|
277 | 277 | return s.Duration
|
278 | 278 | }
|
279 | 279 |
|
280 |
| -//GetDisposition ... |
| 280 | +// GetDisposition ... |
281 | 281 | func (s Streams) GetDisposition() transcoder.Disposition {
|
282 | 282 | return s.Disposition
|
283 | 283 | }
|
284 | 284 |
|
285 |
| -//GetBitRate ... |
| 285 | +// GetBitRate ... |
286 | 286 | func (s Streams) GetBitRate() string {
|
287 | 287 | return s.BitRate
|
288 | 288 | }
|
289 | 289 |
|
290 |
| -//GetDefault ... |
| 290 | +// GetDefault ... |
291 | 291 | func (d Disposition) GetDefault() int {
|
292 | 292 | return d.Default
|
293 | 293 | }
|
294 | 294 |
|
295 |
| -//GetDub ... |
| 295 | +// GetDub ... |
296 | 296 | func (d Disposition) GetDub() int {
|
297 | 297 | return d.Dub
|
298 | 298 | }
|
299 | 299 |
|
300 |
| -//GetOriginal ... |
| 300 | +// GetOriginal ... |
301 | 301 | func (d Disposition) GetOriginal() int {
|
302 | 302 | return d.Original
|
303 | 303 | }
|
304 | 304 |
|
305 |
| -//GetComment ... |
| 305 | +// GetComment ... |
306 | 306 | func (d Disposition) GetComment() int {
|
307 | 307 | return d.Comment
|
308 | 308 | }
|
309 | 309 |
|
310 |
| -//GetLyrics ... |
| 310 | +// GetLyrics ... |
311 | 311 | func (d Disposition) GetLyrics() int {
|
312 | 312 | return d.Lyrics
|
313 | 313 | }
|
314 | 314 |
|
315 |
| -//GetKaraoke ... |
| 315 | +// GetKaraoke ... |
316 | 316 | func (d Disposition) GetKaraoke() int {
|
317 | 317 | return d.Karaoke
|
318 | 318 | }
|
319 | 319 |
|
320 |
| -//GetForced ... |
| 320 | +// GetForced ... |
321 | 321 | func (d Disposition) GetForced() int {
|
322 | 322 | return d.Forced
|
323 | 323 | }
|
324 | 324 |
|
325 |
| -//GetHearingImpaired ... |
| 325 | +// GetHearingImpaired ... |
326 | 326 | func (d Disposition) GetHearingImpaired() int {
|
327 | 327 | return d.HearingImpaired
|
328 | 328 | }
|
329 | 329 |
|
330 |
| -//GetVisualImpaired ... |
| 330 | +// GetVisualImpaired ... |
331 | 331 | func (d Disposition) GetVisualImpaired() int {
|
332 | 332 | return d.VisualImpaired
|
333 | 333 | }
|
334 | 334 |
|
335 |
| -//GetCleanEffects ... |
| 335 | +// GetCleanEffects ... |
336 | 336 | func (d Disposition) GetCleanEffects() int {
|
337 | 337 | return d.CleanEffects
|
338 | 338 | }
|
0 commit comments