Hey Gerrit,
Thanks for the ideas.
I created the new entry for one of my channels using your sed command. I edited the Mux and saved it.
When I try to play it from the TVHeadend web interface, it opes VLC, but fails.
Attached are the logs for the playing of the channel:
2022-09-04 12:09:17.628 [ INFO]:http: ::ffff:192.168.1.139: using ticket 5e14011a45fc78d9398dbe5cca9da1564d35a4dd for /stream/mux/f4c39330ad210fa9942e2592e6d23926
2022-09-04 12:09:17.631 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - add raw service
2022-09-04 12:09:17.634 [ DEBUG]:service: 3: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends si 0x562752560ef0 <unknown> weight 0 prio 11 error 0 (OK)
2022-09-04 12:09:17.634 [ DEBUG]:service: 2: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends si 0x562752517900 <unknown> weight 0 prio 11 error 0 (OK)
2022-09-04 12:09:17.634 [ DEBUG]:service: 1: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends si 0x5627528bb190 <unknown> weight 0 prio 11 error 0 (OK)
2022-09-04 12:09:17.635 [ INFO]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - tuning on IPTV #1
2022-09-04 12:09:17.863 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - open PID 0000 (0) [20/0x5627592d2b70]
2022-09-04 12:09:17.863 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - open PID 0001 (1) [16/0x562759d91230]
2022-09-04 12:09:17.863 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - open PID 0010 (16) [20/0x5627542f49a0]
2022-09-04 12:09:17.864 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - open PID 0011 (17) [20/0x5627581ace40]
2022-09-04 12:09:17.864 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - open PID 0011 (17) [16/0x562756a4e5a0]
2022-09-04 12:09:17.864 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - started
2022-09-04 12:09:17.864 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - open PID fullmux subscription [0003/0x5627536b8c90]
2022-09-04 12:09:17.864 [ INFO]:subscription: 0204: "HTTP" subscribing to mux "jq2zy9wz89c556rdyxr5.m3u - UK-Alibi", weight: 10, adapter: "IPTV #1", network: "TVLegends", service: "Raw PID Subscription", hostname="::ffff:192.168.1.139", username="admin", client="VLC/3.0.17.3 LibVLC/3.0.17.3"
2022-09-04 12:09:17.865 [ INFO]:spawn: Executing "/usr/bin/ffmpeg"
2022-09-04 12:09:18.936 [ ERROR]:spawn: ffmpeg version 4.4.2 Copyright (c) 2000-2021 the FFmpeg developers
2022-09-04 12:09:18.936 [ ERROR]:spawn: built with gcc 11 (GCC)
2022-09-04 12:09:18.936 [ ERROR]:spawn: configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' --extra-cflags=' -I/usr/include/rav1e' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --enable-chromaprint --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom -
2022-09-04 12:09:18.948 [ ERROR]:spawn: libavutil 56. 70.100 / 56. 70.100
2022-09-04 12:09:18.948 [ ERROR]:spawn: libavcodec 58.134.100 / 58.134.100
2022-09-04 12:09:18.948 [ ERROR]:spawn: libavformat 58. 76.100 / 58. 76.100
2022-09-04 12:09:18.948 [ ERROR]:spawn: libavdevice 58. 13.100 / 58. 13.100
2022-09-04 12:09:18.948 [ ERROR]:spawn: libavfilter 7.110.100 / 7.110.100
2022-09-04 12:09:18.948 [ ERROR]:spawn: libavresample 4. 0. 0 / 4. 0. 0
2022-09-04 12:09:18.948 [ ERROR]:spawn: libswscale 5. 9.100 / 5. 9.100
2022-09-04 12:09:18.948 [ ERROR]:spawn: libswresample 3. 9.100 / 3. 9.100
2022-09-04 12:09:18.948 [ ERROR]:spawn: libpostproc 55. 9.100 / 55. 9.100
2022-09-04 12:09:19.863 [ DEBUG]:service: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends: Status changed to [CA check]
2022-09-04 12:09:24.170 [ ERROR]:spawn: Input #0, mpegts, from 'http://XXXXXX.XXX:8080/XXXXX/XXXXXX/59030':
2022-09-04 12:09:24.170 [ ERROR]:spawn: Duration: N/A, start: 1350.000000, bitrate: N/A
2022-09-04 12:09:24.170 [ ERROR]:spawn: Program 1
2022-09-04 12:09:24.170 [ ERROR]:spawn: Metadata:
2022-09-04 12:09:24.170 [ ERROR]:spawn: service_name : Service01
2022-09-04 12:09:24.170 [ ERROR]:spawn: service_provider: FFmpeg
2022-09-04 12:09:24.170 [ ERROR]:spawn: Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
2022-09-04 12:09:24.170 [ ERROR]:spawn: Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 130 kb/s
2022-09-04 12:09:24.170 [ ERROR]:spawn: Output #0, mpegts, to 'pipe:1':
2022-09-04 12:09:24.170 [ ERROR]:spawn: Metadata:
2022-09-04 12:09:24.170 [ ERROR]:spawn: encoder : Lavf58.76.100
2022-09-04 12:09:24.170 [ ERROR]:spawn: Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
2022-09-04 12:09:24.170 [ ERROR]:spawn: Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 130 kb/s
2022-09-04 12:09:24.170 [ ERROR]:spawn: Stream mapping:
2022-09-04 12:09:24.170 [ ERROR]:spawn: Stream #0:0 -> #0:0 (copy)
2022-09-04 12:09:24.170 [ ERROR]:spawn: Stream #0:1 -> #0:1 (copy)
2022-09-04 12:09:24.170 [ ERROR]:spawn: Press [q] to stop, [?] for help
2022-09-04 12:09:24.170 [ ERROR]:spawn: frame= 1 fps=0.0 q=-1.0 size= 0kB time=00:00:00.00 bitrate= 0.0kbits/s speed= 11x
2022-09-04 12:09:24.170 [ DEBUG]:service: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends: Status changed to [Demuxed packets] [CA check]
2022-09-04 12:09:24.170 [ DEBUG]:service: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends: Status changed to [Demuxed packets] [Reassembled packets] [CA check]
2022-09-04 12:09:24.170 [ DEBUG]:webui: Start streaming /stream/mux/f4c39330ad210fa9942e2592e6d23926?ticket=5e14011a45fc78d9398dbe5cca9da1564d35a4dd
2022-09-04 12:09:24.170 [WARNING]:webui: Stop streaming /stream/mux/f4c39330ad210fa9942e2592e6d23926?ticket=5e14011a45fc78d9398dbe5cca9da1564d35a4dd, timeout waiting for packets
2022-09-04 12:09:24.171 [ INFO]:subscription: 0204: "HTTP" unsubscribing, hostname="::ffff:192.168.1.139", username="admin", client="VLC/3.0.17.3 LibVLC/3.0.17.3"
2022-09-04 12:09:24.171 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - close PID fullmux subscription [0003/0x5627536b8c90]
2022-09-04 12:09:24.171 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - stopping mux
2022-09-04 12:09:24.171 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - close PID 0000 (0) [20/0x5627592d2b70]
2022-09-04 12:09:24.171 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - close PID 0001 (1) [16/0x562759d91230]
2022-09-04 12:09:24.171 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - close PID 0010 (16) [20/0x5627542f49a0]
2022-09-04 12:09:24.171 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - close PID 0011 (17) [16/0x562756a4e5a0]
2022-09-04 12:09:24.171 [ DEBUG]:mpegts: jq2zy9wz89c556rdyxr5.m3u - UK-Alibi in TVLegends - close PID 0011 (17) [20/0x5627581ace40]
Not ure why it would't play. I made sure the new url in TVHeadend is all on one line when I copied it in. Is there a way to see the actual URL TVHeadend is using to open the mux?
Thanks.