Qnap [ ErsatzTV ] Stream custom live channels using your own media

@LennyM just recompiled Apache83 with the modification, use same link
works. Thanks!

Code:
Checking device /dev/dri/renderD128
Exit Code: 0

ffmpeg version 7.0.1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 8.5.0 (crosstool-NG 1.25.0 - QNAP)
  configuration: --prefix=/opt/Apache83 --bindir=/opt/Apache83/bin --libdir=/opt/Apache83/lib --datadir=/opt/Apache83/share --enable-gpl --enable-nonfree --enable-version3 --enable-shared --enable-static --enable-autodetect --enable-ffmpeg --enable-ffplay --enable-ffprobe --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --enable-libdrm --enable-vaapi --enable-libmfx --disable-libvpl --enable-vdpau --enable-cross-compile --pkg-config=pkg-config --ar=x86_64-QNAPGCC8-linux-gnu-ar --ranlib=x86_64-QNAPGCC8-linux-gnu-ranlib --host-cc=x86_64-QNAPGCC8-linux-gnu-gcc --host-os=Linux --host-cflags='-O2 -I/opt/Apache83/include -I/opt/Apache83/include/ncursesw -I/opt/Apache83/include/ncurses -I/opt/Apache83/include/libdrm -I/opt/Apache83/include/aom -I/opt/Apache83/include/opencv4 ' --host-cppflags='-O2 -I/opt/Apache83/include -I/opt/Apache83/include/ncursesw -I/opt/Apache83/include/ncurses -I/opt/Apache83/include/libdrm -I/opt/Apache83/include/aom -I/opt/Apache83/include/opencv4 ' --host-ld=x86_64-QNAPGCC8-linux-gnu-ld --host-ldflags='-L/opt/Apache83/lib -Wl,-rpath,/opt/Apache83/lib -Wl,-rpath,/lib -Wl,-rpath-link,/lib -lpulsecommon-16.99' --enable-libx265 --enable-libx264 --enable-libwebp --enable-libvpx --enable-libvorbis --enable-libvidstab --enable-libtwolame --enable-libtheora --enable-libtesseract --enable-libsrt --enable-libspeex --enable-librtmp --enable-libpulse --enable-libopus --enable-libopenjpeg --enable-libmp3lame --enable-libmodplug --enable-libilbc --enable-libgme --enable-libfribidi --enable-libfreetype --enable-libfontconfig --enable-libcdio --enable-libass --enable-gmp --enable-libxvid --enable-libbluray --enable-libfreetype --enable-fontconfig --enable-swscale --enable-avfilter --enable-muxer=mov --enable-muxer=mp4 --enable-muxer=ipod --enable-encoder=eac3 --enable-encoder=ac3 --enable-encoder=flac --enable-encoder=truehd --enable-encoder=dca --enable-bsf=aac_adtstoasc --enable-gcrypt --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-libxcb-shape --enable-libbluray --enable-libcaca --enable-libdav1d --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libilbc --enable-libkvazaar --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --disable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libsoxr --enable-libxvid --enable-libxml2 --enable-libzimg --enable-opengl --enable-openssl --enable-chromaprint --cc=x86_64-QNAPGCC8-linux-gnu-gcc --cxx=x86_64-QNAPGCC8-linux-gnu-g++
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
Input #0, lavfi, from 'nullsrc':
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: wrapped_avframe, yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (h264_qsv))
Press [q] to stop, [?] for help
[h264_qsv @ 0x1364c40] Using the constant quantization parameter (CQP) by default. Please use the global_quality option and other options for a quality-based mode or the b option and other options for a bitrate-based mode if the default is not the desired choice.
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf61.1.100
  Stream #0:0: Video: h264, nv12(progressive), 320x240 [SAR 1:1 DAR 4:3], q=2-31, 25 fps, 25 tbn
      Metadata:
        encoder         : Lavc61.3.100 h264_qsv
      Side data:
        cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
[out#0/null @ 0x1362c80] video:1KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame=   25 fps=0.0 q=33.0 Lsize=N/A time=00:00:00.92 bitrate=N/A speed=62.4x