PVR deinterlacing - Intel
#1
Hi All, I'm having a bad time setting up proper deinterlacing on my new NUC7i3BNH. I already have tried Kodi 18 on:

Windows 10 with DXVA2 enabled and deinterlacing set to DXVA
Ubuntu 18.04 with VAAPI enabled and deinterlacing set to VAAPI-MC, VAAPI-MA and VAAPI-Bob
Libreelec 9.x with VAAPI enabled and deinterlacing set to VAAPI-MC, VAAPI-MA and VAAPI-Bob

All those configurations give a quite poor video quality on SD channels. Disabling hardware acceleration and checking all possible deinterlacing methods give not much improovement in video quality. I compere video quality to my old AMD system with Kodi 16.1 installed on Windows 8.1 with DXVA2 enabled and deinterlacing set to DXVA - video quality of deinterlaced SD channels are almost perfect.

So I am wondering if the issue is specific to the Intel platform, can some people using Intel NUC let me know thier configurations and how deinterlacing works on thier systems?
Or maybe this is issue with Kodi 18 still in alpha stage which I think is less likely as I forgot to mention that I have tested Kodi 17.6 with the same efect.

Please let me know your experiance with deinterlacing, all input is much appriciated as I am running out of ideas.

Thanks.
Reply
#2
ffmpeg's deinterlacer "deinterlace" has good quality. Maybe your observations are not related to deinterlacing but upscaling. What method did you select?
Reply
#3
Lanchos2-Optimised but also tried the other ones. The thing is that video seems to be partialy interalaced no matter what deinterlace method I choose where on Kodi 16.1 on AMD APU thre is no signs of interlacing when DXVA is selected on the same channel.
Reply
#4
Could you please provide a Debug Log? You said you use Lanczos2, this puts quite heavy load on the GPU, especially if you upscale from 576i to let's say 4k.

Depending on the log I would also suggest do use Lanczos3 Optimized as upscaling filter. For v18 we improved its speed heavily.

Could you describe the worse quality a bit? Is it stutter? is it not fully deinterlaced? Tearing?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
Hi, here is a link to: Log

Main issue for me is that the video is not fully deinterlaced. Please see screenshot: Screen
Look at the shoulder of the man in blue for example.
Also tried Lanczos3 Optimized with not much improovment.
Thanks,
Reply
#6
Can you reproduce with this sample: http://solidrun.maltegrosse.de/~fritsch/burosch1.mpg <- or all fine here?

Edit: And as you are using tvheadend (we always have to ask the question), are recordings fine that you play via Files?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#7
Well, your file seems to be deinterlaced properly and it looks the same on Kodi 16.1 and 18 alpha.
When it comes to my livetv/recordings then no matter if I play live TV or play recording or browse to the actual file it all look the same - not fully deinterlaced.
Thanks
Reply
#8
Can you share a short recording? I would like to reproduce the issue here.
Reply
#9
Here you go: link


Thanks.
Reply
#10
Quote:[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] SPS unavailable in decode_picture_timing
[h264 @ 0x55d1351b46c0] non-existing PPS 0 referenced
[h264 @ 0x55d1351b46c0] decode_slice_header error
[h264 @ 0x55d1351b46c0] no frame!
[mpegts @ 0x55d1351b0080] PES packet size mismatch
    Last message repeated 1 times
Input #0, mpegts, from 'test.ts':
  Duration: 00:00:31.32, start: 26968.997711, bitrate: 2435 kb/s
  Program 1 
    Metadata:
      service_name    : TVP SERIALE
      service_provider: nc+
    Stream #0:0[0xa7]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x6c](pol): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
    Stream #0:2[0x6d](pol): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 160 kb/s (visual impaired)
    Stream #0:3[0x1fc](pol): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250

Not sure what I should tell you :-(
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#11
Not sure what you mean. Is the video itself corrupted? Funnily enough this sample plays fine in Kodi 16.1 and also in VLC, MediaPlayer and KMPlayer. So why it looks no fully deinterlaced in Kodi 18?
Reply
#12
(2018-07-14, 13:35)nhsman Wrote: Not sure what you mean. Is the video itself corrupted? Funnily enough this sample plays fine in Kodi 16.1 and also in VLC, MediaPlayer and KMPlayer. So why it looks no fully deinterlaced in Kodi 18?
 That is a good question. I played it here with kodi from the command line. It seems either my eyes are bad or I could not really see the interlacing. I "think" when looking on the logo icon I might have seen something. Anyways - I need to log out the PTS from VAAPI to see what is going on.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#13
Thanks for helping with this. When I play that file in VLC with deinterlacing disabled it looks just fine - no signs of interlacing. It just looks interlaced on that NUC in Kodi 18 :-(
Could this be Intel related problem?
Reply
#14
(2018-07-14, 14:12)nhsman Wrote: Thanks for helping with this. When I play that file in VLC with deinterlacing disabled it looks just fine - no signs of interlacing. It just looks interlaced on that NUC in Kodi 18 :-(
Could this be Intel related problem?
 I don't think so. Therefore: Could you please disable VAAPI (or DXVA if you are on windows) and enable "Deinterlace" as deinterlacer? Still broken then?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#15
Same result. But if I set it to OFF the video quality is the same as when it's set to 'Deinterlace'.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
PVR deinterlacing - Intel00