{
  "status": "completed",
  "verified": true,
  "stage": "transcode",
  "source_canon_sha256": "b4f8136eb6ac3ef29c2c6036ad0fc73726e8317ce0f8205a1c4bf1cb83da230d",
  "job_id": "239cf746354748e6990afbc057be31e9",
  "request": {
    "input_video_path": "/data/video-pipeline/GacMaiAudio/project/006-Chiec-Ghe-Thu-Bay-Trong-Dem-Doan-Vien/output/final.mp4",
    "output_video_path": "/data/video-pipeline/GacMaiAudio/project/006-Chiec-Ghe-Thu-Bay-Trong-Dem-Doan-Vien/output/final-upload.mp4",
    "target_output_bytes": 800000000,
    "max_output_bytes": 1000000000,
    "width": 1920,
    "height": 1080,
    "fps": 30,
    "audio_bitrate_kbps": 96,
    "overwrite": false
  },
  "request_sha256": "bdad606b060ddbc12b5ae9df4e1cca42ec733cbdacbd63640185ed0fddcd1be4",
  "input_receipts": [
    {
      "key": "final_receipt",
      "path": "/data/video-pipeline/GacMaiAudio/project/006-Chiec-Ghe-Thu-Bay-Trong-Dem-Doan-Vien/log/final-render.json",
      "sha256": "23faf42250bf35ce6f1ee6f7ca61463dcc45213a85886af26efe22ce86e1b810"
    },
    {
      "key": "final_qa_receipt",
      "path": "/data/video-pipeline/GacMaiAudio/project/006-Chiec-Ghe-Thu-Bay-Trong-Dem-Doan-Vien/log/final-qa.json",
      "sha256": "cbdb4f5af2626eabe433dde9caf78c458af8fd6c429af6a0006adece873d9de5"
    }
  ],
  "output_path": "output/final-upload.mp4",
  "artifact_sha256": "3f369500fb2bd8c5198a6d822ac75b6235a9befb2a23a671462910a99f594a43",
  "artifact_bytes": 775677368,
  "duration_seconds": 2770.534,
  "duration_basis": {
    "output": 2770.534,
    "source_final": 2770.534
  },
  "endpoint_verification": {
    "verified": true,
    "video_codec": "h264",
    "audio_codec": "aac",
    "width": 1920,
    "height": 1080,
    "audio_stream_count": 1,
    "duration": 2770.534,
    "duration_delta": 0.0,
    "max_duration_delta": 0.08,
    "output_bytes": 775677368,
    "max_output_bytes": 1000000000,
    "under_one_gb": true,
    "compression_ratio": 0.20427620353359507
  },
  "independent_probe": {
    "programs": [],
    "streams": [
      {
        "index": 0,
        "codec_name": "h264",
        "codec_type": "video",
        "width": 1920,
        "height": 1080
      },
      {
        "index": 1,
        "codec_name": "aac",
        "codec_type": "audio",
        "sample_rate": "48000",
        "channels": 2
      }
    ],
    "format": {
      "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
      "duration": "2770.534000",
      "size": "775677368"
    }
  },
  "checks": {
    "endpoint_completed": true,
    "endpoint_verified": true,
    "output_path_exact": true,
    "one_h264_video": true,
    "one_aac_audio": true,
    "resolution": true,
    "positive_duration": true,
    "duration_matches_master": true,
    "under_one_billion_bytes": true,
    "endpoint_under_one_gb": true
  },
  "latest_response": {
    "id": "239cf746354748e6990afbc057be31e9",
    "service": "huyenan-transcode-upload",
    "status": "completed",
    "created_at": "2026-07-21T19:07:10.346160+00:00",
    "updated_at": "2026-07-21T19:14:09.899652+00:00",
    "request": {
      "input_video_path": "/data/video-pipeline/GacMaiAudio/project/006-Chiec-Ghe-Thu-Bay-Trong-Dem-Doan-Vien/output/final.mp4",
      "output_video_path": "/data/video-pipeline/GacMaiAudio/project/006-Chiec-Ghe-Thu-Bay-Trong-Dem-Doan-Vien/output/final-upload.mp4",
      "target_output_bytes": 800000000,
      "max_output_bytes": 1000000000,
      "width": 1920,
      "height": 1080,
      "fps": 30,
      "audio_bitrate_kbps": 96,
      "overwrite": false
    },
    "started_at": "2026-07-21T19:07:10.534882+00:00",
    "source_duration": 2770.534,
    "target_output_bytes": 800000000,
    "max_output_bytes": 1000000000,
    "computed_video_bitrate_kbps": 2144,
    "audio_bitrate_kbps": 96,
    "command": [
      "ffmpeg",
      "-y",
      "-v",
      "warning",
      "-i",
      "/data/video-pipeline/GacMaiAudio/project/006-Chiec-Ghe-Thu-Bay-Trong-Dem-Doan-Vien/output/final.mp4",
      "-map",
      "0:v:0",
      "-map",
      "0:a:0",
      "-vf",
      "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=1,fps=30",
      "-c:v",
      "h264_nvenc",
      "-preset",
      "p4",
      "-tune",
      "hq",
      "-rc",
      "cbr",
      "-b:v",
      "2144k",
      "-maxrate",
      "2144k",
      "-bufsize",
      "4288k",
      "-profile:v",
      "high",
      "-pix_fmt",
      "yuv420p",
      "-c:a",
      "aac",
      "-b:a",
      "96k",
      "-ar",
      "48000",
      "-ac",
      "2",
      "-t",
      "2770.534000",
      "-movflags",
      "+faststart",
      "/data/video-pipeline/GacMaiAudio/project/006-Chiec-Ghe-Thu-Bay-Trong-Dem-Doan-Vien/output/final-upload.mp4"
    ],
    "completed_at": "2026-07-21T19:14:09.899636+00:00",
    "output": "/data/video-pipeline/GacMaiAudio/project/006-Chiec-Ghe-Thu-Bay-Trong-Dem-Doan-Vien/output/final-upload.mp4",
    "source_probe": {
      "streams": [
        {
          "index": 0,
          "codec_name": "h264",
          "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
          "profile": "Main",
          "codec_type": "video",
          "codec_tag_string": "avc1",
          "codec_tag": "0x31637661",
          "width": 1920,
          "height": 1080,
          "coded_width": 1920,
          "coded_height": 1080,
          "closed_captions": 0,
          "film_grain": 0,
          "has_b_frames": 1,
          "sample_aspect_ratio": "1:1",
          "display_aspect_ratio": "16:9",
          "pix_fmt": "yuv420p",
          "level": 40,
          "chroma_location": "left",
          "field_order": "progressive",
          "refs": 1,
          "is_avc": "true",
          "nal_length_size": "4",
          "id": "0x1",
          "r_frame_rate": "30/1",
          "avg_frame_rate": "30/1",
          "time_base": "1/15360",
          "start_pts": 0,
          "start_time": "0.000000",
          "duration_ts": 42555392,
          "duration": "2770.533333",
          "bit_rate": "10782015",
          "bits_per_raw_sample": "8",
          "nb_frames": "83116",
          "extradata_size": 51,
          "disposition": {
            "default": 1,
            "dub": 0,
            "original": 0,
            "comment": 0,
            "lyrics": 0,
            "karaoke": 0,
            "forced": 0,
            "hearing_impaired": 0,
            "visual_impaired": 0,
            "clean_effects": 0,
            "attached_pic": 0,
            "timed_thumbnails": 0,
            "captions": 0,
            "descriptions": 0,
            "metadata": 0,
            "dependent": 0,
            "still_image": 0
          },
          "tags": {
            "language": "und",
            "handler_name": "VideoHandler",
            "vendor_id": "[0][0][0][0]",
            "encoder": "Lavc59.37.100 h264_nvenc"
          }
        },
        {
          "index": 1,
          "codec_name": "aac",
          "codec_long_name": "AAC (Advanced Audio Coding)",
          "profile": "LC",
          "codec_type": "audio",
          "codec_tag_string": "mp4a",
          "codec_tag": "0x6134706d",
          "sample_fmt": "fltp",
          "sample_rate": "48000",
          "channels": 2,
          "channel_layout": "stereo",
          "bits_per_sample": 0,
          "id": "0x2",
          "r_frame_rate": "0/0",
          "avg_frame_rate": "0/0",
          "time_base": "1/48000",
          "start_pts": 0,
          "start_time": "0.000000",
          "duration_ts": 132985344,
          "duration": "2770.528000",
          "bit_rate": "174644",
          "nb_frames": "129870",
          "extradata_size": 5,
          "disposition": {
            "default": 1,
            "dub": 0,
            "original": 0,
            "comment": 0,
            "lyrics": 0,
            "karaoke": 0,
            "forced": 0,
            "hearing_impaired": 0,
            "visual_impaired": 0,
            "clean_effects": 0,
            "attached_pic": 0,
            "timed_thumbnails": 0,
            "captions": 0,
            "descriptions": 0,
            "metadata": 0,
            "dependent": 0,
            "still_image": 0
          },
          "tags": {
            "language": "und",
            "handler_name": "SoundHandler",
            "vendor_id": "[0][0][0][0]"
          }
        }
      ],
      "format": {
        "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
        "duration": "2770.534000",
        "size": "3797198864"
      }
    },
    "output_probe": {
      "streams": [
        {
          "index": 0,
          "codec_name": "h264",
          "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
          "profile": "High",
          "codec_type": "video",
          "codec_tag_string": "avc1",
          "codec_tag": "0x31637661",
          "width": 1920,
          "height": 1080,
          "coded_width": 1920,
          "coded_height": 1080,
          "closed_captions": 0,
          "film_grain": 0,
          "has_b_frames": 1,
          "sample_aspect_ratio": "1:1",
          "display_aspect_ratio": "16:9",
          "pix_fmt": "yuv420p",
          "level": 40,
          "chroma_location": "left",
          "field_order": "progressive",
          "refs": 1,
          "is_avc": "true",
          "nal_length_size": "4",
          "id": "0x1",
          "r_frame_rate": "30/1",
          "avg_frame_rate": "30/1",
          "time_base": "1/15360",
          "start_pts": 0,
          "start_time": "0.000000",
          "duration_ts": 42555392,
          "duration": "2770.533333",
          "bit_rate": "2143875",
          "bits_per_raw_sample": "8",
          "nb_frames": "83116",
          "extradata_size": 54,
          "disposition": {
            "default": 1,
            "dub": 0,
            "original": 0,
            "comment": 0,
            "lyrics": 0,
            "karaoke": 0,
            "forced": 0,
            "hearing_impaired": 0,
            "visual_impaired": 0,
            "clean_effects": 0,
            "attached_pic": 0,
            "timed_thumbnails": 0,
            "captions": 0,
            "descriptions": 0,
            "metadata": 0,
            "dependent": 0,
            "still_image": 0
          },
          "tags": {
            "language": "und",
            "handler_name": "VideoHandler",
            "vendor_id": "[0][0][0][0]",
            "encoder": "Lavc59.37.100 h264_nvenc"
          }
        },
        {
          "index": 1,
          "codec_name": "aac",
          "codec_long_name": "AAC (Advanced Audio Coding)",
          "profile": "LC",
          "codec_type": "audio",
          "codec_tag_string": "mp4a",
          "codec_tag": "0x6134706d",
          "sample_fmt": "fltp",
          "sample_rate": "48000",
          "channels": 2,
          "channel_layout": "stereo",
          "bits_per_sample": 0,
          "id": "0x2",
          "r_frame_rate": "0/0",
          "avg_frame_rate": "0/0",
          "time_base": "1/48000",
          "start_pts": 0,
          "start_time": "0.000000",
          "duration_ts": 132985632,
          "duration": "2770.534000",
          "bit_rate": "88048",
          "nb_frames": "129870",
          "extradata_size": 5,
          "disposition": {
            "default": 1,
            "dub": 0,
            "original": 0,
            "comment": 0,
            "lyrics": 0,
            "karaoke": 0,
            "forced": 0,
            "hearing_impaired": 0,
            "visual_impaired": 0,
            "clean_effects": 0,
            "attached_pic": 0,
            "timed_thumbnails": 0,
            "captions": 0,
            "descriptions": 0,
            "metadata": 0,
            "dependent": 0,
            "still_image": 0
          },
          "tags": {
            "language": "und",
            "handler_name": "SoundHandler",
            "vendor_id": "[0][0][0][0]"
          }
        }
      ],
      "format": {
        "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
        "duration": "2770.534000",
        "size": "775677368"
      }
    },
    "verification": {
      "verified": true,
      "video_codec": "h264",
      "audio_codec": "aac",
      "width": 1920,
      "height": 1080,
      "audio_stream_count": 1,
      "duration": 2770.534,
      "duration_delta": 0.0,
      "max_duration_delta": 0.08,
      "output_bytes": 775677368,
      "max_output_bytes": 1000000000,
      "under_one_gb": true,
      "compression_ratio": 0.20427620353359507
    }
  },
  "hash_method": "sha256 streaming 8 MiB",
  "completed_at": "2026-07-21T19:14:14.885763+00:00"
}
