Hi, I'm at my wits' end with this feeling like I've tried everything so I'm hoping someone may be able to help please.
I've recently bought a mini PC with an Intel N100 which I'm hoping to use for NextPVR and Jellyfin with a Hauppauge WinTV DualHD. Initially I started off using Debian but have swapped to Ubuntu 22.04 LTS trying to see if it might help with my issue (below).
Where I've got to is that the official NextPVR docker container is fine with the default kernel (5.15) of Ubuntu 22.04. The quality is decent and everything in NextPVR seems to work but I've obviously got no QuickSync for either NextPVR or Jellyfin to use. My problem seems to come about when I upgrade my kernel to one which will play nice with the N100 for Quicksync. As soon as I start watching DVB-T2 channels through NextPVR they're unwatchable due to corruption (see attached image).
I've tried a few different kernels (5.17, 5.19, 6.5 to name a few) and this happens straight away with them because they have support for the N100. 5.15 is the only one I've had fine initially until I add the Intel drivers into the mix. I've tried the docker container from Ranbato which uses ffmpeg 5 as well as bulding my own with ffmpeg 6 and the Intel drivers (which is the only way I ccould get vainfo in the NextPVR container to work) but no luck for this issue, which I should add is only an issue for DVB-T2.
Most strangely recordings seem to come out ok and watching another channel while that recording is going on seems to be better but not perfect still.
None of this seems to change whether I'm using CPU or VAAPI transcoding though the VAAPI output is a lot lower quality with horrible interlacing (seemingly at least on live tv, I think recordings are ok or aren't as bad).
I can see these errors in the logs which seem to be showing the corruption but I'm completely at a loss as to how to solve this.
Quote:[28] [FFMPEG]: [h264 @ 0x55de9dfd0140] concealing 3074 DC, 3074 AC, 3074 MV errors in B frame
[36] [FFMPEG]: [h264 @ 0x55de9e086e40] cabac decode of qscale diff failed at 92 37
[36] [FFMPEG]: [h264 @ 0x55de9e086e40] error while decoding MB 92 36, bytestream 1185
[36] [FFMPEG]: [h264 @ 0x55de9e086e40] concealing 3797 DC, 3797 AC, 3797 MV errors in B frame
I've attached logs with a brand new container where I've used just one of the tuners to scan for channels and started watching BBC 1 HD which then presents the issue.
Posted by: sweh - 2023-09-26, 12:54 AM - Forum: Linux
- Replies (22)
So I'm a n00b at this software. Indeed a n00b at OTA recording in general. A Linux geek, but a n00b here :-)
I have a Hauppauge "WinTV DualHD" USB device, and I'm running on Debian 12. It appears all the necessary drivers are present OOB because the controller shows up.
In NextPVR I can pick "adapter0/frontend0 (LG Electronics LGDT3306A VSB/QAM Frontend)" and tell it to scan, and it finds 86 channels; close enough to what my TV found with the antenna plugged into that. Since it's a dual tuner I duplicated that to adapter1/...
And that's good; I can tune to channels and it works. I can watch TV; yay!
So now the EPG problem.
I configured each channel via AutoMap "ATSC" "DVB/ATSC EPG" "Numbers and Identifiers".
Based on comments I saw on this forum I also adjusted the timeout to be 120 seconds, but I'm not sure that's important.
I then do an Update EPG. And I can see it scanning.
The device adapter log shows activity
eg
Code:
2023-09-25 20:42:33:416 [DEBUG] ProcessRequest@1
2023-09-25 20:42:33:416 [DEBUG] ProcessRequest@2
2023-09-25 20:42:33:416 [DEBUG] ProcessRequest@done
2023-09-25 20:42:33:423 [DEBUG] Got table_id=c7
2023-09-25 20:42:33:423 [DEBUG] Got MGT
2023-09-25 20:42:33:423 [INFO] Removing all PIDs
2023-09-25 20:42:33:424 [DEBUG] Reading VCT
2023-09-25 20:42:33:681 [DEBUG] - WCBS-HD (source_id=0x1)
2023-09-25 20:42:33:681 [DEBUG] - STARTTV (source_id=0x2)
2023-09-25 20:42:33:681 [DEBUG] - DABL (source_id=0x3)
2023-09-25 20:42:33:681 [DEBUG] - FAVE-TV (source_id=0x4)
2023-09-25 20:42:33:681 [DEBUG] - CIRCLE (source_id=0x5)
2023-09-25 20:42:33:682 [DEBUG] EIT-0: 0x1388
2023-09-25 20:42:33:682 [DEBUG] EIT-1: 0x1389
...
2023-09-25 20:42:33:705 [DEBUG] ETT-22: 0x141e
2023-09-25 20:42:33:705 [DEBUG] ETT-23: 0x141f
2023-09-25 20:42:38:423 [DEBUG] Received 133668 bytes from device so far
2023-09-25 20:42:43:480 [DEBUG] Received 150212 bytes from device so far
2023-09-25 20:42:48:538 [DEBUG] Received 252296 bytes from device so far
2023-09-25 20:42:48:716 [DEBUG] EPG collection thread exiting
2023-09-25 20:42:48:716 [DEBUG] @exit
2023-09-25 20:42:53:545 [DEBUG] Received 268840 bytes from device so far
2023-09-25 20:42:58:603 [DEBUG] Received 314900 bytes from device so far
...
2023-09-25 20:44:24:278 [DEBUG] Received 1057500 bytes from device so far
2023-09-25 20:44:29:336 [DEBUG] Received 1158456 bytes from device so far
2023-09-25 20:44:32:290 [INFO] received request
2023-09-25 20:44:32:290 [DEBUG] about to process request...
2023-09-25 20:44:32:290 [DEBUG] got 75 bytes
2023-09-25 20:44:32:290 [DEBUG] got request:
Hi NextPVR devs - I have noticed that after 5 - 7 days, my hauppage adapter will fail to play antenna (ATSC) channels. Restarting NextPVR always fixes the issue. Please help me diagnose this .
Attaching logs, let me know if you need anything else!
FWIW this seems to be the relative part of the logs from what I can tell -
Thought I had better make a new thread.
This is a follow on to the Windows 10 vs 11 thread.
I believe I have discovered a way to resolve the micro-stutter issue mentioned in the other thread.
As mentioned, I am having problems playing back STB recordings in Kodi.
The thought occurred to me that if Kodi has issues playing back the TS files, what would happen if I converted to a different format.
I tried the following using the FFmpeg in NextPVR/Other folder.
It created a new mp4 file in around 10 seconds on my rig.
When I tested the above file in Kodi, to my surprise it plays perfectly, and does not exhibit the micro-stutters that the original TS recording has.
I am wondering if I can use postprocessing.bat to issue the above ffmpeg conversion automatically?, OR could I use the transcoding feature of NextPVR.
I am thinking postprocessing would be best, as I believe it is not recoding the original video.
Only recently my NEXTPVR server has been playing my channels back in a stuttered and pixelated manner. I thought it may have been my upgrade to Windows 11 but so I switched to my spare Win10 pc to test. Same thing unfortunately.
I recently upgraded to Version: 6.1.4.230625, and I started noticing some long cpu usage going on after programs recorded.
I saw that ffmpeg was converting my antenna stream to .mp4, which is awesome -- I wanted this because I set the option for "Recording Auto Transcode" to 1080p (.mp4) on the Transcode settings. The thing is that the ffmpeg process is still running after 2.5 hours on my machine.
I would like to change the options that are used to run ffmpeg in this case to use a pre-defined profile (e.g. ultrafast). Can I do that?
Attached are the logs. Search for "2023-09-19 12:02:00.404"
I am testing a new NextPVR server but when I connect to it with one of my "New Clients" I now get four extra menu items of no use to me! Is there a way to delete the extra menu items, Live TV, Music, Videos & Pictures? I presume this is something new in the latest version of NextPVR as I am still using the previous version on my live server.
Hi
I'm running NextPVR 6.1.4.230625 and Kodi's NextPVR PVR Client v20.4.3.
I have Kodi running on both Windows and Android and they all have lost listings for Channel 4 HD on Freeview. The NextPVR web client shows the the full guide as you'd expect.
I've tried emptying and rescanning the EPG but that's not made any difference; I've run out of ideas to investigate this.
Hello, I can't view Rai Italian channels on NextPVR, but I made a test and I can view them with other software (for example they work on Kodi IPTV Simple Client).
Hi All
I've just bought a Sharp 50DL2KA "smart" TV.
I've installed Kodi - no prob but when I try and install the NextPVR add on I get 'app failed to load' (Tried a few times)
Am I trying to achieve something that simply will not work?