NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 12 13 14 15 16 … 93 Next »
Client - Tuner plugins

 
  • 0 Vote(s) - 0 Average
Client - Tuner plugins
lovemyram4x4
Offline

Member

Posts: 54
Threads: 0
Joined: Jun 2011
#41
2011-09-17, 12:21 AM
I didn't see the reduced channel list this time, but I usually only see it the first time I hit up arrow.

This time I had several times starting live TV and channel changes seem to fail(maybe I just didn't wait long enough as one I thought that had fail went thru after much longer than the already long time it normally takes). Guide would actually come again while live TV was running.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#42
2011-09-17, 12:40 AM (This post was last modified: 2011-09-17, 12:50 AM by mvallevand.)
SageDCT seems to be working well, but looking at the NRecord logs I don't think you followed the instruction to restart the recording service.

- Looking at the logs i recommend a delay of 2500 or 3000 in NetworkRecorder.xml

- Except note your first delay was almost 10 seconds. Long delays initializing the Ceton hardware (up to 40 seconds) after sleep/startup have been noted by SageTV users not related to SageDCT at all.

Martin
lovemyram4x4
Offline

Member

Posts: 54
Threads: 0
Joined: Jun 2011
#43
2011-09-17, 01:00 AM
Doh, I forgot to restart it that time. I tried setting delay at 15sec, I think it help w/ failed channel changes, but it didn't fix the problem as this tuner should take more than 1sec, not the 20sec it's been taking.

Ok I'll try again.
lovemyram4x4
Offline

Member

Posts: 54
Threads: 0
Joined: Jun 2011
#44
2011-09-17, 01:24 AM
Ok 2 problems fixed, arrow and +/- are working. I put the delay back up at 15sec, I had the first couple of times starting live TV seem to fail-went from please wait, started buffer file and then to blank screen then I went back and tried again after >1min. Channel changes also failed a lot, 1 time did similar starting live TV but after 40 sec it jumped back to please over main menu screen, another actually started writing the new buffer file while still show last show but never change over(I was thinking that maybe it had to due w/ the server not having a powerful enough GPU-though CPU is only up at 20% while streaming live TV-so I tried it on a client w/ similar result on all)

Here's the log files from last test session minus client testing.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#45
2011-09-17, 02:15 AM
I didn't say to go up to 15 seconds though, 2.5 to 3 should be enough based on the logs.

Martin
lovemyram4x4
Offline

Member

Posts: 54
Threads: 0
Joined: Jun 2011
#46
2011-09-17, 03:23 AM
It's working much better now, most channel changes work and in a reasonable amount of time, but some still failed or took 20sec or so, starting live TV failed more often that it worked, most of hte time the buffer file would grow while the screen stayed blank but the file would go away if I went back to the main menu like when the file stays at 0kb. Worked the same on client and server.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#47
2011-09-17, 03:43 AM
Ok that's progress at least. Can you send the logs again, there were a couple of issues I'd like to check. Then I guess you should move to a machine that has sound and can actually play the files. The lack of a true audio render made be causing some issues.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#48
2011-09-17, 04:43 AM
Sub, when LiveTV is changed with the numbers you keep the same graph. Does this look correct for a change.

Code:
2011-09-17 00:35:43.986    [DEBUG][1]    StartLiveTV@1
2011-09-17 00:35:43.986    [DEBUG][1]    StartLiveTV@2
2011-09-17 00:35:43.986    [DEBUG][1]    StartLiveTV@3
2011-09-17 00:35:43.986    [DEBUG][1]    StartLiveTV@4
2011-09-17 00:35:49.072    [DEBUG][1]    Client got streaming handle: 5FA03F9
2011-09-17 00:35:49.072    [DEBUG][1]    service type is: 1
2011-09-17 00:35:49.072    [DEBUG][1]    StartLiveTV@5
2011-09-17 00:35:49.072    [DEBUG][1]    SwitchToStream@1
2011-09-17 00:35:49.072    [DEBUG][1]    Unmapping all pids from pin Video
2011-09-17 00:35:49.073    [DEBUG][1]    Unmapping all pids from pin AC3
2011-09-17 00:35:49.073    [DEBUG][1]    SwitchToStream@2
2011-09-17 00:35:49.073    [DEBUG][1]    SwitchToStream@3
2011-09-17 00:35:49.094    [DEBUG][1]    SwitchToStream@4
2011-09-17 00:35:49.094    [DEBUG][1]    SwitchToStream@5
2011-09-17 00:35:49.097    [DEBUG][1]    StartLiveTV@6
2011-09-17 00:35:49.098    [DEBUG][1]    StartLiveTV@6
2011-09-17 00:35:49.137    [DEBUG][1]    StartLiveTV@7
2011-09-17 00:35:49.137    [DEBUG][1]    PLAYING_LIVETV
2011-09-17 00:35:49.138    [DEBUG][1]    StartLiveTV@done
2011-09-17 00:35:49.138    [DEBUG][1]    OnKeyDown() done. Took 5160 ms
2011-09-17 00:35:49.138    [DEBUG][1]    GetEventCode() returned: 0x000e

Are there restriction on this? ie does it matter if the video format changes from PAL/NTSC to 720p to 1080i?

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#49
2011-09-17, 04:52 AM
It'll only rebuild the graph if switching video standards from MPEG <-> H264. Switching MPEG2 from 720p to 1080i is fine and doesnt need the graph to be rebuilt.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#50
2011-09-17, 06:22 AM
mvallevand Wrote:- Except note your first delay was almost 10 seconds.
If you are using HttpWebRequest or WebRequest, set the proxy to null before making your GetResponseStream() call.
Code:
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(controlURL);
byte[] bytesToWrite = Encoding.ASCII.GetBytes(postData);
request.Method = "POST";
request.ContentLength = bytesToWrite.Length;
request.Headers.Add("SOAPAction: \"urn:schemas-upnp-org:control-1-0#QueryStateVariable\"");
request.ContentType = "text/xml; charset=utf-8";
request.Proxy = null; [b][color=#FF0000]// First GetResponseStream() call is slow without this.[/color][/b]
using (Stream newStream = request.GetRequestStream())
{
    newStream.Write(bytesToWrite, 0, bytesToWrite.Length);
}
If this first call is being made from SageDCT, you'll need to get Andy to add that line to his code (assuming he's not using a third party library for his UPNP calls).
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  FM tuner support in NextPVR? Goongyae 2 1,500 2022-11-23, 01:22 PM
Last Post: mvallevand
  Plugins and NPVR. Where do we start? sub 80 70,029 2020-11-26, 10:02 PM
Last Post: mandai
  Developing Android TV client fred250 2 1,887 2020-11-16, 06:33 PM
Last Post: fred250
  Tuner status & disk usage mikaelgu 2 2,976 2017-04-10, 04:51 PM
Last Post: mikaelgu
  Determine Server Tuner/Recorder Status from Console App 27InchSony 13 8,442 2016-12-21, 05:03 AM
Last Post: mvallevand
  Web Client: Slow with separate thread and date not obscured cncb 32 16,293 2016-10-10, 02:01 PM
Last Post: mvallevand
  How to tell when video playback has finished in web client? cncb 6 4,372 2015-09-29, 08:07 PM
Last Post: cncb
  How to get edl information for videos in a web client? fred250 27 10,864 2014-12-10, 12:39 AM
Last Post: fred250
  I want to start developing plugins...but how? OrenShapir 6 4,147 2014-11-18, 10:38 PM
Last Post: mvallevand
  Remote client logout timeout. mvallevand 2 2,584 2014-10-28, 12:55 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode