ishan2004

cc Issue #1399 mediainfo json output

Dec 29th, 2023
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.48 KB | None | 0 0
  1. Command: mediainfo -full --Output=JSON COMEDY.ts | jq
  2.  
  3.  
  4. Output:
  5.  
  6. {
  7. "creatingLibrary": {
  8. "name": "MediaInfoLib",
  9. "version": "23.11",
  10. "url": "https://mediaarea.net/MediaInfo"
  11. },
  12. "media": {
  13. "@ref": "COMEDY.ts",
  14. "track": [
  15. {
  16. "@type": "General",
  17. "Count": "351",
  18. "StreamCount": "1",
  19. "StreamKind": "General",
  20. "StreamKind_String": "General",
  21. "StreamKindID": "0",
  22. "ID": "0",
  23. "ID_String": "0 (0x0)",
  24. "VideoCount": "1",
  25. "AudioCount": "1",
  26. "MenuCount": "1",
  27. "Video_Format_List": "MPEG Video",
  28. "Video_Format_WithHint_List": "MPEG Video",
  29. "Video_Codec_List": "MPEG Video",
  30. "Audio_Format_List": "AC-3",
  31. "Audio_Format_WithHint_List": "AC-3",
  32. "Audio_Codec_List": "AC-3",
  33. "Audio_Language_List": "English",
  34. "Menu_Format_List": "MPEG Video / AC-3 / ",
  35. "Menu_Format_WithHint_List": "MPEG Video / AC-3 / ",
  36. "Menu_Codec_List": "MPEG Video / AC-3 / ",
  37. "Menu_Language_List": " / English",
  38. "CompleteName": "COMEDY.ts",
  39. "FileNameExtension": "COMEDY.ts",
  40. "FileName": "COMEDY",
  41. "FileExtension": "ts",
  42. "Format": "MPEG-TS",
  43. "Format_String": "MPEG-TS",
  44. "Format_Extensions": "ts m2t m2s m4t m4s tmf ts tp trp ty",
  45. "Format_Commercial": "MPEG-TS",
  46. "InternetMediaType": "video/MP2T",
  47. "FileSize": "143884288",
  48. "FileSize_String": "137 MiB",
  49. "FileSize_String1": "137 MiB",
  50. "FileSize_String2": "137 MiB",
  51. "FileSize_String3": "137 MiB",
  52. "FileSize_String4": "137.2 MiB",
  53. "Duration": "599.737813444",
  54. "Duration_String": "9 min 59 s",
  55. "Duration_String1": "9 min 59 s 738 ms",
  56. "Duration_String2": "9 min 59 s",
  57. "Duration_String3": "00:09:59.738",
  58. "Duration_String5": "00:09:59.738",
  59. "OverallBitRate_Mode": "VBR",
  60. "OverallBitRate_Mode_String": "Variable",
  61. "OverallBitRate": "1918601",
  62. "OverallBitRate_String": "1 919 kb/s",
  63. "File_Modified_Date": "2023-12-13 13:24:28 UTC",
  64. "File_Modified_Date_Local": "2023-12-13 18:54:28",
  65. "extra": {
  66. "OverallBitRate_Precision_Min": "1918600",
  67. "OverallBitRate_Precision_Max": "1918603"
  68. }
  69. },
  70. {
  71. "@type": "Video",
  72. "Count": "387",
  73. "StreamCount": "1",
  74. "StreamKind": "Video",
  75. "StreamKind_String": "Video",
  76. "StreamKindID": "0",
  77. "StreamOrder": "0-0",
  78. "ID": "3549",
  79. "ID_String": "3549 (0xDDD)",
  80. "MenuID": "2003",
  81. "MenuID_String": "2003 (0x7D3)",
  82. "Format": "MPEG Video",
  83. "Format_String": "MPEG Video",
  84. "Format_Commercial": "MPEG Video",
  85. "InternetMediaType": "video/MPV",
  86. "CodecID": "2",
  87. "PixelAspectRatio": "1.000",
  88. "Compression_Mode": "Lossy",
  89. "Compression_Mode_String": "Lossy",
  90. "Encryption": "Encrypted"
  91. },
  92. {
  93. "@type": "Audio",
  94. "Count": "285",
  95. "StreamCount": "1",
  96. "StreamKind": "Audio",
  97. "StreamKind_String": "Audio",
  98. "StreamKindID": "0",
  99. "StreamOrder": "0-1",
  100. "ID": "3550",
  101. "ID_String": "3550 (0xDDE)",
  102. "MenuID": "2003",
  103. "MenuID_String": "2003 (0x7D3)",
  104. "Format": "AC-3",
  105. "Format_String": "AC-3",
  106. "Format_Info": "Audio Coding 3",
  107. "Format_Url": "https://en.wikipedia.org/wiki/AC3",
  108. "Format_Commercial": "AC-3",
  109. "CodecID": "129",
  110. "Compression_Mode": "Lossy",
  111. "Compression_Mode_String": "Lossy",
  112. "Language": "en",
  113. "Language_String": "English",
  114. "Language_String1": "English",
  115. "Language_String2": "en",
  116. "Language_String3": "eng",
  117. "Language_String4": "en",
  118. "Encryption": "Encrypted"
  119. },
  120. {
  121. "@type": "Menu",
  122. "Count": "103",
  123. "StreamCount": "1",
  124. "StreamKind": "Menu",
  125. "StreamKind_String": "Menu",
  126. "StreamKindID": "0",
  127. "StreamOrder": "0",
  128. "ID": "55",
  129. "ID_String": "55 (0x37)",
  130. "MenuID": "2003",
  131. "MenuID_String": "2003 (0x7D3)",
  132. "Format": "MPEG Video / AC-3 / ",
  133. "Format_String": "MPEG Video / AC-3 / ",
  134. "Format_Commercial": "MPEG Video / AC-3 / ",
  135. "Duration": "599.737813444",
  136. "Duration_String": "9 min 59 s",
  137. "Duration_String1": "9 min 59 s 738 ms",
  138. "Duration_String2": "9 min 59 s",
  139. "Duration_String3": "00:09:59.738",
  140. "Duration_String5": "00:09:59.738",
  141. "Delay": "70881.865262593",
  142. "Delay_String": "19 h 41 min",
  143. "Delay_String1": "19 h 41 min 21 s 865 ms",
  144. "Delay_String2": "19 h 41 min",
  145. "Delay_String3": "19:41:21.865",
  146. "Delay_String5": "19:41:21.865",
  147. "List_StreamKind": "1 / 2 / ",
  148. "List_StreamPos": "0 / 0 / ",
  149. "List": "3549 / 3550 / 3554",
  150. "List_String": "3549 (0xDDD) (MPEG Video) / 3550 (0xDDE) (AC-3, English) / 3554 (0xDE2) ()",
  151. "Language": " / en",
  152. "Language_String": " / English",
  153. "Language_String1": " / English",
  154. "Language_String2": " / en",
  155. "Language_String3": " / eng",
  156. "Language_String4": " / en",
  157. "extra": {
  158. "pointer_field": "0",
  159. "section_length": "86"
  160. }
  161. }
  162. ]
  163. }
  164. }
Advertisement
Add Comment
Please, Sign In to add comment