NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 3 4 5 6 7 … 93 Next »
Transcoding service

 
  • 0 Vote(s) - 0 Average
Transcoding service
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,804
Threads: 769
Joined: Nov 2003
#11
2016-08-25, 02:30 AM
It looks like the request only arrived at the server at 19:23:37, and it responded immediately:

Quote:2016-08-24 19:23:37.919 [DEBUG][21] Got Web Request (172.16.3.62): /services/services method=channel.transcode.lease&sid=c25d129c7c614e66950847f746111b99
2016-08-24 19:23:37.919 [DEBUG][21] method=channel.transcode.lease
2016-08-24 19:23:37.919 [DEBUG][21] parameters:
2016-08-24 19:23:37.919 [DEBUG][21] method: channel.transcode.lease
2016-08-24 19:23:37.919 [DEBUG][21] sid: c25d129c7c614e66950847f746111b99
2016-08-24 19:23:37.919 [DEBUG][21] client_ip: 172.16.3.62
2016-08-24 19:23:37.919 [DEBUG][21] host_callback: 172.16.3.2:8866
2016-08-24 19:23:37.919 [DEBUG][21] physical_path: C:\Users\Public\NPVR\web\
2016-08-24 19:23:37.920 [DEBUG][21] user_agent: Python-urllib/2.7
2016-08-24 19:23:37.920 [DEBUG][21] range:
2016-08-24 19:23:37.920 [DEBUG][21] requested_path: /services/services
2016-08-24 19:23:37.920 [DEBUG][21] verb: GET
2016-08-24 19:23:37.920 [DEBUG][21] <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
</rsp>
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,157
Threads: 958
Joined: May 2006
#12
2016-08-25, 02:51 AM
sub Wrote:It looks like the request only arrived at the server at 19:23:37, and it responded immediately:

I just can't figure out where it sits for those six seconds and because of the5 seconds lease there is nothing I can do about it.

Also technically that call should fail since there is nothing to lease. I guess I have to a status check too after a long call.

Martin
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,804
Threads: 769
Joined: Nov 2003
#13
2016-08-25, 03:10 AM
Actually, it takes a 10 seconds until it decides the device is no longer leased, to allow for clients that took a little too long.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,804
Threads: 769
Joined: Nov 2003
#14
2016-08-25, 03:13 AM
If you try using wireshark, can you see the request coming in earlier?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,157
Threads: 958
Joined: May 2006
#15
2016-08-25, 03:15 AM
Yes I guess I could lease more frequently to give me more time

Martin
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,804
Threads: 769
Joined: Nov 2003
#16
2016-08-25, 04:15 AM
How is the CPU usage at the time, if it's bogged down, maybe the webserver didn't getting cycles to full receive the request and start processing it?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,157
Threads: 958
Joined: May 2006
#17
2016-08-25, 03:02 PM (This post was last modified: 2016-08-25, 05:25 PM by mvallevand.)
sub Wrote:How is the CPU usage at the time, if it's bogged down, maybe the webserver didn't getting cycles to full receive the request and start processing it?

High the CPU is always 75-98% but then again VNC is adding some CPU and network overhead while I am monitoring maybe I will set up perfmon

Edit: timing out and aborting on the lease call with enough time to reissue another lease seems to resolve the issue. One things I can do to trigger a disruption is reading the m3u8 file as it gets to be thousands of lines long. I you could avoid dumping it to the log that might help

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,157
Threads: 958
Joined: May 2006
#18
2016-08-25, 08:54 PM
Sub if you have a chance could you install this x-newa in your Kodi (16 is fine) http://forums.nextpvr.com/showthread.php...-0-Alpha-1, configure it to enable transcoding and let it run for 15 minutes on live tv and send the Kodi.log I'd like to any error messages with a fast backend.

Thanks

Martin
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,804
Threads: 769
Joined: Nov 2003
#19
2016-08-25, 09:22 PM
Do you need debug logging turned enabled, or normal kodi.log is fine? I kicked off a streaming transcoded live tv a few minutes ago, and just realised I didn't have debug logging enabled in kodi.

I did notice with transcoded playback enabled, it starts with a still frame, and I had to hit the play button to force it to start playing.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,157
Threads: 958
Joined: May 2006
#20
2016-08-25, 09:28 PM
sub Wrote:Do you need debug logging turned enabled, or normal kodi.log is fine? I kicked off a streaming transcoded live tv a few minutes ago, and just realised I didn't have debug logging enabled in kodi.

I did notice with transcoded playback enabled, it starts with a still frame, and I had to hit the play button to force it to start playing.

No problem since I use python I control the prints to the log. I use Krypton and don't have a force play problem at the beiginning (it oftens plays twice) but I occasionally do hit a still frame and have to hit play m3u8 buffering isn't like ts with autoo-play. Currently I don't wait to 100% buffering but I haven't seen it under 100 which might be a problem at the beginning.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  is there a service?method which returns listings for multiple channels? reven 16 7,328 2022-04-11, 04:30 PM
Last Post: mandai
  NextPVR "Service" Backend? jcole998 5 4,920 2018-05-24, 01:17 PM
Last Post: jcole998
  Time to make Touch web Service less experimental fred250 106 29,460 2014-06-15, 09:13 PM
Last Post: fred250
  New web service clarification needed bgowland 6 3,357 2013-10-19, 02:36 AM
Last Post: bgowland
  [REQ] Additional web service API calls reven 26 8,602 2013-08-31, 10:08 PM
Last Post: mvallevand
  getting recurring recordings from service?method API? reven 2 2,020 2013-08-03, 10:50 PM
Last Post: reven
  need some doc around service?methods reven 12 4,766 2013-07-25, 11:00 PM
Last Post: reven
  On-the-fly transcoding for streaming recordings / videos bgowland 6 4,132 2012-06-03, 03:10 AM
Last Post: bgowland
  Creating a Windows service McBainUK 8 3,543 2011-03-30, 03:29 AM
Last Post: mvallevand
  GB-PVR rec. service locks my classlib bgowland 6 2,706 2009-02-12, 11:32 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode