{
  "schema_version": 1,
  "project_id": "021-Ngay-Toi-Bi-Gach-Ten-Khoi-Gia-Pha",
  "run_id": "run-20260721T131911Z-ac5d64d1",
  "status": "completed",
  "verified": true,
  "source_canon_sha256": "bb80e97d9adcb0427ea3828449858445323db228cca38f37cdf0446fffefdd6f",
  "master_sha256": "2b331a8b7e64352c866ede0215a52f39b344cbc460c3036d967ad7013811a1c0",
  "job_id": "1dcc96513d3845d69c3e699e1f3a1d06",
  "output_path": "/data/video-pipeline/HaTramAudio/project/021-Ngay-Toi-Bi-Gach-Ten-Khoi-Gia-Pha/output/final-upload.mp4",
  "output_sha256": "610f306db5e375690347019993f480424bc437319462c9f7f5d5944f7dd20145",
  "output_size_bytes": 776427348,
  "under_one_gb": true,
  "probe": {
    "programs": [],
    "streams": [
      {
        "index": 0,
        "codec_name": "h264",
        "codec_type": "video",
        "width": 1920,
        "height": 1080,
        "r_frame_rate": "30/1"
      },
      {
        "index": 1,
        "codec_name": "aac",
        "codec_type": "audio",
        "sample_rate": "48000",
        "channels": 2,
        "r_frame_rate": "0/0"
      }
    ],
    "format": {
      "duration": "2883.157000",
      "size": "776427348"
    }
  },
  "endpoint_response": {
    "id": "1dcc96513d3845d69c3e699e1f3a1d06",
    "service": "huyenan-transcode-upload",
    "status": "completed",
    "created_at": "2026-07-21T17:21:33.234042+00:00",
    "updated_at": "2026-07-21T17:28:54.508637+00:00",
    "request": {
      "input_video_path": "/data/video-pipeline/HaTramAudio/project/021-Ngay-Toi-Bi-Gach-Ten-Khoi-Gia-Pha/output/final.mp4",
      "output_video_path": "/data/video-pipeline/HaTramAudio/project/021-Ngay-Toi-Bi-Gach-Ten-Khoi-Gia-Pha/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-21T17:21:33.430066+00:00",
    "source_duration": 2883.157,
    "target_output_bytes": 800000000,
    "max_output_bytes": 1000000000,
    "computed_video_bitrate_kbps": 2057,
    "audio_bitrate_kbps": 96,
    "command": [
      "ffmpeg",
      "-y",
      "-v",
      "warning",
      "-i",
      "/data/video-pipeline/HaTramAudio/project/021-Ngay-Toi-Bi-Gach-Ten-Khoi-Gia-Pha/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",
      "2057k",
      "-maxrate",
      "2057k",
      "-bufsize",
      "4114k",
      "-profile:v",
      "high",
      "-pix_fmt",
      "yuv420p",
      "-c:a",
      "aac",
      "-b:a",
      "96k",
      "-ar",
      "48000",
      "-ac",
      "2",
      "-t",
      "2883.157000",
      "-movflags",
      "+faststart",
      "/data/video-pipeline/HaTramAudio/project/021-Ngay-Toi-Bi-Gach-Ten-Khoi-Gia-Pha/output/final-upload.mp4"
    ],
    "completed_at": "2026-07-21T17:28:54.508618+00:00",
    "output": "/data/video-pipeline/HaTramAudio/project/021-Ngay-Toi-Bi-Gach-Ten-Khoi-Gia-Pha/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": 44284928,
          "duration": "2883.133333",
          "bit_rate": "10367200",
          "bits_per_raw_sample": "8",
          "nb_frames": "86494",
          "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": 138391536,
          "duration": "2883.157000",
          "bit_rate": "178645",
          "nb_frames": "135149",
          "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": "2883.157000",
        "size": "3803471644"
      }
    },
    "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": 44284928,
          "duration": "2883.133333",
          "bit_rate": "2056893",
          "bits_per_raw_sample": "8",
          "nb_frames": "86494",
          "extradata_size": 53,
          "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": 138391536,
          "duration": "2883.157000",
          "bit_rate": "89635",
          "nb_frames": "135149",
          "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": "2883.157000",
        "size": "776427348"
      }
    },
    "verification": {
      "verified": true,
      "video_codec": "h264",
      "audio_codec": "aac",
      "width": 1920,
      "height": 1080,
      "audio_stream_count": 1,
      "duration": 2883.157,
      "duration_delta": 0.0,
      "max_duration_delta": 0.08,
      "output_bytes": 776427348,
      "max_output_bytes": 1000000000,
      "under_one_gb": true,
      "compression_ratio": 0.20413648915322372
    }
  },
  "completed_at": "2026-07-21T17:29:25.097246Z",
  "independent_sha256": "610f306db5e375690347019993f480424bc437319462c9f7f5d5944f7dd20145",
  "independent_probe": {
    "programs": [],
    "streams": [
      {
        "index": 0,
        "codec_name": "h264",
        "codec_type": "video",
        "width": 1920,
        "height": 1080,
        "r_frame_rate": "30/1"
      },
      {
        "index": 1,
        "codec_name": "aac",
        "codec_type": "audio",
        "sample_rate": "48000",
        "channels": 2,
        "r_frame_rate": "0/0"
      }
    ],
    "format": {
      "duration": "2883.157000",
      "size": "776427348"
    }
  },
  "duration_gate": "passed",
  "hard_cap_gate": "passed",
  "frame_manifest": [
    {
      "label": "intro",
      "timestamp_seconds": 3,
      "path": "/data/video-pipeline/HaTramAudio/project/021-Ngay-Toi-Bi-Gach-Ten-Khoi-Gia-Pha/log/upload-check/intro.png",
      "sha256": "210b28bcc63e2be5b846abefc3e1cfa8eda99fb77097e2a5bed48d13c998747d"
    },
    {
      "label": "transition",
      "timestamp_seconds": 11.567,
      "path": "/data/video-pipeline/HaTramAudio/project/021-Ngay-Toi-Bi-Gach-Ten-Khoi-Gia-Pha/log/upload-check/transition.png",
      "sha256": "23ecb88f09d5f6ebb4fac9bde83b54f47a9e2115c1324cf1d656ccb93279ec2f"
    },
    {
      "label": "middle",
      "timestamp_seconds": 1441.5785,
      "path": "/data/video-pipeline/HaTramAudio/project/021-Ngay-Toi-Bi-Gach-Ten-Khoi-Gia-Pha/log/upload-check/middle.png",
      "sha256": "ad44f753bcef5fd07d61ea17a702528acb56e1afd6786e0bea3c7d97ab117d89"
    },
    {
      "label": "late",
      "timestamp_seconds": 2594.8413,
      "path": "/data/video-pipeline/HaTramAudio/project/021-Ngay-Toi-Bi-Gach-Ten-Khoi-Gia-Pha/log/upload-check/late.png",
      "sha256": "1e8e5c247c420b3ddac62cea4dbb4532cf5138d420ca7d7fcf8e292e62453a48"
    }
  ],
  "updated_at": "2026-07-21T17:32:57.602455Z",
  "visual_qa": "passed"
}
