Video.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System.Collections.Generic;
  2. namespace MediaBrowser.Model.Entities
  3. {
  4. public class Video : BaseItem
  5. {
  6. public VideoType VideoType { get; set; }
  7. public IEnumerable<string> Subtitles { get; set; }
  8. public IEnumerable<AudioStream> AudioStreams { get; set; }
  9. public int Height { get; set; }
  10. public int Width { get; set; }
  11. public string ScanType { get; set; }
  12. public string FrameRate { get; set; }
  13. public int BitRate { get; set; }
  14. public string Codec { get; set; }
  15. }
  16. public class AudioStream
  17. {
  18. public string Format { get; set; }
  19. public string Profile { get; set; }
  20. public string Language { get; set; }
  21. public int BitRate { get; set; }
  22. public int Channels { get; set; }
  23. public int SampleRate { get; set; }
  24. public bool IsDefault { get; set; }
  25. public bool IsForced { get; set; }
  26. }
  27. public enum VideoType
  28. {
  29. VideoFile,
  30. DVD,
  31. BluRay
  32. }
  33. }