Here are my process report for this source;
I'm trying to generate an SRT feed with 4 (stereo) audio services from the Metus Ingest application !
{
"about": {
"id": "99a51183-96ce-491e-b6e4-003a1ef44cfb",
"name": "empty-math-7870",
"created_at": "2023-03-21T18:24:16.000Z",
"version": {
"number": "16.12.0",
"repository_commit": "431d013e3ec9a6f42d47cd168bcb9cc1ad39feed",
"repository_branch": "main",
"build_date": "2023-02-23T10:50:04Z",
"arch": "linux/arm64",
"compiler": "go1.20.1"
},
"auths": [
"localjwt"
],
"app": "datarhei-core",
"uptime_seconds": 7975
},
"ffmpeg": {
"version": "5.1.2",
"compiler": "gcc 11.2.1 (Alpine 11.2.1_git20220219) 20220219",
"configuration": "--extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lz -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --disable-ffplay --disable-debug --disable-doc --disable-shared",
"libraries": [
{
"name": "libavutil",
"compiled": "57. 28.100",
"linked": "57. 28.100"
},
{
"name": "libavcodec",
"compiled": "59. 37.100",
"linked": "59. 37.100"
},
{
"name": "libavformat",
"compiled": "59. 27.100",
"linked": "59. 27.100"
},
{
"name": "libavdevice",
"compiled": "59. 7.100",
"linked": "59. 7.100"
},
{
"name": "libavfilter",
"compiled": "8. 44.100",
"linked": "8. 44.100"
},
{
"name": "libswscale",
"compiled": "6. 7.100",
"linked": "6. 7.100"
},
{
"name": "libswresample",
"compiled": "4. 7.100",
"linked": "4. 7.100"
},
{
"name": "libpostproc",
"compiled": "56. 6.100",
"linked": "56. 6.100"
}
]
},
"config": {
"created_at": "2023-03-18T16:45:46.215031055Z",
"version": 3,
"id": "99a51183-96ce-491e-b6e4-003a1ef44cfb",
"name": "empty-math-7870",
"address": ":9090",
"update_check": false,
"log": {
"level": "info",
"topics": [],
"max_lines": 1000
},
"db": {
"dir": "/core/config"
},
"host": {
"name": [
"[anonymized]",
"[anonymized]"
],
"auto": true
},
"api": {
"read_only": false,
"access": {
"http": {
"allow": [],
"block": []
},
"https": {
"allow": [],
"block": []
}
},
"auth": {
"enable": true,
"disable_localhost": false,
"username": "[anonymized]",
"password": "[anonymized]",
"jwt": {
"secret": "[anonymized]"
},
"auth0": {
"enable": false,
"tenants": [
"[anonymized]",
"[anonymized]"
]
}
}
},
"tls": {
"address": ":9191",
"enable": false,
"auto": false,
"email": "[email protected]",
"cert_file": "",
"key_file": ""
},
"storage": {
"disk": {
"dir": "/core/data",
"max_size_mbytes": 0,
"cache": {
"enable": true,
"max_size_mbytes": 0,
"ttl_seconds": 300,
"max_file_size_mbytes": 1,
"types": {
"allow": [],
"block": [
".m3u8",
".mpd"
]
}
}
},
"memory": {
"auth": {
"enable": true,
"username": "[anonymized]",
"password": "[anonymized]"
},
"max_size_mbytes": 0,
"purge": false
},
"s3": [],
"cors": {
"origins": [
"*"
]
},
"mimetypes_file": "./mime.types"
},
"rtmp": {
"enable": true,
"enable_tls": false,
"address": ":1935",
"address_tls": ":1936",
"app": "[anonymized]",
"token": "[anonymized]"
},
"srt": {
"enable": true,
"address": ":10000",
"passphrase": "",
"token": "",
"log": {
"enable": false,
"topics": []
}
},
"ffmpeg": {
"binary": "ffmpeg",
"max_processes": 0,
"access": {
"input": {
"allow": [],
"block": []
},
"output": {
"allow": [],
"block": []
}
},
"log": {
"max_lines": 100,
"max_history": 3
}
},
"playout": {
"enable": false,
"min_port": 0,
"max_port": 0
},
"debug": {
"profiling": false,
"force_gc": 0,
"memory_limit_mbytes": 0
},
"metrics": {
"enable": false,
"enable_prometheus": false,
"range_sec": 300,
"interval_sec": 2
},
"sessions": {
"enable": true,
"ip_ignorelist": [
"[anonymized]",
"[anonymized]"
],
"session_timeout_sec": 30,
"persist": false,
"persist_interval_sec": 300,
"max_bitrate_mbit": 0,
"max_sessions": 0
},
"service": {
"enable": false,
"token": "[anonymized]",
"url": "https://service.datarhei.com"
},
"router": {
"blocked_prefixes": [
"/api"
],
"routes": {},
"ui_path": ""
}
},
"process": {
"id": "restreamer-ui:ingest:a1a899a1-ed96-463f-8063-fa24095504bc",
"type": "ffmpeg",
"reference": "a1a899a1-ed96-463f-8063-fa24095504bc",
"created_at": 1678830985,
"config": {
"id": "restreamer-ui:ingest:a1a899a1-ed96-463f-8063-fa24095504bc",
"type": "ffmpeg",
"reference": "a1a899a1-ed96-463f-8063-fa24095504bc",
"input": [
{
"id": "input_0",
"address": "srt://[anonymized]",
"options": [
"-fflags",
"+genpts+discardcorrupt+fastseek",
"-thread_queue_size",
"512",
"-copyts"
]
}
],
"output": [
{
"id": "output_0",
"address": "{memfs}/a1a899a1-ed96-463f-8063-fa24095504bc_{outputid}.m3u8",
"options": [
"-dn",
"-sn",
"-map",
"0:0",
"-codec:v",
"copy",
"-map",
"0:1",
"-codec:a",
"copy",
"-metadata",
"title=https://[anonymized]",
"-metadata",
"service_provider=datarhei-Restreamer",
"-f",
"hls",
"-start_number",
"0",
"-hls_time",
"2",
"-hls_list_size",
"6",
"-hls_flags",
"append_list+delete_segments+program_date_time+temp_file",
"-hls_delete_threshold",
"4",
"-hls_segment_filename",
"{memfs}/a1a899a1-ed96-463f-8063-fa24095504bc_{outputid}%04d.ts",
"-master_pl_name",
"a1a899a1-ed96-463f-8063-fa24095504bc.m3u8",
"-master_pl_publish_rate",
"2",
"-method",
"PUT"
],
"cleanup": [
{
"pattern": "memfs:/a1a899a1-ed96-463f-8063-fa24095504bc**",
"max_files": 0,
"max_file_age_seconds": 0,
"purge_on_delete": true
},
{
"pattern": "memfs:/a1a899a1-ed96-463f-8063-fa24095504bc{outputid}.m3u8",
"max_files": 0,
"max_file_age_seconds": 24,
"purge_on_delete": true
},
{
"pattern": "memfs:/a1a899a1-ed96-463f-8063-fa24095504bc_{outputid}_**.ts",
"max_files": 12,
"max_file_age_seconds": 24,
"purge_on_delete": true
},
{
"pattern": "memfs:/a1a899a1-ed96-463f-8063-fa24095504bc.m3u8",
"max_files": 0,
"max_file_age_seconds": 24,
"purge_on_delete": true
}
]
}
],
"options": [
"-err_detect",
"ignore_err",
"-y"
],
"reconnect": true,
"reconnect_delay_seconds": 5,
"autostart": true,
"stale_timeout_seconds": 15,
"limits": {
"cpu_usage": 0,
"memory_mbytes": 0,
"waitfor_seconds": 0
}
},
"state": {
"order": "start",
"exec": "running",
"runtime_seconds": 9,
"reconnect_seconds": -1,
"last_logline": " libpostproc 56. 6.100 / 56. 6.100",
"progress": {
"inputs": [],
"outputs": [],
"frame": 0,
"packet": 0,
"fps": 0,
"q": 0,
"size_kb": 0,
"time": 0,
"bitrate_kbit": 0,
"speed": 0,
"drop": 0,
"dup": 0
},
"memory_bytes": 16183296,
"cpu_usage": 0,
"command": [
"-err_detect",
"ignore_err",
"-y",
"-fflags",
"+genpts+discardcorrupt+fastseek",
"-thread_queue_size",
"512",
"-copyts",
"-i",
"srt://[anonymized]",
"-dn",
"-sn",
"-map",
"0:0",
"-codec:v",
"copy",
"-map",
"0:1",
"-codec:a",
"copy",
"-metadata",
"title=https://[anonymized]",
"-metadata",
"service_provider=datarhei-Restreamer",
"-f",
"hls",
"-start_number",
"0",
"-hls_time",
"2",
"-hls_list_size",
"6",
"-hls_flags",
"append_list+delete_segments+program_date_time+temp_file",
"-hls_delete_threshold",
"4",
"-hls_segment_filename",
"http://[anonymized]",
"-master_pl_name",
"a1a899a1-ed96-463f-8063-fa24095504bc.m3u8",
"-master_pl_publish_rate",
"2",
"-method",
"PUT",
"http://[anonymized]"
]
},
"report": {
"created_at": 1679431022,
"prelude": [
"ffmpeg version 5.1.2-datarhei Copyright (c) 2000-2022 the FFmpeg developers",
" built with gcc 11.2.1 (Alpine 11.2.1_git20220219) 20220219",
" configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lz -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --disable-ffplay --disable-debug --disable-doc --disable-shared",
" libavutil 57. 28.100 / 57. 28.100",
" libavcodec 59. 37.100 / 59. 37.100",
" libavformat 59. 27.100 / 59. 27.100",
" libavdevice 59. 7.100 / 59. 7.100",
" libavfilter 8. 44.100 / 8. 44.100",
" libswscale 6. 7.100 / 6. 7.100",
" libswresample 4. 7.100 / 4. 7.100",
" libpostproc 56. 6.100 / 56. 6.100"
],
"log": [
[
"1679431022",
"ffmpeg version 5.1.2-datarhei Copyright (c) 2000-2022 the FFmpeg developers"
],
[
"1679431022",
" built with gcc 11.2.1 (Alpine 11.2.1_git20220219) 20220219"
],
[
"1679431022",
" configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lz -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --disable-ffplay --disable-debug --disable-doc --disable-shared"
],
[
"1679431022",
" libavutil 57. 28.100 / 57. 28.100"
],
[
"1679431022",
" libavcodec 59. 37.100 / 59. 37.100"
],
[
"1679431022",
" libavformat 59. 27.100 / 59. 27.100"
],
[
"1679431022",
" libavdevice 59. 7.100 / 59. 7.100"
],
[
"1679431022",
" libavfilter 8. 44.100 / 8. 44.100"
],
[
"1679431022",
" libswscale 6. 7.100 / 6. 7.100"
],
[
"1679431022",
" libswresample 4. 7.100 / 4. 7.100"
],
[
"1679431022",
" libpostproc 56. 6.100 / 56. 6.100"
]
],
"history": [
{
"created_at": 1679430962,
"prelude": [
"ffmpeg version 5.1.2-datarhei Copyright (c) 2000-2022 the FFmpeg developers",
" built with gcc 11.2.1 (Alpine 11.2.1_git20220219) 20220219",
" configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lz -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --disable-ffplay --disable-debug --disable-doc --disable-shared",
" libavutil 57. 28.100 / 57. 28.100",
" libavcodec 59. 37.100 / 59. 37.100",
" libavformat 59. 27.100 / 59. 27.100",
" libavdevice 59. 7.100 / 59. 7.100",
" libavfilter 8. 44.100 / 8. 44.100",
" libswscale 6. 7.100 / 6. 7.100",
" libswresample 4. 7.100 / 4. 7.100",
" libpostproc 56. 6.100 / 56. 6.100",
"srt://[anonymized] Immediate exit requested",
"Exiting normally, received signal 2."
],
"log": [
[
"1679430962",
"ffmpeg version 5.1.2-datarhei Copyright (c) 2000-2022 the FFmpeg developers"
],
[
"1679430962",
" built with gcc 11.2.1 (Alpine 11.2.1_git20220219) 20220219"
],
[
"1679430962",
" configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lz -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --disable-ffplay --disable-debug --disable-doc --disable-shared"
],
[
"1679430962",
" libavutil 57. 28.100 / 57. 28.100"
],
[
"1679430962",
" libavcodec 59. 37.100 / 59. 37.100"
],
[
"1679430962",
" libavformat 59. 27.100 / 59. 27.100"
],
[
"1679430962",
" libavdevice 59. 7.100 / 59. 7.100"
],
[
"1679430962",
" libavfilter 8. 44.100 / 8. 44.100"
],
[
"1679430962",
" libswscale 6. 7.100 / 6. 7.100"
],
[
"1679430962",
" libswresample 4. 7.100 / 4. 7.100"
],
[
"1679430962",
" libpostproc 56. 6.100 / 56. 6.100"
],
[
"1679430977",
"srt://[anonymized] Immediate exit requested"
],
[
"1679430977",
"Exiting normally, received signal 2."
]
]
},
{
"created_at": 1679430982,
"prelude": [
"ffmpeg version 5.1.2-datarhei Copyright (c) 2000-2022 the FFmpeg developers",
" built with gcc 11.2.1 (Alpine 11.2.1_git20220219) 20220219",
" configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lz -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --disable-ffplay --disable-debug --disable-doc --disable-shared",
" libavutil 57. 28.100 / 57. 28.100",
" libavcodec 59. 37.100 / 59. 37.100",
" libavformat 59. 27.100 / 59. 27.100",
" libavdevice 59. 7.100 / 59. 7.100",
" libavfilter 8. 44.100 / 8. 44.100",
" libswscale 6. 7.100 / 6. 7.100",
" libswresample 4. 7.100 / 4. 7.100",
" libpostproc 56. 6.100 / 56. 6.100",
"srt://[anonymized] Immediate exit requested",
"Exiting normally, received signal 2."
],
"log": [
[
"1679430982",
"ffmpeg version 5.1.2-datarhei Copyright (c) 2000-2022 the FFmpeg developers"
],
[
"1679430982",
" built with gcc 11.2.1 (Alpine 11.2.1_git20220219) 20220219"
],
[
"1679430982",
" configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lz -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --disable-ffplay --disable-debug --disable-doc --disable-shared"
],
[
"1679430982",
" libavutil 57. 28.100 / 57. 28.100"
],
[
"1679430982",
" libavcodec 59. 37.100 / 59. 37.100"
],
[
"1679430982",
" libavformat 59. 27.100 / 59. 27.100"
],
[
"1679430982",
" libavdevice 59. 7.100 / 59. 7.100"
],
[
"1679430982",
" libavfilter 8. 44.100 / 8. 44.100"
],
[
"1679430982",
" libswscale 6. 7.100 / 6. 7.100"
],
[
"1679430982",
" libswresample 4. 7.100 / 4. 7.100"
],
[
"1679430982",
" libpostproc 56. 6.100 / 56. 6.100"
],
[
"1679430997",
"srt://[anonymized] Immediate exit requested"
],
[
"1679430997",
"Exiting normally, received signal 2."
]
]
},
{
"created_at": 1679431002,
"prelude": [
"ffmpeg version 5.1.2-datarhei Copyright (c) 2000-2022 the FFmpeg developers",
" built with gcc 11.2.1 (Alpine 11.2.1_git20220219) 20220219",
" configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lz -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --disable-ffplay --disable-debug --disable-doc --disable-shared",
" libavutil 57. 28.100 / 57. 28.100",
" libavcodec 59. 37.100 / 59. 37.100",
" libavformat 59. 27.100 / 59. 27.100",
" libavdevice 59. 7.100 / 59. 7.100",
" libavfilter 8. 44.100 / 8. 44.100",
" libswscale 6. 7.100 / 6. 7.100",
" libswresample 4. 7.100 / 4. 7.100",
" libpostproc 56. 6.100 / 56. 6.100",
"srt://[anonymized] Immediate exit requested",
"Exiting normally, received signal 2."
],
"log": [
[
"1679431002",
"ffmpeg version 5.1.2-datarhei Copyright (c) 2000-2022 the FFmpeg developers"
],
[
"1679431002",
" built with gcc 11.2.1 (Alpine 11.2.1_git20220219) 20220219"
],
[
"1679431002",
" configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lz -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --disable-ffplay --disable-debug --disable-doc --disable-shared"
],
[
"1679431002",
" libavutil 57. 28.100 / 57. 28.100"
],
[
"1679431002",
" libavcodec 59. 37.100 / 59. 37.100"
],
[
"1679431002",
" libavformat 59. 27.100 / 59. 27.100"
],
[
"1679431002",
" libavdevice 59. 7.100 / 59. 7.100"
],
[
"1679431002",
" libavfilter 8. 44.100 / 8. 44.100"
],
[
"1679431002",
" libswscale 6. 7.100 / 6. 7.100"
],
[
"1679431002",
" libswresample 4. 7.100 / 4. 7.100"
],
[
"1679431002",
" libpostproc 56. 6.100 / 56. 6.100"
],
[
"1679431017",
"srt://[anonymized] Immediate exit requested"
],
[
"1679431017",
"Exiting normally, received signal 2."
]
]
}
]
}
}
}