Advertisement
Guest User

GET /task response

a guest
Mar 27th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     "success": true,
  3.     "errors": [],
  4.     "errfor": {},
  5.     "task": {
  6.         "_id": "551476f0f5b7702400b8176c",
  7.         "createdAt": "2015-03-26T21:15:28.680Z",
  8.         "status": "FINISHED",
  9.         "inputPath": "/data/worker/monster2_5seg.avi",
  10.         "encodingProfileSnapshot": {
  11.             "_id": "55082c52e894c71300d4d014",
  12.             "createdAt": "2015-03-17T13:29:54.072Z",
  13.             "name": "Default For Web",
  14.             "description": "most common outputs for web browsers and movile",
  15.             "encodingLibrary": "ffmpeg",
  16.             "__v": 0,
  17.             "meta": false,
  18.             "outputs": [
  19.                 {
  20.                     "id": "55082c52e894c71300d4d000",
  21.                     "properties": {
  22.                         "video": {
  23.                             "codec": "libx264",
  24.                             "bufferSize": "10000k",
  25.                             "maxBitRate": "7000k",
  26.                             "bitRate": "4000k",
  27.                             "size": "1920x1080",
  28.                             "aspectRatio": "16:9"
  29.                         },
  30.                         "audio": {
  31.                             "channels": 1,
  32.                             "sampleFormat": "128k",
  33.                             "frequency": 44100,
  34.                             "codec": "libfaac"
  35.                         },
  36.                         "misc": [
  37.                             {
  38.                                 "key": "-profile:v",
  39.                                 "value": "baseline"
  40.                             },
  41.                             {
  42.                                 "_id": "550b18df690ea6120f03f443",
  43.                                 "value": "slow",
  44.                                 "key": "-preset"
  45.                             },
  46.                             {
  47.                                 "_id": "550b18df690ea6120f03f442",
  48.                                 "value": "-2",
  49.                                 "key": "-strict"
  50.                             }
  51.                         ],
  52.                         "outputPath": "1080-edit",
  53.                         "extension": "mkv"
  54.                     },
  55.                     "_id": "55082c52e894c71300d4d000",
  56.                     "createdAt": "2015-03-17T13:29:54.079Z",
  57.                     "name": "h264_1080p_high_aac_96k",
  58.                     "encodingLibrary": "ffmpeg",
  59.                     "__v": 0
  60.                 }
  61.             ]
  62.         },
  63.         "customer": "55082c580505211c0001a879",
  64.         "__v": 0,
  65.         "result": {
  66.             "_id": "551476f067c3332400c1f1e9",
  67.             "createdAt": "2015-03-26T21:15:28.734Z",
  68.             "status": "FINISHED",
  69.             "customer": "55082c580505211c0001a879",
  70.             "encodingTask": "551476f0f5b7702400b8176c",
  71.             "__v": 0,
  72.             "outputResults": {
  73.                 "outputs": [
  74.                     {
  75.                         "outputMetadata": {
  76.                             "format": {
  77.                                 "tags": {
  78.                                     "encoder": "Lavf55.48.100",
  79.                                     "compatible_brands": "isomiso2avc1mp41",
  80.                                     "minor_version": "512",
  81.                                     "major_brand": "isom"
  82.                                 },
  83.                                 "probe_score": 100,
  84.                                 "bit_rate": 1418225,
  85.                                 "size": 451173,
  86.                                 "duration": 2.545,
  87.                                 "start_time": "-0.046440",
  88.                                 "format_long_name": "QuickTime / MOV",
  89.                                 "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
  90.                                 "nb_programs": 0,
  91.                                 "nb_streams": 2,
  92.                                 "filename": "/data/worker/551476f0f5b7702400b8176c/480/monster2_5seg.mp4"
  93.                             },
  94.                             "streams": [
  95.                                 {
  96.                                     "disposition": {
  97.                                         "attached_pic": 0,
  98.                                         "clean_effects": 0,
  99.                                         "visual_impaired": 0,
  100.                                         "hearing_impaired": 0,
  101.                                         "forced": 0,
  102.                                         "karaoke": 0,
  103.                                         "lyrics": 0,
  104.                                         "comment": 0,
  105.                                         "original": 0,
  106.                                         "dub": 0,
  107.                                         "default": 1
  108.                                     },
  109.                                     "tags": {
  110.                                         "handler_name": "VideoHandler",
  111.                                         "language": "und"
  112.                                     },
  113.                                     "nb_read_packets": "N/A",
  114.                                     "nb_read_frames": "N/A",
  115.                                     "nb_frames": 61,
  116.                                     "max_bit_rate": "N/A",
  117.                                     "bit_rate": 430392,
  118.                                     "duration": 2.544208,
  119.                                     "duration_ts": 61061,
  120.                                     "start_time": 0,
  121.                                     "start_pts": 0,
  122.                                     "time_base": "1/24000",
  123.                                     "avg_frame_rate": "24000/1001",
  124.                                     "r_frame_rate": "24000/1001",
  125.                                     "id": "N/A",
  126.                                     "timecode": "N/A",
  127.                                     "color_space": "unknown",
  128.                                     "color_range": "N/A",
  129.                                     "level": 30,
  130.                                     "pix_fmt": "yuv420p",
  131.                                     "display_aspect_ratio": "16:9",
  132.                                     "sample_aspect_ratio": "406:405",
  133.                                     "has_b_frames": 2,
  134.                                     "height": 406,
  135.                                     "width": 720,
  136.                                     "codec_tag": "0x31637661",
  137.                                     "codec_tag_string": "avc1",
  138.                                     "codec_time_base": "1001/48000",
  139.                                     "codec_type": "video",
  140.                                     "profile": "Main",
  141.                                     "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
  142.                                     "codec_name": "h264",
  143.                                     "index": 0
  144.                                 },
  145.                                 {
  146.                                     "disposition": {
  147.                                         "attached_pic": 0,
  148.                                         "clean_effects": 0,
  149.                                         "visual_impaired": 0,
  150.                                         "hearing_impaired": 0,
  151.                                         "forced": 0,
  152.                                         "karaoke": 0,
  153.                                         "lyrics": 0,
  154.                                         "comment": 0,
  155.                                         "original": 0,
  156.                                         "dub": 0,
  157.                                         "default": 1
  158.                                     },
  159.                                     "tags": {
  160.                                         "handler_name": "SoundHandler",
  161.                                         "language": "und"
  162.                                     },
  163.                                     "nb_read_packets": "N/A",
  164.                                     "nb_read_frames": "N/A",
  165.                                     "nb_frames": 55,
  166.                                     "max_bit_rate": "N/A",
  167.                                     "bit_rate": 128436,
  168.                                     "duration": 2.542449,
  169.                                     "duration_ts": 56061,
  170.                                     "start_time": "-0.046440",
  171.                                     "start_pts": "-1024",
  172.                                     "time_base": "1/22050",
  173.                                     "avg_frame_rate": "0/0",
  174.                                     "r_frame_rate": "0/0",
  175.                                     "id": "N/A",
  176.                                     "bits_per_sample": 0,
  177.                                     "channel_layout": "stereo",
  178.                                     "channels": 2,
  179.                                     "sample_rate": 22050,
  180.                                     "sample_fmt": "fltp",
  181.                                     "codec_tag": "0x6134706d",
  182.                                     "codec_tag_string": "mp4a",
  183.                                     "codec_time_base": "1/22050",
  184.                                     "codec_type": "audio",
  185.                                     "profile": "unknown",
  186.                                     "codec_long_name": "AAC (Advanced Audio Coding)",
  187.                                     "codec_name": "aac",
  188.                                     "index": 1
  189.                                 }
  190.                             ]
  191.                         },
  192.                         "outputName": "h264_480p_slow_aac_96k",
  193.                         "outputId": "55082c52e894c71300d4d008",
  194.                         "file": "/data/worker/551476f0f5b7702400b8176c/480/monster2_5seg.mp4",
  195.                         "encodingLibrary": "ffmpeg"
  196.                     }
  197.                 ],
  198.                 "input": {
  199.                     "format": {
  200.                         "tags": {
  201.                             "encoder": "Lavf56.15.102"
  202.                         },
  203.                         "probe_score": 100,
  204.                         "bit_rate": 8567305,
  205.                         "size": 5380268,
  206.                         "duration": 5.024,
  207.                         "start_time": 0,
  208.                         "format_long_name": "AVI (Audio Video Interleaved)",
  209.                         "format_name": "avi",
  210.                         "nb_programs": 0,
  211.                         "nb_streams": 2,
  212.                         "filename": "/data/worker/monster2_5seg.avi"
  213.                     },
  214.                     "streams": [
  215.                         {
  216.                             "disposition": {
  217.                                 "attached_pic": 0,
  218.                                 "clean_effects": 0,
  219.                                 "visual_impaired": 0,
  220.                                 "hearing_impaired": 0,
  221.                                 "forced": 0,
  222.                                 "karaoke": 0,
  223.                                 "lyrics": 0,
  224.                                 "comment": 0,
  225.                                 "original": 0,
  226.                                 "dub": 0,
  227.                                 "default": 0
  228.                             },
  229.                             "nb_read_packets": "N/A",
  230.                             "nb_read_frames": "N/A",
  231.                             "nb_frames": 120,
  232.                             "max_bit_rate": "N/A",
  233.                             "bit_rate": 8256375,
  234.                             "duration": 5.005005,
  235.                             "duration_ts": 120,
  236.                             "start_time": 0,
  237.                             "start_pts": 0,
  238.                             "time_base": "125/2997",
  239.                             "avg_frame_rate": "2997/125",
  240.                             "r_frame_rate": "24000/1001",
  241.                             "id": "N/A",
  242.                             "timecode": "N/A",
  243.                             "color_space": "bt709",
  244.                             "color_range": "tv",
  245.                             "level": 40,
  246.                             "pix_fmt": "yuv420p",
  247.                             "display_aspect_ratio": "16:9",
  248.                             "sample_aspect_ratio": "1:1",
  249.                             "has_b_frames": 1,
  250.                             "height": 1080,
  251.                             "width": 1920,
  252.                             "codec_tag": "0x31435641",
  253.                             "codec_tag_string": "AVC1",
  254.                             "codec_time_base": "125/5994",
  255.                             "codec_type": "video",
  256.                             "profile": "High",
  257.                             "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
  258.                             "codec_name": "h264",
  259.                             "index": 0
  260.                         },
  261.                         {
  262.                             "disposition": {
  263.                                 "attached_pic": 0,
  264.                                 "clean_effects": 0,
  265.                                 "visual_impaired": 0,
  266.                                 "hearing_impaired": 0,
  267.                                 "forced": 0,
  268.                                 "karaoke": 0,
  269.                                 "lyrics": 0,
  270.                                 "comment": 0,
  271.                                 "original": 0,
  272.                                 "dub": 0,
  273.                                 "default": 0
  274.                             },
  275.                             "nb_read_packets": "N/A",
  276.                             "nb_read_frames": "N/A",
  277.                             "nb_frames": 157,
  278.                             "max_bit_rate": "N/A",
  279.                             "bit_rate": 384000,
  280.                             "duration": 5.024,
  281.                             "duration_ts": 157,
  282.                             "start_time": 0,
  283.                             "start_pts": 0,
  284.                             "time_base": "4/125",
  285.                             "avg_frame_rate": "0/0",
  286.                             "r_frame_rate": "0/0",
  287.                             "id": "N/A",
  288.                             "loro_surmixlev": "-1.000000",
  289.                             "loro_cmixlev": "-1.000000",
  290.                             "ltrt_surmixlev": "-1.000000",
  291.                             "ltrt_cmixlev": "-1.000000",
  292.                             "dmix_mode": "-1",
  293.                             "bits_per_sample": 0,
  294.                             "channel_layout": "5.1(side)",
  295.                             "channels": 6,
  296.                             "sample_rate": 48000,
  297.                             "sample_fmt": "fltp",
  298.                             "codec_tag": "0x2000",
  299.                             "codec_tag_string": "[0] [0][0]",
  300.                             "codec_time_base": "1/48000",
  301.                             "codec_type": "audio",
  302.                             "profile": "unknown",
  303.                             "codec_long_name": "ATSC A/52A (AC-3)",
  304.                             "codec_name": "ac3",
  305.                             "index": 1
  306.                         }
  307.                     ]
  308.                 },
  309.                 "outputPaths": [
  310.                     "/data/worker/551476f0f5b7702400b8176c/1080-edit/monster2_5seg.mkv",
  311.                     "/data/worker/551476f0f5b7702400b8176c/720/monster2_5seg.mp4",
  312.                     "/data/worker/551476f0f5b7702400b8176c/480/monster2_5seg.mp4",
  313.                     "/data/worker/551476f0f5b7702400b8176c/320/monster2_5seg.mp4"
  314.                 ],
  315.                 "commandLine": "//FFMPEG COMMAND",
  316.                 "processTime": 17.159,
  317.                 "stdOut": "// FFMPEG OUTPUT"
  318.             }
  319.         },
  320.         "metrics": [],
  321.         "attempts": [
  322.             "551476f067c3332400c1f1e9"
  323.         ],
  324.         "priority": "normal",
  325.         "outputPaths": [
  326.             "/data/worker/551476f0f5b7702400b8176c/1080-edit/monster2_5seg.mkv",
  327.             "/data/worker/551476f0f5b7702400b8176c/720/monster2_5seg.mp4",
  328.             "/data/worker/551476f0f5b7702400b8176c/480/monster2_5seg.mp4",
  329.             "/data/worker/551476f0f5b7702400b8176c/320/monster2_5seg.mp4"
  330.         ]
  331.     }
  332. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement