NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 13 14 15 16 17 … 34 Next »
(Some) Satellite channels not working : Writer failed to get PMT pid

 
  • 0 Vote(s) - 0 Average
(Some) Satellite channels not working : Writer failed to get PMT pid
cheeseborough
Offline

Junior Member

UK
Posts: 1
Threads: 1
Joined: Apr 2022
#1
2022-04-10, 12:13 PM
I have a machine running Ubuntu Server 20.04 with a TBS 5521 connected to a Sky satellite dish. Actually most TV channels are working fine - I have a good signal, clear pictures and reliable streams. However, some channels fail to work. Looking at the logs, the main difference between a working channel and one that doesn't is this message: [ERROR] Writer failed to get PMT pid

The device-adapter log is here:
Code:
2022-04-10 12:42:50:757 [DEBUG] got request:
POST /stream/start?slipseconds=1200&target=LIVE%26%2Fvideo%2Fnextpvr%2Flive-Film4-37188-2.ts HTTP/1.1
Host: localhost:41393
Connection: Keep-Alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 197

<tuning>
  <type>DVB-S</type>
  <name>Film4</name>
  <locator>
    <conf>11307000HORIZONTAL</conf>
  </locator>
  <service_id>8385</service_id>
  <service_type>27</service_type>
</tuning>

2022-04-10 12:42:50:757 [DEBUG] starting stream: LIVE&/video/nextpvr/live-Film4-37188-2.ts
2022-04-10 12:42:50:757 [DEBUG] slip seconds: 1200
2022-04-10 12:42:50:757 [DEBUG]
Film4
2022-04-10 12:42:50:771 [INFO] Tuning: 10936000 Hz
2022-04-10 12:42:50:771 [INFO] Changing frequencies
2022-04-10 12:42:51:019 [INFO] Tuning: 10936000 Hz
2022-04-10 12:42:51:129 [INFO] using demux 'dvb0.demux0'
2022-04-10 12:42:51:129 [INFO] using dvr 'dvb0.dvr0'
2022-04-10 12:42:51:129 [DEBUG] waiting for signal lock
2022-04-10 12:42:51:206 [DEBUG] status 00 | quality 00 | signal ffff67a8 | snr 0000 | ber 00000000 | unc 00000000 | pre_ber 00000000 | per 00000000 |
2022-04-10 12:42:51:235 [DEBUG] status 00 | quality 00 | signal ffff67a8 | snr 0000 | ber 00000000 | unc 00000000 | pre_ber 00000000 | per 00000000 |
2022-04-10 12:42:51:263 [DEBUG] status 1f | quality 00 | signal ffff67a8 | snr 416e | ber 00000000 | unc 00000000 | pre_ber 00000000 | per 00000000 |
2022-04-10 12:42:51:263 [DEBUG] FE_HAS_LOCK
2022-04-10 12:42:51:263 [INFO] Creating writer for: LIVE&/video/nextpvr/live-Film4-37188-2.ts (live mode)
2022-04-10 12:42:51:263 [DEBUG] mutex would be: Global\NPVR-mutex-4b5783f53a08fd3a6538e1d494174e83
2022-04-10 12:42:51:263 [DEBUG] Created shared memory
2022-04-10 12:42:51:405 [ERROR] Writer failed to get PMT pid
2022-04-10 12:42:51:405 [INFO] Stopped recording (/video/nextpvr/live-Film4-37188-2.ts)
2022-04-10 12:42:51:456 [INFO] received request
2022-04-10 12:42:51:456 [DEBUG] got request:
GET /stream/stop?handle=1 HTTP/1.1
Host: localhost:41393
Connection: Keep-Alive


2022-04-10 12:42:51:456 [DEBUG] stopped stream 1
2022-04-10 12:42:51:456 [DEBUG] No more streams active.
2022-04-10 12:42:51:456 [DEBUG] Stopping device...
2022-04-10 12:42:51:456 [DEBUG] Stopped

