Advertisement
Guest User

video format

a guest
Jun 27th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.79 KB | None | 0 0
  1. ./ffprobe -print_format json -show_format -show_streams -i ../java01/01.mp4
  2.  
  3. 新东方flv格式
  4.  
  5. ```json
  6. {
  7. "streams": [
  8. {
  9. "index": 0,
  10. "codec_name": "h264",
  11. "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
  12. "profile": "High",
  13. "codec_type": "video",
  14. "codec_time_base": "1/50",
  15. "codec_tag_string": "[0][0][0][0]",
  16. "codec_tag": "0x0000",
  17. "width": 1280,
  18. "height": 720,
  19. "coded_width": 1280,
  20. "coded_height": 720,
  21. "has_b_frames": 1,
  22. "sample_aspect_ratio": "1:1",
  23. "display_aspect_ratio": "16:9",
  24. "pix_fmt": "yuv420p",
  25. "level": 40,
  26. "chroma_location": "left",
  27. "field_order": "progressive",
  28. "refs": 1,
  29. "is_avc": "true",
  30. "nal_length_size": "4",
  31. "r_frame_rate": "25/1",
  32. "avg_frame_rate": "25/1",
  33. "time_base": "1/1000",
  34. "start_pts": 40,
  35. "start_time": "0.040000",
  36. "bits_per_raw_sample": "8",
  37. "disposition": {
  38. "default": 0,
  39. "dub": 0,
  40. "original": 0,
  41. "comment": 0,
  42. "lyrics": 0,
  43. "karaoke": 0,
  44. "forced": 0,
  45. "hearing_impaired": 0,
  46. "visual_impaired": 0,
  47. "clean_effects": 0,
  48. "attached_pic": 0,
  49. "timed_thumbnails": 0
  50. }
  51. },
  52. {
  53. "index": 1,
  54. "codec_name": "aac",
  55. "codec_long_name": "AAC (Advanced Audio Coding)",
  56. "profile": "LC",
  57. "codec_type": "audio",
  58. "codec_time_base": "1/44100",
  59. "codec_tag_string": "[0][0][0][0]",
  60. "codec_tag": "0x0000",
  61. "sample_fmt": "fltp",
  62. "sample_rate": "44100",
  63. "channels": 2,
  64. "channel_layout": "stereo",
  65. "bits_per_sample": 0,
  66. "r_frame_rate": "0/0",
  67. "avg_frame_rate": "0/0",
  68. "time_base": "1/1000",
  69. "start_pts": 0,
  70. "start_time": "0.000000",
  71. "disposition": {
  72. "default": 0,
  73. "dub": 0,
  74. "original": 0,
  75. "comment": 0,
  76. "lyrics": 0,
  77. "karaoke": 0,
  78. "forced": 0,
  79. "hearing_impaired": 0,
  80. "visual_impaired": 0,
  81. "clean_effects": 0,
  82. "attached_pic": 0,
  83. "timed_thumbnails": 0
  84. }
  85. }
  86. ],
  87. "format": {
  88. "filename": "../koolearn/2018kysxqhgs01.flv",
  89. "nb_streams": 2,
  90. "nb_programs": 0,
  91. "format_name": "flv",
  92. "format_long_name": "FLV (Flash Video)",
  93. "start_time": "0.000000",
  94. "duration": "872.536000",
  95. "size": "27235681",
  96. "bit_rate": "249715",
  97. "probe_score": 100,
  98. "tags": {
  99. "moovPosition": "44",
  100. "avcprofile": "100",
  101. "avclevel": "40",
  102. "aacaot": "2",
  103. "videoframerate": "25",
  104. "audiochannels": "2",
  105. "language": "und",
  106. "length": "38478848",
  107. "timescale": "44100",
  108. "sampletype": "mp4a"
  109. }
  110. }
  111. }
  112. ```
  113.  
  114.  
  115. 七牛ts格式
  116.  
  117. ```json
  118. {
  119. "streams": [
  120. {
  121. "index": 0,
  122. "codec_name": "h264",
  123. "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
  124. "profile": "High",
  125. "codec_type": "video",
  126. "codec_time_base": "1/60",
  127. "codec_tag_string": "[27][0][0][0]",
  128. "codec_tag": "0x001b",
  129. "width": 1920,
  130. "height": 1080,
  131. "coded_width": 1920,
  132. "coded_height": 1088,
  133. "has_b_frames": 2,
  134. "sample_aspect_ratio": "1:1",
  135. "display_aspect_ratio": "16:9",
  136. "pix_fmt": "yuv420p",
  137. "level": 40,
  138. "chroma_location": "left",
  139. "field_order": "progressive",
  140. "refs": 1,
  141. "is_avc": "false",
  142. "nal_length_size": "0",
  143. "id": "0x100",
  144. "r_frame_rate": "30/1",
  145. "avg_frame_rate": "30/1",
  146. "time_base": "1/90000",
  147. "start_pts": 132000,
  148. "start_time": "1.466667",
  149. "duration_ts": 167013000,
  150. "duration": "1855.700000",
  151. "bits_per_raw_sample": "8",
  152. "disposition": {
  153. "default": 0,
  154. "dub": 0,
  155. "original": 0,
  156. "comment": 0,
  157. "lyrics": 0,
  158. "karaoke": 0,
  159. "forced": 0,
  160. "hearing_impaired": 0,
  161. "visual_impaired": 0,
  162. "clean_effects": 0,
  163. "attached_pic": 0,
  164. "timed_thumbnails": 0
  165. }
  166. },
  167. {
  168. "index": 1,
  169. "codec_name": "aac",
  170. "codec_long_name": "AAC (Advanced Audio Coding)",
  171. "profile": "LC",
  172. "codec_type": "audio",
  173. "codec_time_base": "1/44100",
  174. "codec_tag_string": "[15][0][0][0]",
  175. "codec_tag": "0x000f",
  176. "sample_fmt": "fltp",
  177. "sample_rate": "44100",
  178. "channels": 2,
  179. "channel_layout": "stereo",
  180. "bits_per_sample": 0,
  181. "id": "0x101",
  182. "r_frame_rate": "0/0",
  183. "avg_frame_rate": "0/0",
  184. "time_base": "1/90000",
  185. "start_pts": 126000,
  186. "start_time": "1.400000",
  187. "duration_ts": 166980962,
  188. "duration": "1855.344022",
  189. "bit_rate": "132644",
  190. "disposition": {
  191. "default": 0,
  192. "dub": 0,
  193. "original": 0,
  194. "comment": 0,
  195. "lyrics": 0,
  196. "karaoke": 0,
  197. "forced": 0,
  198. "hearing_impaired": 0,
  199. "visual_impaired": 0,
  200. "clean_effects": 0,
  201. "attached_pic": 0,
  202. "timed_thumbnails": 0
  203. },
  204. "tags": {
  205. "language": "und"
  206. }
  207. }
  208. ],
  209. "format": {
  210. "filename": "../java01/01.mp4",
  211. "nb_streams": 2,
  212. "nb_programs": 1,
  213. "format_name": "mpegts",
  214. "format_long_name": "MPEG-TS (MPEG-2 Transport Stream)",
  215. "start_time": "1.400000",
  216. "duration": "1855.766667",
  217. "size": "238265184",
  218. "bit_rate": "1027134",
  219. "probe_score": 50
  220. }
  221. }
  222. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement