{
  "status": "completed",
  "verified": true,
  "source_canon_sha256": "7a69c613cc81b9e6e6803717410e1cc75bd21a6b84e8ff7b34c32dcc1083d416",
  "stage": "final",
  "job_id": "fc9703e501c1413a804875f2e93ea2ce",
  "input_receipts": [
    {
      "key": "intro_receipt",
      "path": "/data/video-pipeline/GacMaiAudio/project/001-Mui-Chi-Giau-Trong-Mua-Mua/log/intro-production-v2.json",
      "sha256": "92c3a6c163cba7b1b73158a044520e11ba3ceb4b30d34515ab00d591f02c8a04"
    },
    {
      "key": "footage_receipt",
      "path": "/data/video-pipeline/GacMaiAudio/project/001-Mui-Chi-Giau-Trong-Mua-Mua/log/footage-job.json",
      "sha256": "3014fc7c7d702f52f85c2219fd57817e15a95fc676ef48d24b97946576ba2a4e"
    },
    {
      "key": "footage_qa_receipt",
      "path": "/data/video-pipeline/GacMaiAudio/project/001-Mui-Chi-Giau-Trong-Mua-Mua/log/footage-check/extraction.json",
      "sha256": "72c257e7065a90e84001e382144843c2ad413b7a396e5cb489dedb37fd0c4210"
    }
  ],
  "output_path": "/data/video-pipeline/GacMaiAudio/project/001-Mui-Chi-Giau-Trong-Mua-Mua/output/final.mp4",
  "artifact_sha256": "19be1028100a1e1d721f9462f962861e87a02d6653037c63ca3522d073f91a13",
  "artifact_bytes": 3804997622,
  "duration_seconds": 2813.02,
  "duration_basis": {
    "output": 2813.02,
    "intro": 10.64,
    "footage": 2802.38,
    "expected_sum": 2813.02
  },
  "endpoint_verification": {
    "verified": true,
    "video_codec": "h264",
    "audio_codec": "aac",
    "width": 1920,
    "height": 1080,
    "audio_stream_count": 1,
    "duration": 2813.02,
    "duration_delta": 0.0,
    "max_duration_delta": 0.08
  },
  "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": "2813.020000",
      "size": "3804997622"
    }
  },
  "checks": {
    "endpoint_status_completed": {
      "verified": true,
      "value": true
    },
    "endpoint_verified": {
      "verified": true,
      "value": true
    },
    "output_path_exact": {
      "verified": true,
      "value": true
    },
    "one_video": {
      "verified": true,
      "value": true
    },
    "one_audio": {
      "verified": true,
      "value": true
    },
    "resolution": {
      "verified": true,
      "value": true
    },
    "video_h264": {
      "verified": true,
      "value": true
    },
    "audio_aac": {
      "verified": true,
      "value": true
    },
    "positive_duration": {
      "verified": true,
      "value": true
    },
    "duration_matches_intro_plus_footage": {
      "verified": true,
      "value": true
    }
  },
  "latest_response": {
    "id": "fc9703e501c1413a804875f2e93ea2ce",
    "service": "huyenan-render-final",
    "status": "completed",
    "created_at": "2026-07-19T12:41:51.089875+00:00",
    "updated_at": "2026-07-19T13:08:56.782812+00:00",
    "request": {
      "intro_video_path": "/data/video-pipeline/GacMaiAudio/project/001-Mui-Chi-Giau-Trong-Mua-Mua/output/intro/intro.mp4",
      "footage_video_path": "/data/video-pipeline/GacMaiAudio/project/001-Mui-Chi-Giau-Trong-Mua-Mua/output/footage/footage.mp4",
      "output_video_path": "/data/video-pipeline/GacMaiAudio/project/001-Mui-Chi-Giau-Trong-Mua-Mua/output/final.mp4",
      "fps": 30,
      "width": 1920,
      "height": 1080,
      "video_encoder": "h264_nvenc",
      "preset": "p4",
      "cq": 21
    },
    "started_at": "2026-07-19T12:41:51.702531+00:00",
    "intro_duration": 10.64,
    "footage_duration": 2802.38,
    "target_duration": 2813.02,
    "command": [
      "ffmpeg",
      "-y",
      "-v",
      "warning",
      "-i",
      "/data/video-pipeline/GacMaiAudio/project/001-Mui-Chi-Giau-Trong-Mua-Mua/output/intro/intro.mp4",
      "-i",
      "/data/video-pipeline/GacMaiAudio/project/001-Mui-Chi-Giau-Trong-Mua-Mua/output/footage/footage.mp4",
      "-filter_complex",
      "[0:v:0]scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=1,fps=30,trim=duration=10.640000,setpts=PTS-STARTPTS[v0];[1:v:0]scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=1,fps=30,trim=duration=2802.380000,setpts=PTS-STARTPTS[v1];[0:a:0]aresample=48000,aformat=sample_fmts=fltp:sample_rates=48000:channel_layouts=stereo,apad,atrim=duration=10.640000,asetpts=PTS-STARTPTS[a0];[1:a:0]aresample=48000,aformat=sample_fmts=fltp:sample_rates=48000:channel_layouts=stereo,apad,atrim=duration=2802.380000,asetpts=PTS-STARTPTS[a1];[v0][a0][v1][a1]concat=n=2:v=1:a=1:unsafe=0[vout][aout]",
      "-map",
      "[vout]",
      "-map",
      "[aout]",
      "-c:v",
      "h264_nvenc",
      "-preset",
      "p4",
      "-tune",
      "hq",
      "-rc",
      "vbr",
      "-cq",
      "21",
      "-b:v",
      "0",
      "-pix_fmt",
      "yuv420p",
      "-c:a",
      "aac",
      "-b:a",
      "192k",
      "-ar",
      "48000",
      "-ac",
      "2",
      "-t",
      "2813.020000",
      "-movflags",
      "+faststart",
      "/data/video-pipeline/GacMaiAudio/project/001-Mui-Chi-Giau-Trong-Mua-Mua/output/final.mp4"
    ],
    "audio_source": "footage_video_audio",
    "completed_at": "2026-07-19T13:08:56.782785+00:00",
    "output": "/data/video-pipeline/GacMaiAudio/project/001-Mui-Chi-Giau-Trong-Mua-Mua/output/final.mp4",
    "final_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": 43207680,
          "duration": "2813.000000",
          "bit_rate": "10621463",
          "bits_per_raw_sample": "8",
          "nb_frames": "84390",
          "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": 135024960,
          "duration": "2813.020000",
          "bit_rate": "191846",
          "nb_frames": "131862",
          "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": "2813.020000",
        "size": "3804997622"
      }
    },
    "verification": {
      "verified": true,
      "video_codec": "h264",
      "audio_codec": "aac",
      "width": 1920,
      "height": 1080,
      "audio_stream_count": 1,
      "duration": 2813.02,
      "duration_delta": 0.0,
      "max_duration_delta": 0.08
    }
  },
  "completed_at": "2026-07-19T13:10:04.115250+00:00",
  "hash_method": "sha256 streaming 8 MiB",
  "blockers": []
}
