Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 3.24 KB | None | 0 0
  1. type AutoGenerated struct {
  2.     Streams []struct {
  3.         Index          int    `json:"index"`
  4.         CodecName      string `json:"codec_name"`
  5.         CodecLongName  string `json:"codec_long_name"`
  6.         Profile        string `json:"profile"`
  7.         CodecType      string `json:"codec_type"`
  8.         CodecTimeBase  string `json:"codec_time_base"`
  9.         CodecTagString string `json:"codec_tag_string"`
  10.         CodecTag       string `json:"codec_tag"`
  11.         SampleFmt      string `json:"sample_fmt,omitempty"`
  12.         SampleRate     string `json:"sample_rate,omitempty"`
  13.         Channels       int    `json:"channels,omitempty"`
  14.         ChannelLayout  string `json:"channel_layout,omitempty"`
  15.         BitsPerSample  int    `json:"bits_per_sample,omitempty"`
  16.         RFrameRate     string `json:"r_frame_rate"`
  17.         AvgFrameRate   string `json:"avg_frame_rate"`
  18.         TimeBase       string `json:"time_base"`
  19.         StartPts       int    `json:"start_pts"`
  20.         StartTime      string `json:"start_time"`
  21.         BitRate        string `json:"bit_rate,omitempty"`
  22.         Disposition    struct {
  23.             Default         int `json:"default"`
  24.             Dub             int `json:"dub"`
  25.             Original        int `json:"original"`
  26.             Comment         int `json:"comment"`
  27.             Lyrics          int `json:"lyrics"`
  28.             Karaoke         int `json:"karaoke"`
  29.             Forced          int `json:"forced"`
  30.             HearingImpaired int `json:"hearing_impaired"`
  31.             VisualImpaired  int `json:"visual_impaired"`
  32.             CleanEffects    int `json:"clean_effects"`
  33.             AttachedPic     int `json:"attached_pic"`
  34.             TimedThumbnails int `json:"timed_thumbnails"`
  35.         } `json:"disposition"`
  36.         Tags struct {
  37.             VariantBitrate                                     string `json:"variant_bitrate"`
  38.             ID3V2PrivComAppleStreamingTransportStreamTimestamp string `json:"id3v2_priv.com.apple.streaming.transportStreamTimestamp"`
  39.             Language                                           string `json:"language"`
  40.             Comment                                            string `json:"comment"`
  41.         } `json:"tags"`
  42.         Width              int    `json:"width,omitempty"`
  43.         Height             int    `json:"height,omitempty"`
  44.         CodedWidth         int    `json:"coded_width,omitempty"`
  45.         CodedHeight        int    `json:"coded_height,omitempty"`
  46.         HasBFrames         int    `json:"has_b_frames,omitempty"`
  47.         SampleAspectRatio  string `json:"sample_aspect_ratio,omitempty"`
  48.         DisplayAspectRatio string `json:"display_aspect_ratio,omitempty"`
  49.         PixFmt             string `json:"pix_fmt,omitempty"`
  50.         Level              int    `json:"level,omitempty"`
  51.         ChromaLocation     string `json:"chroma_location,omitempty"`
  52.         Refs               int    `json:"refs,omitempty"`
  53.         IsAvc              string `json:"is_avc,omitempty"`
  54.         NalLengthSize      string `json:"nal_length_size,omitempty"`
  55.         BitsPerRawSample   string `json:"bits_per_raw_sample,omitempty"`
  56.     } `json:"streams"`
  57.     Format struct {
  58.         Filename       string `json:"filename"`
  59.         NbStreams      int    `json:"nb_streams"`
  60.         NbPrograms     int    `json:"nb_programs"`
  61.         FormatName     string `json:"format_name"`
  62.         FormatLongName string `json:"format_long_name"`
  63.         StartTime      string `json:"start_time"`
  64.         Duration       string `json:"duration"`
  65.         Size           string `json:"size"`
  66.         BitRate        string `json:"bit_rate"`
  67.         ProbeScore     int    `json:"probe_score"`
  68.     } `json:"format"`
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement