NextPVR Forums

Full Version: v5.0.5 not recording: failed to start stream
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Code:
2020-05-23 19:29:00.155 [DEBUG][9] DefaultDirectoryChoice: spread
2020-05-23 19:29:00.155 [DEBUG][9] Preferred filename is 'Bob.Vilas.Home.Again.S14E06.Waterfront.Warehouse.Rehab:.Interior.Construction.&.Skylight.Install'
2020-05-23 19:29:00.156 [DEBUG][9] allocating recording target filename: /home/rkulagow/recordings/Bob Vilas Home Again/Season 14/Bob.Vilas.Home.Again.S14E06.Waterfront.Warehouse.Rehab.Interior.Construction.&.Skylight.Install.ts
2020-05-23 19:29:00.156 [DEBUG][9] About to start recording (851 on 21): /home/rkulagow/recordings/Bob Vilas Home Again/Season 14/Bob.Vilas.Home.Again.S14E06.Waterfront.Warehouse.Rehab.Interior.Construction.&.Skylight.Install.ts...
2020-05-23 19:29:00.156 [DEBUG][9] (Recording is due to be stopped at 5/23/2020 8:00 PM)
2020-05-23 19:29:00.156 [DEBUG][9] HDHomeRunRecorder.StartStream()
2020-05-23 19:29:00.156 [DEBUG][9] ipaddress is 192.168.10.168
2020-05-23 19:29:00.156 [DEBUG][9] About to load channel from tuning
2020-05-23 19:29:00.157 [DEBUG][9] source@1
2020-05-23 19:29:00.157 [DEBUG][9] Requesting: http://192.168.10.168:5004/tuner0/v2.3
2020-05-23 19:29:00.167 [ERROR][9] Failed to start stream: System.NullReferenceException: Object reference not set to an instance of an object.
  at NShared.Shim.InputSourceHTTP.StartStream(String target)
  at NShared.Shim.GenericCapture.StartStream(String target, String& reason)
2020-05-23 19:29:00.168 [DEBUG][9] Failed to start recording on allocated device (851:/home/rkulagow/recordings/Bob Vilas Home Again/Season 14/Bob.Vilas.Home.Again.S14E06.Waterfront.Warehouse.Rehab.Interior.Construction.&.Skylight.Install.ts): 'Connection refused Connection refused'
2020-05-23 19:29:00.168 [DEBUG][9] Looking for second chance device to perform recording...
2020-05-23 19:29:00.169 [DEBUG][9] Will try again after pre-padding period
2020-05-23 19:29:07.214 [DEBUG][16] Got request [::ffff:192.168.10.179]: /service (recording.lastupdated)
2020-05-23 19:29:07.214 [DEBUG][16] method=recording.lastupdated
2020-05-23 19:29:07.214 [DEBUG][16] parameters:
2020-05-23 19:29:07.214 [DEBUG][16]   method: recording.lastupdated
2020-05-23 19:29:07.214 [DEBUG][16]   format: json
2020-05-23 19:29:07.214 [DEBUG][16]   sid: 0897f589-9b34-41bb-bc9f-e121c73f1453
2020-05-23 19:29:07.214 [DEBUG][16]   client_ip: ::ffff:192.168.10.179
2020-05-23 19:29:07.214 [DEBUG][16]   user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
2020-05-23 19:29:07.214 [DEBUG][16]   host_callback: 192.168.10.231:8866
2020-05-23 19:29:07.214 [DEBUG][16] LastUpdated
2020-05-23 19:29:07.214 [DEBUG][16] {"last_update":1590256258}
Does that stream play in VLC?

http://192.168.10.168:5004/tuner0/v2.3
I'm pretty sure that 'Connection refused' text is not generated by NextPVR itself, but comes from the HDHomeRun response.

Could you maybe have had something else using that specific tuner? It's worth noting, NextPVR does ask for a specific tuner, not just an available one.

Either way, it shouldn't have that NullReferenceException anyway, so I'll check out possible causes.
Weird. No, it doesn't work in VLC either.

