My configuration:
HTS Tvheadend 4.3-1857
Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-76-generic x86_64)
DVB-C with 4x Xbox One DVB-T/T2/C tuner
VAAPI i915 v1.6.0 (/dev/dri/renderD128)
In short I have the following configuration:
With hardware profile, all DVB-C channels on QAM64 tp work perfectly.
On QAM256 TPs errors occur and after a while the h264 hardware decoder is blocked until the channel is changed.
If I uncheck Hardware acceleration the viewing can be done despite the stream errors.
It is obvious that the problem comes from the USB tuner or more precisely from the drivers, but there could be a change in the TVH to restart the Video stream in libav.
Attach a log:
02:52:07.439 libav: AVCodecContext: reference picture missing during reorder
02:52:07.439 libav: AVCodecContext: Missing reference picture, default is 66123
02:52:07.771 libav: AVCodecContext: mmco: unref short failure
02:52:24.677 TS: DIGI/442MHz/DIGI Sport 3 HD: H264 @ #1711 Continuity counter error (total 2)
02:52:36.939 TS: DIGI/442MHz/DIGI Sport 3 HD: H264 @ #1711 Continuity counter error (total 3)
02:52:37.002 libav: AVCodecContext: Found reference and non-reference fields in the same frame , which
02:52:37.002 libav: AVCodecContext: is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
02:52:37.002 libav: AVCodecContext: If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
02:52:37.002 libav: AVCodecContext: decode_slice_header error
02:52:37.002 libav: AVCodecContext: Failed to upload decode parameters: 18 (invalid parameter).
02:52:37.002 libav: AVCodecContext: Failed to end picture decode after error: 18 (invalid parameter).
02:52:37.002 libav: AVCodecContext: hardware accelerator failed to decode picture
09:37:13.088 libav: AVCodecContext: Missing reference picture, default is 95603
09:37:13.230 libav: AVCodecContext: reference picture missing during reorder
09:37:13.230 libav: AVCodecContext: Missing reference picture, default is 95610
09:37:13.347 libav: AVCodecContext: reference picture missing during reorder
09:37:13.347 libav: AVCodecContext: Missing reference picture, default is 95618
09:37:13.347 libav: AVCodecContext: mmco: unref short failure
09:39:04.717 TS: DIGI/442MHz/Channel HD: H264 @ #1711 Continuity counter error (total 9)
09:39:04.813 libav: AVCodecContext: Found reference and non-reference fields in the same frame, which
09:39:04.813 libav: AVCodecContext: is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
09:39:04.813 libav: AVCodecContext: If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
09:39:04.813 libav: AVCodecContext: decode_slice_header error
09:39:04.813 libav: AVCodecContext: Failed to upload decode parameters: 18 (invalid parameter).
09:39:04.813 libav: AVCodecContext: Failed to end picture decode after error: 18 (invalid parameter).
09:39:04.813 libav: AVCodecContext: hardware accelerator failed to decode picture