The nrecord log:
Code:
2022-04-10 12:42:50.244    [DEBUG][41]    Checking XBMC sid: ea7d6908a6d247859d9c46f9aeb2f6dd
2022-04-10 12:42:50.244    [DEBUG][41]    StreamNative@1..
2022-04-10 12:42:50.244    [DEBUG][41]    StreamNative@2
2022-04-10 12:42:50.244    [DEBUG][41]    StreamNative@3
2022-04-10 12:42:50.244    [DEBUG][41]    StreamNative@4
2022-04-10 12:42:50.244    [DEBUG][41]    StreamNative@5
2022-04-10 12:42:50.244    [DEBUG][41]    StreamNative@6
2022-04-10 12:42:50.244    [DEBUG][41]    StreamNative@7...
2022-04-10 12:42:50.244    [DEBUG][41]    StreamNative@previous-handle = 1507329
2022-04-10 12:42:50.244    [DEBUG][41]    StreamNative@8 (/video/nextpvr/live-Film4-37188-2.ts)
2022-04-10 12:42:50.244    [DEBUG][41]    about to start stream...
2022-04-10 12:42:50.244    [DEBUG][41]    StartStream(7941:Film4)
2022-04-10 12:42:50.244    [DEBUG][41]    checking if previous capture source can be reused
2022-04-10 12:42:50.244    [DEBUG][41]    checking if previous capture source can be reused
2022-04-10 12:42:50.245    [DEBUG][41]    About to change frequencies...will stop existing handles
2022-04-10 12:42:50.245    [DEBUG][41]    http://localhost:41393/stream/start?slipseconds=1200&target=LIVE%26%2Fvideo%2Fnextpvr%2Flive-Film4-37188-2.ts
2022-04-10 12:42:50.245    [DEBUG][41]    body:
<tuning>
  <type>DVB-S</type>
  <name>Film4</name>
  <locator>
    <conf>11307000HORIZONTAL</conf>
  </locator>
  <service_id>8385</service_id>
  <service_type>27</service_type>
</tuning>

2022-04-10 12:42:50.608    [ERROR][41]    Unexpected error on LocalRecorder.StartStream(): System.Net.WebException: The remote server returned an error: (500) OK.
   at System.Net.HttpWebRequest.GetResponse()
   at System.Net.WebClient.GetWebResponse(WebRequest request)
   at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
   at System.Net.WebClient.UploadBits(WebRequest request, Stream readStream, Byte[] buffer, Int32 chunkSize, Byte[] header, Byte[] footer)
   at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
   at System.Net.WebClient.UploadString(Uri address, String method, String data)
   at NShared.LocalRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
