NextPVR Forums

Full Version: Failed to get tuning params
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hello,

I have problems getting Live TV running.

My setup is the following:
Raspi 4 with openHABian and openHAB 3 running on it.
Technisat SkyStar USB HD tuner.
NextPVR Version: 5.2.7.220410

NextPVR is running, the tuner is detected, video folders are available with owner nextpvr and set correctly.

Channel scanning works and adapter0-DVB-S-channels.conf is created.
Code:
openhabian@openHABianDevice:/var/opt/nextpvr $ ls -al
total 944
drwxr-xr-x 7 nextpvr root      4096 May 16 12:42 .
drwxr-xr-x 3 root    root      4096 May 16 12:17 ..
-rw-r--r-- 1 nextpvr nextpvr 350659 May 16 12:36 adapter0-DVB-S-channels.conf
-rw-r--r-- 1 nextpvr nextpvr  19658 May 16 12:19 config.xml
-rw-r--r-- 1 nextpvr nextpvr  19666 May 16 12:19 config.xml.old
drwxr-xr-x 2 nextpvr nextpvr   4096 May 16 12:43 logs
drwxr-xr-x 4 nextpvr nextpvr   4096 May 16 12:17 media
-rw-r--r-- 1 nextpvr nextpvr 540672 May 16 12:42 npvr.db3
drwxr-xr-x 2 nextpvr nextpvr   4096 May 16 12:17 scripts
drwxr-xr-x 2 nextpvr nextpvr   4096 May 16 12:17 thumbs
drwxr-xr-x 3 nextpvr nextpvr   4096 May 16 12:17 web


When I then try to start live TV the following errors are shown: Streaming Failed (transcoder exited) or Failed to start requested stream


The log files show the following entry: [ERROR] Failed to get tuning params for (3sat) from /var/opt/nextpvr/adapter0-DVB-S-channels.conf

I reinstalled NextPVR two times now, but always the same result.

Does someone have any suggestions for me how to solve this problem.

Thanks in advance.
M4c


BTW:
I created a reduced tuning list (MyList). While scanning, the transponders from my tuning list are scanned, but afterwards all other transponders for Astra 19.2E are scanned as well. This is not my major problem, but I do not understand why scanning doesn't stop after my reduced tuning list transponders are scanned.
Don't reinstall, remove /var/opt/nextpvr/adapter0-DVB-S-channels.conf and all the channels from your tuner with the trash can (holding ctrl). Scan with your reduced file and if it doesn't work post the logs afterwards.

Martin
(2022-05-16, 12:52 PM)mvallevand Wrote: [ -> ]Don't reinstall, remove /var/opt/nextpvr/adapter0-DVB-S-channels.conf and all the channels from your tuner with the trash can (holding ctrl).  Scan with your reduced file and if it doesn't work post the logs afterwards.

Martin

Hi Martin,

I removed the .conf file, deleted the channels and the log files. Then, after a service restart, scanned again with my reduced file.
As mentioned in my fist post, scanning does not stop after my reduced transponder list is finished. Don't know where the scanner takes the other transpoder frequencies from.

Live TV fails with the same error. Log files are attached.



Quote:with the trash can (holding ctrl).
What difference does holding ctrl make for deleting the channels?

M4c
Please just use the log file logs-20220516-1655.zip. I cannot delete the other file.

M4c
Could you zip and upload the conf file?

If you don't hold the ctrl key you won't see the trash can.

Martin
Hi Martin,

attached the conf file as well as my reduced transponder list.


Quote:If you don't hold the ctrl key you won't see the trash can.


In the channels view as well as in the devices view the trash bin is available without holding the ctrl key in my version.

M4c
You are right about control key, sorry for the confusion. Sub will need to answer why dvb-s2 is not being found in the conf file.

Martin
(2022-05-16, 08:57 PM)mvallevand Wrote: [ -> ]You are right about control key, sorry  for the confusion.  Sub will need to answer why dvb-s2 is not being found in the conf file.

Martin

Thank you, Martin, for your quick help so far.

So let's wait and see if Sub can find some time to have a look into it.

M4c
Hi,

when I took a closer look at the conf file, I noticed that the FREQUENCY and the PILOT entries in the conf file are wrong. FREQUENCY is the same for lots of channels, PILOT is always "4294967295".

I then played around with dvbv5-scan and was able to create a correct conf file.
Code:
sudo dvbv5-scan -F -l UNIVERSAL /usr/share/dvb/dvb-s/MyList

I could also resolve the problem with the transponders scanned that are not in my reduced transponder file through using the option "-F".

I renamed the generated conf file to adapter0-DVB-S-channels.conf and copied it into /var/opt/nextpvr folder. Using dvbv5-zap I was able to tune the channels from this conf file:
Code:
dvbv5-zap -c adapter0-DVB-S-channels.conf 3sat -m

With this conf file I then tried to start Live TV in NextPVR. Still no picture, but frequency is now read from conf file. And I now get another error message:
Code:
2022-05-17 20:32:24:073 [DEBUG] got request:
POST /stream/start?slipseconds=1200&target=LIVE%26%2Fvideos%2Flivetv%2Flive-Das%20Erste-28531-10.ts HTTP/1.1
Host: localhost:38361
Connection: Keep-Alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 202

<tuning>
  <type>DVB-S</type>
  <name>Das Erste</name>
  <locator>
    <conf>11836000HORIZONTAL</conf>
  </locator>
  <service_id>28106</service_id>
  <service_type>27</service_type>
</tuning>

2022-05-17 20:32:24:073 [DEBUG] starting stream: LIVE&/videos/livetv/live-Das Erste-28531-10.ts
2022-05-17 20:32:24:073 [DEBUG] slip seconds: 1200
2022-05-17 20:32:24:073 [DEBUG]
Das Erste
2022-05-17 20:32:24:091 [INFO] Tuning: 11836000 Hz
2022-05-17 20:32:24:091 [INFO] Changing frequencies
2022-05-17 20:32:24:094 [INFO] Tuning: 11836000 Hz
2022-05-17 20:32:24:095 [ERROR] dvb_fe_set_parms failed
2022-05-17 20:32:24:095 [ERROR] Failed to start stream

M4c
Hi,

here another update:

After a NextPVR service restart LiveTV, as well as EPG and recording, is now working.

So for me it looks like there is a problem with the conf file gerenation during DVB-S scanning.

M4c
Pages: 1 2 3