Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. {
  2.     "packets_and_frames": [
  3.         {
  4.             "type": "packet",
  5.             "codec_type": "audio",
  6.             "stream_index": 0,
  7.             "pts": 0,
  8.             "pts_time": "0.000000",
  9.             "dts": 0,
  10.             "dts_time": "0.000000",
  11.             "duration": 1024,
  12.             "duration_time": "0.023220",
  13.             "size": "2048",
  14.             "pos": "572",
  15.             "flags": "K"
  16.         },
  17.         {
  18.             "type": "frame",
  19.             "media_type": "audio",
  20.             "key_frame": 1,
  21.             "pkt_pts": 0,
  22.             "pkt_pts_time": "0.000000",
  23.             "pkt_dts": 0,
  24.             "pkt_dts_time": "0.000000",
  25.             "pkt_duration": 1024,
  26.             "pkt_duration_time": "0.023220",
  27.             "pkt_pos": "572",
  28.             "pkt_size": "2048",
  29.             "sample_fmt": "s16",
  30.             "nb_samples": 1024,
  31.             "channels": 1
  32.         },
  33.         {
  34.             "type": "packet",
  35.             "codec_type": "video",
  36.             "stream_index": 1,
  37.             "pts": 0,
  38.             "pts_time": "0.000000",
  39.             "dts": 0,
  40.             "dts_time": "0.000000",
  41.             "duration": 2048,
  42.             "duration_time": "0.040000",
  43.             "size": "230400",
  44.             "pos": "2647",
  45.             "flags": "K"
  46.         },
  47.         {
  48.             "type": "frame",
  49.             "media_type": "video",
  50.             "key_frame": 1,
  51.             "pkt_pts": 0,
  52.             "pkt_pts_time": "0.000000",
  53.             "pkt_dts": 0,
  54.             "pkt_dts_time": "0.000000",
  55.             "pkt_duration": 2048,
  56.             "pkt_duration_time": "0.040000",
  57.             "pkt_pos": "2647",
  58.             "width": 320,
  59.             "height": 240,
  60.             "pix_fmt": "rgb24",
  61.             "sample_aspect_ratio": "1:1",
  62.             "pict_type": "I",
  63.             "coded_picture_number": 0,
  64.             "display_picture_number": 0,
  65.             "interlaced_frame": 0,
  66.             "top_field_first": 0,
  67.             "repeat_pict": 0
  68.         },
  69.         {
  70.             "type": "packet",
  71.             "codec_type": "video",
  72.             "stream_index": 2,
  73.             "pts": 0,
  74.             "pts_time": "0.000000",
  75.             "dts": 0,
  76.             "dts_time": "0.000000",
  77.             "duration": 2048,
  78.             "duration_time": "0.040000",
  79.             "size": "30000",
  80.             "pos": "233068",
  81.             "flags": "K"
  82.         },
  83.         {
  84.             "type": "frame",
  85.             "media_type": "video",
  86.             "key_frame": 1,
  87.             "pkt_pts": 0,
  88.             "pkt_pts_time": "0.000000",
  89.             "pkt_dts": 0,
  90.             "pkt_dts_time": "0.000000",
  91.             "pkt_duration": 2048,
  92.             "pkt_duration_time": "0.040000",
  93.             "pkt_pos": "233068",
  94.             "width": 100,
  95.             "height": 100,
  96.             "pix_fmt": "rgb24",
  97.             "sample_aspect_ratio": "1:1",
  98.             "pict_type": "I",
  99.             "coded_picture_number": 0,
  100.             "display_picture_number": 0,
  101.             "interlaced_frame": 0,
  102.             "top_field_first": 0,
  103.             "repeat_pict": 0
  104.         },
  105.         {
  106.             "type": "packet",
  107.             "codec_type": "audio",
  108.             "stream_index": 0,
  109.             "pts": 1024,
  110.             "pts_time": "0.023220",
  111.             "dts": 1024,
  112.             "dts_time": "0.023220",
  113.             "duration": 1024,
  114.             "duration_time": "0.023220",
  115.             "size": "2048",
  116.             "pos": "263073",
  117.             "flags": "K"
  118.         },
  119.         {
  120.             "type": "frame",
  121.             "media_type": "audio",
  122.             "key_frame": 1,
  123.             "pkt_pts": 1024,
  124.             "pkt_pts_time": "0.023220",
  125.             "pkt_dts": 1024,
  126.             "pkt_dts_time": "0.023220",
  127.             "pkt_duration": 1024,
  128.             "pkt_duration_time": "0.023220",
  129.             "pkt_pos": "263073",
  130.             "pkt_size": "2048",
  131.             "sample_fmt": "s16",
  132.             "nb_samples": 1024,
  133.             "channels": 1
  134.         },
  135.         {
  136.             "type": "packet",
  137.             "codec_type": "video",
  138.             "stream_index": 1,
  139.             "pts": 2048,
  140.             "pts_time": "0.040000",
  141.             "dts": 2048,
  142.             "dts_time": "0.040000",
  143.             "duration": 2048,
  144.             "duration_time": "0.040000",
  145.             "size": "230400",
  146.             "pos": "265151",
  147.             "flags": "K"
  148.         },
  149.         {
  150.             "type": "frame",
  151.             "media_type": "video",
  152.             "key_frame": 1,
  153.             "pkt_pts": 2048,
  154.             "pkt_pts_time": "0.040000",
  155.             "pkt_dts": 2048,
  156.             "pkt_dts_time": "0.040000",
  157.             "pkt_duration": 2048,
  158.             "pkt_duration_time": "0.040000",
  159.             "pkt_pos": "265151",
  160.             "width": 320,
  161.             "height": 240,
  162.             "pix_fmt": "rgb24",
  163.             "sample_aspect_ratio": "1:1",
  164.             "pict_type": "I",
  165.             "coded_picture_number": 0,
  166.             "display_picture_number": 0,
  167.             "interlaced_frame": 0,
  168.             "top_field_first": 0,
  169.             "repeat_pict": 0
  170.         },
  171.         {
  172.             "type": "packet",
  173.             "codec_type": "video",
  174.             "stream_index": 2,
  175.             "pts": 2048,
  176.             "pts_time": "0.040000",
  177.             "dts": 2048,
  178.             "dts_time": "0.040000",
  179.             "duration": 2048,
  180.             "duration_time": "0.040000",
  181.             "size": "30000",
  182.             "pos": "495575",
  183.             "flags": "K"
  184.         },
  185.         {
  186.             "type": "frame",
  187.             "media_type": "video",
  188.             "key_frame": 1,
  189.             "pkt_pts": 2048,
  190.             "pkt_pts_time": "0.040000",
  191.             "pkt_dts": 2048,
  192.             "pkt_dts_time": "0.040000",
  193.             "pkt_duration": 2048,
  194.             "pkt_duration_time": "0.040000",
  195.             "pkt_pos": "495575",
  196.             "width": 100,
  197.             "height": 100,
  198.             "pix_fmt": "rgb24",
  199.             "sample_aspect_ratio": "1:1",
  200.             "pict_type": "I",
  201.             "coded_picture_number": 0,
  202.             "display_picture_number": 0,
  203.             "interlaced_frame": 0,
  204.             "top_field_first": 0,
  205.             "repeat_pict": 0
  206.         },
  207.         {
  208.             "type": "packet",
  209.             "codec_type": "audio",
  210.             "stream_index": 0,
  211.             "pts": 2048,
  212.             "pts_time": "0.046440",
  213.             "dts": 2048,
  214.             "dts_time": "0.046440",
  215.             "duration": 1024,
  216.             "duration_time": "0.023220",
  217.             "size": "2048",
  218.             "pos": "525580",
  219.             "flags": "K"
  220.         },
  221.         {
  222.             "type": "frame",
  223.             "media_type": "audio",
  224.             "key_frame": 1,
  225.             "pkt_pts": 2048,
  226.             "pkt_pts_time": "0.046440",
  227.             "pkt_dts": 2048,
  228.             "pkt_dts_time": "0.046440",
  229.             "pkt_duration": 1024,
  230.             "pkt_duration_time": "0.023220",
  231.             "pkt_pos": "525580",
  232.             "pkt_size": "2048",
  233.             "sample_fmt": "s16",
  234.             "nb_samples": 1024,
  235.             "channels": 1
  236.         },
  237.         {
  238.             "type": "packet",
  239.             "codec_type": "audio",
  240.             "stream_index": 0,
  241.             "pts": 3072,
  242.             "pts_time": "0.069660",
  243.             "dts": 3072,
  244.             "dts_time": "0.069660",
  245.             "duration": 1024,
  246.             "duration_time": "0.023220",
  247.             "size": "2048",
  248.             "pos": "527651",
  249.             "flags": "K"
  250.         },
  251.         {
  252.             "type": "frame",
  253.             "media_type": "audio",
  254.             "key_frame": 1,
  255.             "pkt_pts": 3072,
  256.             "pkt_pts_time": "0.069660",
  257.             "pkt_dts": 3072,
  258.             "pkt_dts_time": "0.069660",
  259.             "pkt_duration": 1024,
  260.             "pkt_duration_time": "0.023220",
  261.             "pkt_pos": "527651",
  262.             "pkt_size": "2048",
  263.             "sample_fmt": "s16",
  264.             "nb_samples": 1024,
  265.             "channels": 1
  266.         },
  267.         {
  268.             "type": "packet",
  269.             "codec_type": "video",
  270.             "stream_index": 1,
  271.             "pts": 4096,
  272.             "pts_time": "0.080000",
  273.             "dts": 4096,
  274.             "dts_time": "0.080000",
  275.             "duration": 2048,
  276.             "duration_time": "0.040000",
  277.             "size": "230400",
  278.             "pos": "529729",
  279.             "flags": "K"
  280.         },
  281.         {
  282.             "type": "frame",
  283.             "media_type": "video",
  284.             "key_frame": 1,
  285.             "pkt_pts": 4096,
  286.             "pkt_pts_time": "0.080000",
  287.             "pkt_dts": 4096,
  288.             "pkt_dts_time": "0.080000",
  289.             "pkt_duration": 2048,
  290.             "pkt_duration_time": "0.040000",
  291.             "pkt_pos": "529729",
  292.             "width": 320,
  293.             "height": 240,
  294.             "pix_fmt": "rgb24",
  295.             "sample_aspect_ratio": "1:1",
  296.             "pict_type": "I",
  297.             "coded_picture_number": 0,
  298.             "display_picture_number": 0,
  299.             "interlaced_frame": 0,
  300.             "top_field_first": 0,
  301.             "repeat_pict": 0
  302.         },
  303.         {
  304.             "type": "packet",
  305.             "codec_type": "video",
  306.             "stream_index": 2,
  307.             "pts": 4096,
  308.             "pts_time": "0.080000",
  309.             "dts": 4096,
  310.             "dts_time": "0.080000",
  311.             "duration": 2048,
  312.             "duration_time": "0.040000",
  313.             "size": "30000",
  314.             "pos": "760153",
  315.             "flags": "K"
  316.         },
  317.         {
  318.             "type": "frame",
  319.             "media_type": "video",
  320.             "key_frame": 1,
  321.             "pkt_pts": 4096,
  322.             "pkt_pts_time": "0.080000",
  323.             "pkt_dts": 4096,
  324.             "pkt_dts_time": "0.080000",
  325.             "pkt_duration": 2048,
  326.             "pkt_duration_time": "0.040000",
  327.             "pkt_pos": "760153",
  328.             "width": 100,
  329.             "height": 100,
  330.             "pix_fmt": "rgb24",
  331.             "sample_aspect_ratio": "1:1",
  332.             "pict_type": "I",
  333.             "coded_picture_number": 0,
  334.             "display_picture_number": 0,
  335.             "interlaced_frame": 0,
  336.             "top_field_first": 0,
  337.             "repeat_pict": 0
  338.         },
  339.         {
  340.             "type": "packet",
  341.             "codec_type": "audio",
  342.             "stream_index": 0,
  343.             "pts": 4096,
  344.             "pts_time": "0.092880",
  345.             "dts": 4096,
  346.             "dts_time": "0.092880",
  347.             "duration": 1024,
  348.             "duration_time": "0.023220",
  349.             "size": "2048",
  350.             "pos": "790158",
  351.             "flags": "K"
  352.         },
  353.         {
  354.             "type": "frame",
  355.             "media_type": "audio",
  356.             "key_frame": 1,
  357.             "pkt_pts": 4096,
  358.             "pkt_pts_time": "0.092880",
  359.             "pkt_dts": 4096,
  360.             "pkt_dts_time": "0.092880",
  361.             "pkt_duration": 1024,
  362.             "pkt_duration_time": "0.023220",
  363.             "pkt_pos": "790158",
  364.             "pkt_size": "2048",
  365.             "sample_fmt": "s16",
  366.             "nb_samples": 1024,
  367.             "channels": 1
  368.         },
  369.         {
  370.             "type": "packet",
  371.             "codec_type": "audio",
  372.             "stream_index": 0,
  373.             "pts": 5120,
  374.             "pts_time": "0.116100",
  375.             "dts": 5120,
  376.             "dts_time": "0.116100",
  377.             "duration": 1024,
  378.             "duration_time": "0.023220",
  379.             "size": "2048",
  380.             "pos": "792229",
  381.             "flags": "K"
  382.         },
  383.         {
  384.             "type": "frame",
  385.             "media_type": "audio",
  386.             "key_frame": 1,
  387.             "pkt_pts": 5120,
  388.             "pkt_pts_time": "0.116100",
  389.             "pkt_dts": 5120,
  390.             "pkt_dts_time": "0.116100",
  391.             "pkt_duration": 1024,
  392.             "pkt_duration_time": "0.023220",
  393.             "pkt_pos": "792229",
  394.             "pkt_size": "2048",
  395.             "sample_fmt": "s16",
  396.             "nb_samples": 1024,
  397.             "channels": 1
  398.         },
  399.         {
  400.             "type": "packet",
  401.             "codec_type": "video",
  402.             "stream_index": 1,
  403.             "pts": 6144,
  404.             "pts_time": "0.120000",
  405.             "dts": 6144,
  406.             "dts_time": "0.120000",
  407.             "duration": 2048,
  408.             "duration_time": "0.040000",
  409.             "size": "230400",
  410.             "pos": "794307",
  411.             "flags": "K"
  412.         },
  413.         {
  414.             "type": "frame",
  415.             "media_type": "video",
  416.             "key_frame": 1,
  417.             "pkt_pts": 6144,
  418.             "pkt_pts_time": "0.120000",
  419.             "pkt_dts": 6144,
  420.             "pkt_dts_time": "0.120000",
  421.             "pkt_duration": 2048,
  422.             "pkt_duration_time": "0.040000",
  423.             "pkt_pos": "794307",
  424.             "width": 320,
  425.             "height": 240,
  426.             "pix_fmt": "rgb24",
  427.             "sample_aspect_ratio": "1:1",
  428.             "pict_type": "I",
  429.             "coded_picture_number": 0,
  430.             "display_picture_number": 0,
  431.             "interlaced_frame": 0,
  432.             "top_field_first": 0,
  433.             "repeat_pict": 0
  434.         },
  435.         {
  436.             "type": "packet",
  437.             "codec_type": "video",
  438.             "stream_index": 2,
  439.             "pts": 6144,
  440.             "pts_time": "0.120000",
  441.             "dts": 6144,
  442.             "dts_time": "0.120000",
  443.             "duration": 2048,
  444.             "duration_time": "0.040000",
  445.             "size": "30000",
  446.             "pos": "1024731",
  447.             "flags": "K"
  448.         },
  449.         {
  450.             "type": "frame",
  451.             "media_type": "video",
  452.             "key_frame": 1,
  453.             "pkt_pts": 6144,
  454.             "pkt_pts_time": "0.120000",
  455.             "pkt_dts": 6144,
  456.             "pkt_dts_time": "0.120000",
  457.             "pkt_duration": 2048,
  458.             "pkt_duration_time": "0.040000",
  459.             "pkt_pos": "1024731",
  460.             "width": 100,
  461.             "height": 100,
  462.             "pix_fmt": "rgb24",
  463.             "sample_aspect_ratio": "1:1",
  464.             "pict_type": "I",
  465.             "coded_picture_number": 0,
  466.             "display_picture_number": 0,
  467.             "interlaced_frame": 0,
  468.             "top_field_first": 0,
  469.             "repeat_pict": 0
  470.         }
  471.     ],
  472.     "streams": [
  473.         {
  474.             "index": 0,
  475.             "codec_name": "pcm_s16le",
  476.             "codec_type": "audio",
  477.             "codec_time_base": "1/44100",
  478.             "codec_tag_string": "PSD[16]",
  479.             "codec_tag": "0x10445350",
  480.             "sample_fmt": "s16",
  481.             "sample_rate": "44100",
  482.             "channels": 1,
  483.             "bits_per_sample": 16,
  484.             "r_frame_rate": "0/0",
  485.             "avg_frame_rate": "0/0",
  486.             "time_base": "1/44100",
  487.             "start_pts": 0,
  488.             "start_time": "0.000000",
  489.             "bit_rate": "705600",
  490.             "nb_read_frames": "6",
  491.             "nb_read_packets": "6",
  492.             "disposition": {
  493.                 "default": 0,
  494.                 "dub": 0,
  495.                 "original": 0,
  496.                 "comment": 0,
  497.                 "lyrics": 0,
  498.                 "karaoke": 0,
  499.                 "forced": 0,
  500.                 "hearing_impaired": 0,
  501.                 "visual_impaired": 0,
  502.                 "clean_effects": 0,
  503.                 "attached_pic": 0
  504.             },
  505.             "tags": {
  506.                 "E": "mc²"
  507.             }
  508.         },
  509.         {
  510.             "index": 1,
  511.             "codec_name": "rawvideo",
  512.             "codec_type": "video",
  513.             "codec_time_base": "1/51200",
  514.             "codec_tag_string": "RGB[24]",
  515.             "codec_tag": "0x18424752",
  516.             "width": 320,
  517.             "height": 240,
  518.             "has_b_frames": 0,
  519.             "sample_aspect_ratio": "1:1",
  520.             "display_aspect_ratio": "4:3",
  521.             "pix_fmt": "rgb24",
  522.             "level": -99,
  523.             "r_frame_rate": "25/1",
  524.             "avg_frame_rate": "25/1",
  525.             "time_base": "1/51200",
  526.             "start_pts": 0,
  527.             "start_time": "0.000000",
  528.             "nb_read_frames": "4",
  529.             "nb_read_packets": "4",
  530.             "disposition": {
  531.                 "default": 0,
  532.                 "dub": 0,
  533.                 "original": 0,
  534.                 "comment": 0,
  535.                 "lyrics": 0,
  536.                 "karaoke": 0,
  537.                 "forced": 0,
  538.                 "hearing_impaired": 0,
  539.                 "visual_impaired": 0,
  540.                 "clean_effects": 0,
  541.                 "attached_pic": 0
  542.             },
  543.             "tags": {
  544.                 "title": "foobar",
  545.                 "duration_ts": "field-and-tags-conflict-attempt"
  546.             }
  547.         },
  548.         {
  549.             "index": 2,
  550.             "codec_name": "rawvideo",
  551.             "codec_type": "video",
  552.             "codec_time_base": "1/51200",
  553.             "codec_tag_string": "RGB[24]",
  554.             "codec_tag": "0x18424752",
  555.             "width": 100,
  556.             "height": 100,
  557.             "has_b_frames": 0,
  558.             "sample_aspect_ratio": "1:1",
  559.             "display_aspect_ratio": "1:1",
  560.             "pix_fmt": "rgb24",
  561.             "level": -99,
  562.             "r_frame_rate": "25/1",
  563.             "avg_frame_rate": "25/1",
  564.             "time_base": "1/51200",
  565.             "start_pts": 0,
  566.             "start_time": "0.000000",
  567.             "nb_read_frames": "4",
  568.             "nb_read_packets": "4",
  569.             "disposition": {
  570.                 "default": 0,
  571.                 "dub": 0,
  572.                 "original": 0,
  573.                 "comment": 0,
  574.                 "lyrics": 0,
  575.                 "karaoke": 0,
  576.                 "forced": 0,
  577.                 "hearing_impaired": 0,
  578.                 "visual_impaired": 0,
  579.                 "clean_effects": 0,
  580.                 "attached_pic": 0
  581.             }
  582.         }
  583.     ],
  584.     "format": {
  585.         "filename": "tests/data/ffprobe-test.nut",
  586.         "nb_streams": 3,
  587.         "nb_programs": 0,
  588.         "format_name": "nut",
  589.         "start_time": "0.000000",
  590.         "duration": "0.120000",
  591.         "size": "1054812",
  592.         "bit_rate": "70320800",
  593.         "probe_score": 100,
  594.         "tags": {
  595.             "title": "ffprobe test file",
  596.             "comment": "'A comment with CSV, XML & JSON special chars': <tag value=\"x\">",
  597.             "comment2": "I ♥ Üñîçød€"
  598.         }
  599.     }
  600. }
  601.