2022-04-10 12:42:50.608    [DEBUG][41]    Stopping handles from last frequency
2022-04-10 12:42:50.609    [DEBUG][41]    http://localhost:41393/stream/stop?handle=1
2022-04-10 12:42:50.657    [ERROR][41]    Unable to SwitchStream. Reason: The remote server returned an error: (500) OK.
2022-04-10 12:42:50.657    [DEBUG][41]    SwitchStream not possible
2022-04-10 12:42:50.657    [DEBUG][41]    stopping previous handle
2022-04-10 12:42:50.657    [DEBUG][41]    http://localhost:41393/stream/stop?handle=1
2022-04-10 12:42:50.708    [DEBUG][41]    looking for capture source (in reverse priority order)
2022-04-10 12:42:50.708    [DEBUG][41]    checking: IPTV (http://...)
2022-04-10 12:42:50.708    [DEBUG][41]    checking: adapter0/frontend0 (TurboSight TBS 5520SE DVB-T/T2/C/C2/ISDB-T)
2022-04-10 12:42:50.708    [DEBUG][41]    checking: adapter0/frontend0 (TurboSight TBS 5520SE DVB-T/T2/C/C2/ISDB-T)
2022-04-10 12:42:50.708    [DEBUG][41]    enabled and present
2022-04-10 12:42:50.708    [DEBUG][41]    does not have channel
2022-04-10 12:42:50.708    [DEBUG][41]    checking: adapter0/frontend1 (TurboSight TBS 5520SE DVB-S/S2/S2X)
2022-04-10 12:42:50.708    [DEBUG][41]    enabled and present
2022-04-10 12:42:50.708    [DEBUG][41]    has channel
2022-04-10 12:42:50.709    [DEBUG][41]    live tv is possible
2022-04-10 12:42:50.709    [DEBUG][41]    http://localhost:41393/stream/start?slipseconds=1200&target=LIVE%26%2Fvideo%2Fnextpvr%2Flive-Film4-37188-2.ts
2022-04-10 12:42:50.709    [DEBUG][41]    body:
<tuning>
  <type>DVB-S</type>
  <name>Film4</name>
  <locator>
    <conf>11307000HORIZONTAL</conf>
  </locator>
  <service_id>8385</service_id>
  <service_type>27</service_type>
</tuning>

2022-04-10 12:42:51.407    [ERROR][41]    Unexpected error on LocalRecorder.StartStream(): System.Net.WebException: The remote server returned an error: (500) OK.
   at System.Net.HttpWebRequest.GetResponse()
   at System.Net.WebClient.GetWebResponse(WebRequest request)
   at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
   at System.Net.WebClient.UploadBits(WebRequest request, Stream readStream, Byte[] buffer, Int32 chunkSize, Byte[] header, Byte[] footer)
   at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
   at System.Net.WebClient.UploadString(Uri address, String method, String data)
   at NShared.LocalRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
2022-04-10 12:42:51.407    [ERROR][41]    Unable to StartStream(): The remote server returned an error: (500) OK.
2022-04-10 12:42:51.407    [DEBUG][41]    StartStream(7941:Film4, LIVE&/video/nextpvr/live-Film4-37188-2.ts) allocated handle: 0
2022-04-10 12:42:51.407    [DEBUG][41]    Handle: 0
2022-04-10 12:42:51.407    [DEBUG][41]    Failed to start stream. Handle 0.
2022-04-10 12:42:51.407    [DEBUG][37]    StopStream(1507329)...
2022-04-10 12:42:51.407    [DEBUG][37]    clientHandle[XBMC-ea7d6908a6d247859d9c46f9aeb2f6dd] = 1507329
2022-04-10 12:42:51.407    [DEBUG][37]    Calling StopStream()
2022-04-10 12:42:51.409    [DEBUG][37]    http://localhost:41393/stream/stop?handle=1
2022-04-10 12:42:51.457    [DEBUG][37]    StopStream() done


My understanding is that the system is getting a lock on the signal, its failing to set up the transcoding part of the pipeline.
Does anyone have any advice as to where to look next in tracking down this fault?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,820
Threads: 954
Joined: May 2006
#2
2022-04-10, 01:26 PM (This post was last modified: 2022-04-10, 01:56 PM by mvallevand.)
Because it is both tuners, I don't think nothing can do anything to help. Can you create a recording on this channel manually using dvbv5 tools?

dvbv5-zap -c /var/opt/nextpvr/adapter1-ATSC-channels.conf Film4 -r

and from another session

cp /dev/dvb/adapter0/dvr0 film4.ts

Note: you probably will need to stop or restart the NextPVR service to free up the tuner.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  No DVB-T channels found Steu851 3 243 2025-05-03, 04:37 PM
Last Post: Steu851
  NextPVR can't open RAI (Italian main TV channels) links f2fg 17 2,940 2025-03-29, 10:15 AM
Last Post: alice_anto
  Server crash changing channels VCR58 7 527 2025-03-27, 03:17 PM
Last Post: VCR58
  Linux install failed -- permission denied? FrogFan 4 411 2025-03-26, 12:39 AM
Last Post: FrogFan
  complete scanning of channels not possible evil666 84 3,475 2024-12-21, 05:58 PM
Last Post: mvallevand
  deleting channels Linox 7 480 2024-12-01, 12:27 PM
Last Post: Linox
  no epg in many channels alda 20 1,342 2024-11-29, 03:14 AM
Last Post: sub
  [Failed: No errors, but no data delivered. This is usually because the device failed Bobthegoldfish 3 282 2024-11-29, 12:49 AM
Last Post: mvallevand
  NextPVR i.mjh.nz [Failed: Recording interrupted] Nzbaxterman 6 688 2024-10-29, 11:44 PM
Last Post: sub
  Scanning Channels Failure how 13 971 2024-09-21, 11:44 PM
Last Post: how

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode