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

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

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#21
2016-08-25, 09:35 PM
Here is the log for the last 15 minutes, it hasn't any messages since soon after I started streaming though. It's still playing now at 9:32, last log messages where 9:19.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#22
2016-08-25, 09:35 PM
CPU usage is sitting around 22%
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,337
Threads: 868
Joined: May 2006
#23
2016-08-25, 09:43 PM
That's odd probably debug logging is needed I just never noticed. If you add <loglevel>10</loglevel> to advancedsettings.xml you get debug logging without the verhead of on screen debug.

I see that you have use 360 for me that does keep the CPU around 40-50%

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#24
2016-08-25, 10:15 PM
I didn't really pick 360p for any reason. I was just trying out your settings screen, and must of left it on that.

I'm on 720p now, and it doesn't really seem to have made a lot of difference to the CPU.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,337
Threads: 868
Joined: May 2006
#25
2016-08-25, 10:25 PM
My backend just isnt up to HD transcoding and play. it is as old as Vista and just a Core2Duo so I am not surprised.

Thanks for checking. From your logs I am not seeing the timeout on a lease but I do see the the .status problem where it takes more than a second to return a GET so I abort. For me like you 75% is the first one I don't fail on

Code:
9:58:05 T:12816   DEBUG: http://127.0.0.1:8866/services/services?method=channel.transcode.initiate&profile=720p-1024kbps&channel=1&sid=3f461180c7ec47b2a2b8421f42436625
09:58:06 T:12816   DEBUG: <?xml version="1.0" encoding="utf-8" ?>

                                            <rsp stat="ok">

                                            </rsp>
09:58:07 T:12816   DEBUG: http://127.0.0.1:8866/services/services?method=channel.transcode.status&format=json&sid=3f461180c7ec47b2a2b8421f42436625
09:58:07 T:14376   DEBUG: ------ Window Init (Pointer.xml) ------
09:58:08 T:12816   DEBUG: timed out
09:58:08 T:12816   DEBUG: 0
09:58:09 T:12816   DEBUG: http://127.0.0.1:8866/services/services?method=channel.transcode.status&format=json&sid=3f461180c7ec47b2a2b8421f42436625
09:58:10 T:12816   DEBUG: timed out
09:58:10 T:12816   DEBUG: 0
09:58:10 T:12816   DEBUG: http://127.0.0.1:8866/services/services?method=channel.transcode.status&format=json&sid=3f461180c7ec47b2a2b8421f42436625
09:58:11 T:12816   DEBUG: timed out
09:58:11 T:12816   DEBUG: 0
09:58:12 T:12816   DEBUG: http://127.0.0.1:8866/services/services?method=channel.transcode.status&format=json&sid=3f461180c7ec47b2a2b8421f42436625
09:58:13 T:12816   DEBUG: timed out
09:58:13 T:12816   DEBUG: 0
09:58:13 T:12816   DEBUG: http://127.0.0.1:8866/services/services?method=channel.transcode.status&format=json&sid=3f461180c7ec47b2a2b8421f42436625
09:58:13 T:12816   DEBUG: 75
09:58:14 T:12816   DEBUG: http://127.0.0.1:8866/services/services?method=channel.transcode.status&format=json&sid=3f461180c7ec47b2a2b8421f42436625
09:58:14 T:12816   DEBUG: 75
09:58:14 T:12816   DEBUG: http://127.0.0.1:8866/services/services?method=channel.transcode.status&format=json&sid=3f461180c7ec47b2a2b8421f42436625
09:58:14 T:12816   DEBUG: 100

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#26
2016-08-25, 10:38 PM
Yeah, I've got a pretty decent CPU in this machine. The CPU is a 4 year old i7. It was a lower end i7, but all the i7's are pretty damn fast.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,337
Threads: 868
Joined: May 2006
#27
2016-08-26, 07:14 PM (This post was last modified: 2016-08-26, 07:20 PM by mvallevand.)
I think I have found the problem with .status I see that the browser fails often too before streaming starts. I removed a lot of waits and I think the call is failing until shortly after ffmpeg logs this

2016-08-26 15:03:30.303 [DEBUG][18] ErrorData: Output #0, hls, to 'C:\Users\Public\NPVR\web\temp\CJOH-3d7c93c43ae34c979abffd12e5466f74.m3u8':

I think the file open for the buffer status may be returning an unhandled error and so there is no payload until it has data.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#28
2016-08-26, 07:43 PM
Yeah, I'd thought it'd be around this. I'll try find a fix today.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3


Possibly Related Threads…
Thread Author Replies Views Last Post
  is there a service?method which returns listings for multiple channels? reven 16 4,432 2022-04-11, 04:30 PM
Last Post: mandai
  NextPVR "Service" Backend? jcole998 5 3,892 2018-05-24, 01:17 PM
Last Post: jcole998
  Time to make Touch web Service less experimental fred250 106 19,397 2014-06-15, 09:13 PM
Last Post: fred250
  New web service clarification needed bgowland 6 2,339 2013-10-19, 02:36 AM
Last Post: bgowland
  [REQ] Additional web service API calls reven 26 5,888 2013-08-31, 10:08 PM
Last Post: mvallevand
  getting recurring recordings from service?method API? reven 2 1,437 2013-08-03, 10:50 PM
Last Post: reven
  need some doc around service?methods reven 12 3,287 2013-07-25, 11:00 PM
Last Post: reven
  On-the-fly transcoding for streaming recordings / videos bgowland 6 3,200 2012-06-03, 03:10 AM
Last Post: bgowland
  Creating a Windows service McBainUK 8 2,435 2011-03-30, 03:29 AM
Last Post: mvallevand
  GB-PVR rec. service locks my classlib bgowland 6 1,790 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