As my Nexstar CBS station and my primary video provider are in a fight, it has become important that I be able to get to the OTA feed. The ATSC 1.0 signal doesn't reach my home well, but the ATSC 3.0 antenna is really close. There doesn't seem to be an issue acquiring the feed from the Silicon Dust tuner, the log says:
2023/07/03 23:29:30.002607 [DVR] Starting job 1688426970-ch107.1 7News at 7:30PM on ch=[107.1]
2023/07/03 23:29:30.003512 [DVR] Waiting 3h29m59.99650476s until next job 1688439570-2 WYFF News 4 at 11pm
2023/07/03 23:29:32.456985 [TNR] Opened connection to 10A420E8/0 for ch107.1 WSPA
2023/07/03 23:29:32.457406 [DVR] Recording for job 1688426970-ch107.1 from 10A420E8 ch107.1 into "TV/7News at 730PM/7News at 730PM 2023-07-03-2329.mpg" for 33m29.997111531s
2023/07/03 23:29:33.331636 [DVR] Refreshing metadata for 7News at 7:30PM (15310892)
2023/07/03 23:29:35.131191 [IDX] Generating video index for job 1688426970-ch107.1
but when the program was over, the following is in the log
2023/07/04 00:03:01.721151 [DVR] Processing file-355: TV/7News at 730PM/7News at 730PM 2023-07-03-2329.mpg
2023/07/04 00:03:01.721360 [DVR] Waiting 2h56m28.278645067s until next job 1688439570-2 WYFF News 4 at 11pm
2023/07/04 00:03:03.271545 [DVR] Running commercial detection on file 355 (TV/7News at 730PM/7News at 730PM 2023-07-03-2329.mpg)
2023/07/04 00:34:04.048870 [ENC] Starting encoder for 7News at 730PM 2023-07-03-2329.mpg in /channels-dvr/DVR/Streaming/file355-ip192.168.1.106-3088717204/encoder-0-3474318247 at 0 (0.000000) (encoder=h264_vaapi, resolution=1080, deinterlacer=hardware, bitrate=9488, segment_size=0.01)
2023/07/04 00:34:13.351097 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x8d2c640] No support for codec hevc profile 2.
2023/07/04 00:34:13.352031 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x8d2c640] Failed setup for format vaapi: hwaccel initialisation returned error.
2023/07/04 00:34:43.415303 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x8d2c640] No support for codec hevc profile 2.
2023/07/04 00:34:43.451061 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x8d2c640] Failed setup for format vaapi: hwaccel initialisation returned error.
2023/07/04 00:35:12.253760 [ENC] No segments have been generated in 20.064058722s. Stopping transcoder.
2023/07/04 00:35:12.933767 [ENC] Encoder stopped for 7News at 730PM 2023-07-03-2329.mpg in /channels-dvr/DVR/Streaming/file355-ip192.168.1.106-3088717204/encoder-0-3474318247 after starting from 0 without encoding any segments
2023/07/04 00:35:12.963852 [ENC] Starting encoder for 7News at 730PM 2023-07-03-2329.mpg in /channels-dvr/DVR/Streaming/file355-ip192.168.1.106-3088717204/encoder-0-2976120044 at 0 (0.000000) (encoder=h264_vaapi, resolution=1080, deinterlacer=hardware, bitrate=9488, segment_size=0.01)
Later, when I tried to watch it, the wheel of wait spun indefinitely, and this was in the log
2023/07/04 00:35:22.252099 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x7ff9640] No support for codec hevc profile 2.
2023/07/04 00:35:22.252823 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x7ff9640] Failed setup for format vaapi: hwaccel initialisation returned error.
2023/07/04 00:35:25.828008 [ENC] Stopped encoder for 7News at 730PM 2023-07-03-2329.mpg in /channels-dvr/DVR/Streaming/file355-ip192.168.1.106-3088717204/encoder-0-2976120044 after encoding 0 to 0
TOP showed a commercial detect process taking 100% of one of my 4 cores. While I was getting ready to submit this, the commercial detect process seems to have completed, and now when I try to watch the program, it works. But the commercial detect wasn't very good, plenty of false negative and false positive. But at least I can watch it. The log now shows:
2023/07/04 00:41:01.810620 [DVR] Commercial detection for 7News at 730PM 2023-07-03-2329.mpg finished with 4 markers in 37m58.539218642s.
2023/07/04 00:44:34.094356 [ENC] Starting encoder for 7News at 730PM 2023-07-03-2329.mpg in /channels-dvr/DVR/Streaming/file355-ip192.168.1.106-3359933698/encoder-0-2096025391 at 0 (0.000000) (encoder=h264_vaapi, resolution=1080, deinterlacer=hardware, bitrate=9488, segment_size=0.01)
2023/07/04 00:44:34.258882 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x8668640] No support for codec hevc profile 2.
2023/07/04 00:44:34.258903 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x8668640] Failed setup for format vaapi: hwaccel initialisation returned error.
2023/07/04 00:44:34.779430 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x8668640] No support for codec hevc profile 2.
2023/07/04 00:44:34.779620 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x8668640] Failed setup for format vaapi: hwaccel initialisation returned error.
2023/07/04 00:44:35.322097 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x8668640] No support for codec hevc profile 2.
2023/07/04 00:44:35.322128 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x8668640] Failed setup for format vaapi: hwaccel initialisation returned error.
2023/07/04 00:44:35.829023 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x8668640] No support for codec hevc profile 2.
2023/07/04 00:44:35.829128 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x8668640] Failed setup for format vaapi: hwaccel initialisation returned error.
2023/07/04 00:44:36.399798 [HLS] ffmpeg: file355-ip192.168.1.106: [hevc @ 0x8668640] No support for codec hevc profile 2.
(These last two lines repeat over and over again with different times, although, as I said, I was able to watch the program).
What's going on here?