However, it does work when I use the HDHomerun application on my Windows 10 machine. (I'm tuning to channel 2.3, so it's not using my HDHomerun Prime; it should be the HDHomerun OTA classic.
Does the HDHR web page log give a better idea of why there is an error or if the tuner is in use?

Martin
(2020-05-24, 04:11 AM)rkulagow Wrote: [ -> ]
Code:
2020-05-23 19:29:00.155 [DEBUG][9] DefaultDirectoryChoice: spread
2020-05-23 19:29:00.155 [DEBUG][9] Preferred filename is 'Bob.Vilas.Home.Again.S14E06.Waterfront.Warehouse.Rehab:.Interior.Construction.&.Skylight.Install'
2020-05-23 19:29:00.156 [DEBUG][9] allocating recording target filename: /home/rkulagow/recordings/Bob Vilas Home Again/Season 14/Bob.Vilas.Home.Again.S14E06.Waterfront.Warehouse.Rehab.Interior.Construction.&.Skylight.Install.ts
2020-05-23 19:29:00.156 [DEBUG][9] About to start recording (851 on 21): /home/rkulagow/recordings/Bob Vilas Home Again/Season 14/Bob.Vilas.Home.Again.S14E06.Waterfront.Warehouse.Rehab.Interior.Construction.&.Skylight.Install.ts...
2020-05-23 19:29:00.156 [DEBUG][9] (Recording is due to be stopped at 5/23/2020 8:00 PM)
2020-05-23 19:29:00.156 [DEBUG][9] HDHomeRunRecorder.StartStream()
2020-05-23 19:29:00.156 [DEBUG][9] ipaddress is 192.168.10.168
2020-05-23 19:29:00.156 [DEBUG][9] About to load channel from tuning
2020-05-23 19:29:00.157 [DEBUG][9] source@1
2020-05-23 19:29:00.157 [DEBUG][9] Requesting: http://192.168.10.168:5004/tuner0/v2.3
2020-05-23 19:29:00.167 [ERROR][9] Failed to start stream: System.NullReferenceException: Object reference not set to an instance of an object.
  at NShared.Shim.InputSourceHTTP.StartStream(String target)
  at NShared.Shim.GenericCapture.StartStream(String target, String& reason)
2020-05-23 19:29:00.168 [DEBUG][9] Failed to start recording on allocated device (851:/home/rkulagow/recordings/Bob Vilas Home Again/Season 14/Bob.Vilas.Home.Again.S14E06.Waterfront.Warehouse.Rehab.Interior.Construction.&.Skylight.Install.ts): 'Connection refused Connection refused'
2020-05-23 19:29:00.168 [DEBUG][9] Looking for second chance device to perform recording...
2020-05-23 19:29:00.169 [DEBUG][9] Will try again after pre-padding period
2020-05-23 19:29:07.214 [DEBUG][16] Got request [::ffff:192.168.10.179]: /service (recording.lastupdated)
2020-05-23 19:29:07.214 [DEBUG][16] method=recording.lastupdated
2020-05-23 19:29:07.214 [DEBUG][16] parameters:
2020-05-23 19:29:07.214 [DEBUG][16]   method: recording.lastupdated
2020-05-23 19:29:07.214 [DEBUG][16]   format: json
2020-05-23 19:29:07.214 [DEBUG][16]   sid: 0897f589-9b34-41bb-bc9f-e121c73f1453
2020-05-23 19:29:07.214 [DEBUG][16]   client_ip: ::ffff:192.168.10.179
2020-05-23 19:29:07.214 [DEBUG][16]   user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
2020-05-23 19:29:07.214 [DEBUG][16]   host_callback: 192.168.10.231:8866
2020-05-23 19:29:07.214 [DEBUG][16] LastUpdated
2020-05-23 19:29:07.214 [DEBUG][16] {"last_update":1590256258}

This is probably a silly question, but are you sure that the HDHR is currently at the IP address 192.168.10.168?
This is not a silly question but I am tending more to that being a legacy device based on the initial thread https://forums.nextpvr.com/showthread.php?tid=60955 using the http protocol.

This is why logs not snippets are good.

Martin
It is a legacy device, but I've confirmed the IP address is 192.168.10.168; I'm able to access the web page:


HDHomeRun DUAL
Model: HDHR-US
Device ID: 10160B31
Firmware: 20200225
Download drivers
Installation instructions
I'm taking another look ta this legacy HDHR tuning.

I think the change I made in the last release must have fixed your scanning, but didn't quite get it entirely right, so it's trying to do a modern HDHR style tuning over http, instead of the legacy tuning with rtp.
I'll be happy to test the next version of code; looking to migrate from my existing PVR to something different.
Pages: 1 2 3 4 5