piped ffmpeg exits on this stream also, but it takes MUCH longer, about 10-30 seconds.
I don't get any logs from ffmpeg. Maybe because of piping?
EDIT: OK, i get logging when i turn on "debug" logging instead of "fatal". Sadly, i don't see warnings or errors. ffmpeg 6.0.1 just closes the connection and exits on the IPTV streams. It says "EOF" in the log, which isn't the case. The stream was not stopped. I'll attach the ffmpeg log.
I did some further testing on other machines: Synology NAS with ffmpeg 4.4.4 : works, mac mini with ffmpeg 4.4.2: works. LibreElec 11.0.6 with ffmpeg 4.4.3: works.
Would you mind adding ffmpeg 4 as a option to LibreElec 12?
Output #0, mpegts, to 'pipe:1':
Metadata:
encoder : Lavf60.3.100
Stream #0:0, 0, 1/90000: Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 1920x1080 (0x0) [SAR 1:1 DAR 16:9], 0/1, q=2-31, 25 fps, 25 tbr, 90k tbn (default)
Metadata:
variant_bitrate : 7999000
major_brand : cmfc
minor_version : 0
compatible_brands: cmfcisomiso2iso5avc1dash
Stream #0:1(deu), 0, 1/90000: Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 5.1(side), fltp, 256 kb/s (default)
Metadata:
variant_bitrate : 7999000
major_brand : cmfc
minor_version : 0
compatible_brands: cmfcisomiso2iso5mp41dby1dash
comment : deutsch
Side data:
audio service type: main
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[vost#0:0/copy @ 0x3ee66320] cur_dts is invalid [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[aost#0:1/copy @ 0x3ee736a0] cur_dts is invalid [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[vost#0:0/copy @ 0x3ee66320] cur_dts is invalid [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
Automatically inserted bitstream filter 'h264_mp4toannexb'; args=''
EOF in input file 0
Terminating demuxer thread 0
No more output streams to write to, finishing.
[out#0/mpegts @ 0x3ee3b1f0] All streams finished
[out#0/mpegts @ 0x3ee3b1f0] Terminating muxer thread
[AVIOContext @ 0x3ee86530] Statistics: 1517348 bytes written, 0 seeks, 91 writeouts
frame= 40 fps=0.0 q=-1.0 Lsize= 1482kB time=00:00:01.56 bitrate=7741.6kbits/s speed= 218x
video:1386kB audio:50kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.172454%
Input file #0 (http://192.168.178.21:6060/api/zde/live/zdf):
Input stream #0:0 (audio): 50 packets read (51200 bytes);
Input stream #0:1 (video): 40 packets read (1419491 bytes);
Total: 90 packets (1470691 bytes) demuxed
Output file #0 (pipe:1):
Output stream #0:0 (video): 40 packets muxed (1419491 bytes);
Output stream #0:1 (audio): 50 packets muxed (51200 bytes);
Total: 90 packets (1470691 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x3ee93820] Statistics: 0 bytes read, 0 seeks
[AVIOContext @ 0x3ee5ad70] Statistics: 0 bytes read, 0 seeks
[AVIOContext @ 0x3eec1a70] Statistics: 0 bytes read, 0 seeks
[AVIOContext @ 0x3eeb2b10] Statistics: 0 bytes read, 0 seeks
[AVIOContext @ 0x3ee38020] Statistics: 55110 bytes read, 0 seeks
[AVIOContext @ 0x3edba890] Statistics: 934 bytes read, 0 seeks
Display More