Peke ki ngā ihirangi

Ffmpeg Api · Loudnorm

Whakauru

id tauira ffmpeg-api/loudnorm
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/ffmpeg-api/loudnorm?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tae atu ki te $ 0.306 mō ia whakahaerenga ka utua mō te whakamahinga tūturu, ka whakahokia te toenga Whakahaerehia ki tēnei whārangi

Tikina he kī API
Utility Ororongo #ffmpeg

Ka whakarite i te kaha ororongo ki tētahi whāinga EBU R128, me ngā tautuhinga LUFS, tihi tūturu me te awhe hei whakatikatika

Utility · Ororongo

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana audio_url
Whakataka he kōnae,

URL e tohu ana ki te kōnae ororongo e hiahia ana ki te whakarite.

Arā atu integrated_loudness · true_peak · loudness_range · offset · measured_i · measured_lra · measured_tp · measured_thresh · linear · dual_mono · print_summary
taunoa -18

Uara whāia mō te kaha oro whakakotahi, i whakaaturia ki LUFS.

taunoa -0.1

Te tuanui tihi-tūturu, i whakaaturia ki dBTP.

taunoa 7

Awhe whāia mō te kaha oro, i whakaaturia ki LU.

taunoa 0

Neke whiwhinga, i whakaaturia ki dB, ka whakamahia i mua i te herenga tihi-tūturu.

Inenga kaha oro whakakotahi e hiahiatia ana e te aratau rārangi mai i te kōnae tāuru, i tukuna ki LUFS.

Inenga awhe kaha oro e hiahiatia ana e te aratau rārangi, i tangohia mai i te kōnae tāuru, i tukuna ki LU.

Inenga tihi-tūturu e hiahiatia ana e te aratau rārangi, i tukuna ki dBTP mai i te kōnae tāuru.

Paepae ine o te ororongo tāuru, i whakaaturia ki LUFS; e hiahiatia ana ina whakamahi i te aratau rārangi.

POST /run/ffmpeg-api/loudnorm?wait=20 utu → $ 0.306
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/ffmpeg-api/loudnorm?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Ffmpeg Api · Loudnorm

Ka whakamahi i te whakarite kaha ororongo ki te kōnae kei `audio_url`. Ko ngā whāinga ko `integrated_loudness` (-70 ki -5 LUFS), `true_peak` (-9 ki 0 dBTP) me `loudness_range` (1 ki 20 LU). Ko te aratau hihiri rua-whakahaere te taunoa. Me whai uara ine mō te tāuru te aratau rārangi kotahi-whakahaere, ā, ka taea te whakahoki whakarāpopototanga ine.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
audio_urle hiahiatia ana audio
Momourl · audio
URL e tohu ana ki te kōnae ororongo e hiahia ana ki te whakarite.
integrated_loudnesskōwhiringa
Momonumber
Taunoa-18
-70 – -5
Uara whāia mō te kaha oro whakakotahi, i whakaaturia ki LUFS.
true_peakkōwhiringa
Momonumber
Taunoa-0.1
-9 – 0
Te tuanui tihi-tūturu, i whakaaturia ki dBTP.
loudness_rangekōwhiringa
Momonumber
Taunoa7
1 – 20
Awhe whāia mō te kaha oro, i whakaaturia ki LU.
offsetkōwhiringa
Momonumber
Taunoa0
-99 – 99
Neke whiwhinga, i whakaaturia ki dB, ka whakamahia i mua i te herenga tihi-tūturu.
linearkōwhiringa
Momoboolean
Taunoafalse
Kaiwhiri aratau whakarite: mā false e kōwhiri te tukatuka hihiri kounga-teitei, e rua ngā whitinga; mā true e kōwhiri te tukatuka rārangi kotahi-whitinga.
dual_monokōwhiringa
Momoboolean
Taunoafalse
Mēnā ka tukatukahia ngā tāuru mono hei dual-mono kia tika ai ngā inenga kaha oro EBU R128 i ngā pūnaha tīreo.
print_summarykōwhiringa
Momoboolean
Taunoafalse
Ka whakauru i te whakarāpopototanga o ngā inenga kaha oro ki te taha o te ororongo kua whakaritea.
measured_ikōwhiringa
Momonumber | null
-99 – 0
Inenga kaha oro whakakotahi e hiahiatia ana e te aratau rārangi mai i te kōnae tāuru, i tukuna ki LUFS.
measured_lrakōwhiringa
Momonumber | null
0 – 99
Inenga awhe kaha oro e hiahiatia ana e te aratau rārangi, i tangohia mai i te kōnae tāuru, i tukuna ki LU.
measured_tpkōwhiringa
Momonumber | null
-99 – 99
Inenga tihi-tūturu e hiahiatia ana e te aratau rārangi, i tukuna ki dBTP mai i te kōnae tāuru.
measured_threshkōwhiringa
Momonumber | null
-99 – 0
Paepae ine o te ororongo tāuru, i whakaaturia ki LUFS; e hiahiatia ana ina whakamahi i te aratau rārangi.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ffmpeg-api/loudnorm",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 306,
    "usd": "0.306",
    "charged": 306,
    "refunded": 0
  },
  "input": {
    "audio_url": "https://content.doitong.com/audio/showcase/v3/tools/dub_es.mp3"
  },
  "output": {
    "audio": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_name": "0-output.mp3",
      "file_size": 1843200
    },
    "summary": {
      "input_integrated": 1.0,
      "input_true_peak": 1.0,
      "input_lra": 1.0,
      "input_threshold": 1.0,
      "output_integrated": 1.0,
      "output_true_peak": 1.0,
      "output_lra": 1.0,
      "output_threshold": 1.0,
      "normalization_type": "string",
      "target_offset": 1.0
    }
  },
  "outputs": [
    {
      "type": "audio",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp3",
      "content_type": "audio/mpeg",
      "file_size": 1843200,
      "duration": 12,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
audio
object {url, content_type, file_name, file_size}Kōnae ororongo i muri i te whakarite.
summary
object {input_integrated, input_true_peak, input_lra, input_threshold, output_integrated, output_true_peak, output_lra, output_threshold, normalization_type, target_offset} | nullWhakarāpopototanga hanganga o ngā inenga kaha oro, ka whakahokia ina tonoa.

Ētahi atu tauira: Ororongo

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/ffmpeg-api/loudnorm.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt