Video.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 List<SubtitleStream> Subtitles { get; set; }
  8. public List<AudioStream> AudioStreams { get; set; }
  9. public int Height { get; set; }
  10. public int Width { get; set; }
  11. public string ScanType { get; set; }
  12. public float FrameRate { get; set; }
  13. public int BitRate { get; set; }
  14. public string Codec { get; set; }
  15. }
  16. public class AudioStream
  17. {
  18. public string Codec { get; set; }
  19. public string Language { get; set; }
  20. public int BitRate { get; set; }
  21. public int Channels { get; set; }
  22. public int SampleRate { get; set; }
  23. public bool IsDefault { get; set; }
  24. }
  25. public class SubtitleStream
  26. {
  27. public string Language { get; set; }
  28. public bool IsDefault { get; set; }
  29. public bool IsForced { get; set; }
  30. }
  31. public enum VideoType
  32. {
  33. VideoFile,
  34. Iso,
  35. DVD,
  36. BluRay
  37. }
  38. }