{
  "endpoint": "http://192.168.1.104:8005/compose-tts",
  "payload": {
    "job_id": "212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen_step05_master_narration",
    "work_dir": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen",
    "output_audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/master_narration.wav",
    "tts_segments": [
      {
        "segment_index": 1,
        "start": 0.0,
        "end": 10.08,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_001/seg_001.wav",
        "source_text": "Cổ nhân dạy, giữ một lời thật lúc khó, hơn trăm lời hay lúc yên. Khi đời thuận, ai cũng có thể nói điều đẹp; đến lúc gió ngược mới biết miệng người có còn đi cùng lương tâm hay không.",
        "translated_text": "",
        "status": "ok"
      },
      {
        "segment_index": 2,
        "start": 10.58,
        "end": 20.58,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_002/seg_001.wav",
        "source_text": "Ở làng dệt ven sông có người thợ tên Tín. Ông nổi tiếng khéo tay, vải dệt mịn như mặt nước mùa thu. Khách quý thường đặt hàng trước, vì tin lời hẹn của ông hơn tin giấy đóng dấu.",
        "translated_text": "",
        "status": "ok"
      },
      {
        "segment_index": 3,
        "start": 21.08,
        "end": 31.08,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_003/seg_001.wav",
        "source_text": "Một năm nước lũ dâng cao, tằm chết nhiều, sợi tơ khan hiếm. Đúng lúc ấy, Tín còn nợ một đơn vải cưới cho cô gái nghèo trong làng. Nhà gái đã bán đôi vòng bạc để đặt trước tiền công.",
        "translated_text": "",
        "status": "ok"
      },
      {
        "segment_index": 4,
        "start": 31.58,
        "end": 48.24,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_004/seg_001.wav",
        "source_text": "Một thương lái giàu tìm đến, trả giá gấp ba nếu Tín giao hết phần tơ tốt cho ông ta trước. Người ấy nói, cô gái nghèo có chậm vài tháng cũng chẳng dám trách. Túi bạc đặt trên bàn sáng lạnh dưới đèn. Tiếng bạc va nhau nghe vui tai, nhưng trong lòng ông lại nặng như đá.",
        "translated_text": "",
        "status": "ok"
      },
      {
        "segment_index": 5,
        "start": 48.74,
        "end": 59.54,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_005/seg_001.wav",
        "source_text": "Tín nhìn khung cửi trống mà lòng dao động. Mẹ bệnh cần thuốc, mái nhà dột cần sửa. Nếu nhận bạc, khó khăn trước mắt nhẹ đi. Nhưng lời hẹn với người nghèo sẽ thành món nợ không nhìn thấy.",
        "translated_text": "",
        "status": "ok"
      },
      {
        "segment_index": 6,
        "start": 60.04,
        "end": 75.98,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_006/seg_001.wav",
        "source_text": "Đêm ấy, ông mở hòm cũ, thấy tấm vải cha để lại. Trên mép vải có dòng chữ nhỏ: người làm nghề có thể thiếu lụa, nhưng đừng thiếu chữ tín. Tín ngồi rất lâu, nghe tiếng mưa rơi trên mái rách. Ông hiểu mái nhà có thể vá bằng tranh, còn danh dự rách thì khó vá bằng lời xin lỗi.",
        "translated_text": "",
        "status": "ok"
      },
      {
        "segment_index": 7,
        "start": 76.48,
        "end": 86.88,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_007/seg_001.wav",
        "source_text": "Sáng hôm sau, ông trả lại túi bạc cho thương lái. Ông nói phần tơ tốt đã có lời hẹn trước, nghèo cũng không nên lấy lời thật đem bán. Thương lái cười nhạt, bảo ông dại giữa thời khó.",
        "translated_text": "",
        "status": "ok"
      },
      {
        "segment_index": 8,
        "start": 87.38,
        "end": 99.86,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_008/seg_001.wav",
        "source_text": "Tín không cãi. Ông gom từng sợi tơ còn lại, thức nhiều đêm dệt chậm hơn, cẩn thận hơn. Bàn tay nứt vì nước lạnh, nhưng từng đường vải vẫn ngay ngắn như lời ông đã hứa. Mỗi nhịp thoi qua lại như nhắc ông giữ lòng cho thẳng.",
        "translated_text": "",
        "status": "ok"
      },
      {
        "segment_index": 9,
        "start": 100.36,
        "end": 110.76,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_009/seg_001.wav",
        "source_text": "Ngày giao vải, cô gái nghèo cúi đầu rơi nước mắt. Tấm vải không lộng lẫy nhất chợ, nhưng sạch, bền và đúng hẹn. Mẹ cô nói, nhà nghèo không sợ vải ít, chỉ sợ gặp người đổi lời.",
        "translated_text": "",
        "status": "ok"
      },
      {
        "segment_index": 10,
        "start": 111.26,
        "end": 120.94,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_010/seg_001.wav",
        "source_text": "Chuyện ấy lan ra. Người trong vùng tìm đến Tín không chỉ vì vải đẹp, mà vì biết trong xưởng nhỏ ấy, lời nói không bị cân bằng bạc. Khung cửi nghèo bỗng thành nơi người ta gửi niềm tin.",
        "translated_text": "",
        "status": "ok"
      },
      {
        "segment_index": 11,
        "start": 121.44,
        "end": 132.8,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_011/seg_001.wav",
        "source_text": "Mẹ Tín sau đó cũng có thuốc. Một người khách từng nghe chuyện đã đem thảo dược đến, nói người giữ lời cho kẻ yếu đáng được đời giữ lại. Tín nhận thuốc mà mắt đỏ, hiểu phúc không đi bằng đường tắt.",
        "translated_text": "",
        "status": "ok"
      },
      {
        "segment_index": 12,
        "start": 133.3,
        "end": 149.08,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_012/seg_001.wav",
        "source_text": "Đời người ai cũng có lúc bị cái khó ép sát: thiếu tiền, thiếu đường, thiếu người chống đỡ. Chính lúc ấy, một lời thật mới có trọng lượng. Lời hay khi yên giống hoa trên bàn; lời thật khi khó giống cột chống mái nhà. Hoa tàn còn trồng lại được, cột gãy thì cả nhà nghiêng.",
        "translated_text": "",
        "status": "ok"
      },
      {
        "segment_index": 13,
        "start": 149.58,
        "end": 161.02,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_013/seg_001.wav",
        "source_text": "Giữ chữ tín không phải để được khen ngay. Có khi chỉ là để đêm xuống, ta không thấy xấu hổ với chính mình. Người có thể nghèo một mùa, nhưng nếu mất lời thật, sẽ nghèo trong mắt người đời rất lâu.",
        "translated_text": "",
        "status": "ok"
      },
      {
        "segment_index": 14,
        "start": 161.52,
        "end": 172.24,
        "audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/voice_segments/scene_014/seg_001.wav",
        "source_text": "Vậy nên, lúc khó nhất, đừng vội bán lời thật để mua chút yên trước mắt. Một câu giữ đúng hẹn có thể nuôi uy tín cả đời. Giữ được lời lúc gió ngược, phúc mới theo ta qua bão.",
        "translated_text": "",
        "status": "ok"
      }
    ],
    "pause_sec": 0.5
  },
  "response": {
    "status": "ok",
    "job_id": "212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen_step05_master_narration",
    "dub_audio_path": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/master_narration.wav",
    "segments_count": 14,
    "duration": 172.24
  },
  "probe": {
    "streams": [
      {
        "index": 0,
        "codec_name": "pcm_s16le",
        "codec_long_name": "PCM signed 16-bit little-endian",
        "codec_type": "audio",
        "codec_tag_string": "[1][0][0][0]",
        "codec_tag": "0x0001",
        "sample_fmt": "s16",
        "sample_rate": "22050",
        "channels": 1,
        "bits_per_sample": 16,
        "r_frame_rate": "0/0",
        "avg_frame_rate": "0/0",
        "time_base": "1/22050",
        "duration_ts": 3797892,
        "duration": "172.240000",
        "bit_rate": "352800",
        "disposition": {
          "default": 0,
          "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
        }
      }
    ],
    "format": {
      "filename": "/data/video-pipeline/Channel-Loi-Co-Nhan/project/212-Giu-mot-loi-that-luc-kho-hon-tram-loi-hay-luc-yen/audio/master_narration.wav",
      "nb_streams": 1,
      "nb_programs": 0,
      "format_name": "wav",
      "format_long_name": "WAV / WAVE (Waveform Audio)",
      "duration": "172.240000",
      "size": "7595862",
      "bit_rate": "352803",
      "probe_score": 99,
      "tags": {
        "encoder": "Lavf59.27.100"
      }
    }
  }
}