{
  "schema_version": 1,
  "project_id": "016-Nguoi-Giu-Am-Thanh-Cuoi-Cung",
  "run_id": "run-20260720T233725Z-24504f17",
  "status": "completed",
  "verified": true,
  "request_sha256": "320bd73533171e085d4e46cabfe634b0f1251060f5d7983bda9f3ffc2f633235",
  "payload": {
    "input_video_path": "/data/video-pipeline/HaTramAudio/project/016-Nguoi-Giu-Am-Thanh-Cuoi-Cung/output/final.mp4",
    "output_video_path": "/data/video-pipeline/HaTramAudio/project/016-Nguoi-Giu-Am-Thanh-Cuoi-Cung/output/final-upload.mp4",
    "target_output_bytes": 800000000,
    "max_output_bytes": 1000000000,
    "width": 1920,
    "height": 1080,
    "fps": 30,
    "audio_bitrate_kbps": 96,
    "overwrite": false
  },
  "source_canon_sha256": "fae6fce617a14dc4f8b3bd52968cc688a456c45a60bc2ed7701ccd8164875e02",
  "source_final_sha256": "68eb86bc2b4165226abd97bf8de4b77b72f499bd7e7cdd68a69094ddb768320b",
  "created_at": "2026-07-21T03:19:30.684883Z",
  "job_id": "73faf0f3eefc4b95be28b635d527c3b1",
  "updated_at": "2026-07-21T03:27:35.460055Z",
  "submitted_response": {
    "job_id": "73faf0f3eefc4b95be28b635d527c3b1",
    "status": "queued",
    "status_url": "/v1/huyenan-transcode-upload/jobs/73faf0f3eefc4b95be28b635d527c3b1"
  },
  "last_response": {
    "id": "73faf0f3eefc4b95be28b635d527c3b1",
    "service": "huyenan-transcode-upload",
    "status": "completed",
    "created_at": "2026-07-21T03:19:30.886479+00:00",
    "updated_at": "2026-07-21T03:24:58.585386+00:00",
    "request": {
      "input_video_path": "/data/video-pipeline/HaTramAudio/project/016-Nguoi-Giu-Am-Thanh-Cuoi-Cung/output/final.mp4",
      "output_video_path": "/data/video-pipeline/HaTramAudio/project/016-Nguoi-Giu-Am-Thanh-Cuoi-Cung/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-21T03:19:31.154515+00:00",
    "source_duration": 2577.58,
    "target_output_bytes": 800000000,
    "max_output_bytes": 1000000000,
    "computed_video_bitrate_kbps": 2312,
    "audio_bitrate_kbps": 96,
    "command": [
      "ffmpeg",
      "-y",
      "-v",
      "warning",
      "-i",
      "/data/video-pipeline/HaTramAudio/project/016-Nguoi-Giu-Am-Thanh-Cuoi-Cung/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",
      "2312k",
      "-maxrate",
      "2312k",
      "-bufsize",
      "4624k",
      "-profile:v",
      "high",
      "-pix_fmt",
      "yuv420p",
      "-c:a",
      "aac",
      "-b:a",
      "96k",
      "-ar",
      "48000",
      "-ac",
      "2",
      "-t",
      "2577.580000",
      "-movflags",
      "+faststart",
      "/data/video-pipeline/HaTramAudio/project/016-Nguoi-Giu-Am-Thanh-Cuoi-Cung/output/final-upload.mp4"
    ],
    "completed_at": "2026-07-21T03:24:58.585371+00:00",
    "output": "/data/video-pipeline/HaTramAudio/project/016-Nguoi-Giu-Am-Thanh-Cuoi-Cung/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": 39591424,
          "duration": "2577.566667",
          "bit_rate": "9645571",
          "bits_per_raw_sample": "8",
          "nb_frames": "77327",
          "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": 123723840,
          "duration": "2577.580000",
          "bit_rate": "182572",
          "nb_frames": "120826",
          "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": "2577.580000",
        "size": "3169123172"
      }
    },
    "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": 39591424,
          "duration": "2577.566667",
          "bit_rate": "2312090",
          "bits_per_raw_sample": "8",
          "nb_frames": "77327",
          "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": 123723840,
          "duration": "2577.580000",
          "bit_rate": "91228",
          "nb_frames": "120826",
          "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": "2577.580000",
        "size": "776874814"
      }
    },
    "verification": {
      "verified": true,
      "video_codec": "h264",
      "audio_codec": "aac",
      "width": 1920,
      "height": 1080,
      "audio_stream_count": 1,
      "duration": 2577.58,
      "duration_delta": 0.0,
      "max_duration_delta": 0.08,
      "output_bytes": 776874814,
      "max_output_bytes": 1000000000,
      "under_one_gb": true,
      "compression_ratio": 0.24513872507824383
    }
  },
  "technical_verified": true,
  "under_one_gb": true,
  "output_path": "/data/video-pipeline/HaTramAudio/project/016-Nguoi-Giu-Am-Thanh-Cuoi-Cung/output/final-upload.mp4",
  "output_sha256": "f7b680a51b728f392b3228b6010e55ed26d8c1766a12240e1cb9e03828c1ff69",
  "output_bytes": 776874814,
  "output_duration": 2577.58,
  "duration_delta": 0.0,
  "completed_at": "2026-07-21T03:25:46.639976Z",
  "visual_qa": {
    "status": "passed",
    "verified": true,
    "manifest_path": "log/upload-check/manifest.json",
    "manifest_sha256": "329ab5def4cfe856028b65dab16fe8f71f565c80ce7e678cda1349ed3960d7f6",
    "scope": "intro typography plus technical/layout regression; center content excluded"
  }
}
