SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Clients Development

Notices

SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-16-2020, 12:42 PM
hb4 hb4 is offline
Sage Advanced User
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 210
Firestick 4K - Speed of remote connection

I'm using a Firestick 4K with the Andriod miniclient to watch Sage recordings remotely and am seeing halts in playback using the Fixed Transcoding beta client.
I can also usethe HD-300 in Placeshifter mode, and while it's responsive the picture quality is just not there. I can use Emby as well, and it has good picture quality. I'm hoping to use the Firestick and use the SageTV software.

Here are some speeds for various links in the playback chain.

Server upload speed is reported as 10Mbps
Remote download speed is reported as 6Mbps
Server processor is i5-2400 CPU @ 3.1GHz, 4 cores
SageTVTranscoder.exe is using 20% of CPU out of about 50% usage.
Remote WiFi to FireStick is on 5G band.

Any idea where the bottleneck is in this setup?

Edit: I just set these properties and it seems like it's working without halts. Maybe it's just a good part of the day and it's certainly a blind pig move, but it is working without transcoding on the server.

miniplayer/min_bandwidth_for_no_transcode=1500000 (reset from 2000000)
miniplayer/wan_prevent_push=false (reset from 'true')

I'm using the beta client with the revised Jar.
__________________
Server: Intel i5-2400 @3.1GHz 4 cores Windows 8.1 Pro, Sage 9.2.1 with Comskip
Capture: OTA; Comcast to HD-PVR, HDHR, HDHR Prime with Firmware version 20150826 and OpenDCT version 0.5.13 beta
Storage: 1Tb HD on Server, 2Tb Buffalo NAS
Network: Gb Buffalo Router, Gb 8-port Netgear Switch connected to Server, HD-200, NAS, HDHR, Prime, LAN
Playback: HD-200, Server to HDTV; HD-300 and Emby for off-site playback
Tech Level: Hobbyist

Last edited by hb4; 09-16-2020 at 07:16 PM. Reason: Change Gbps to Mbps
Reply With Quote
  #2  
Old 09-16-2020, 06:24 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 2,422
The location where your SageTV server is has an Internet upload speed capable of 10 gigabits per second? Are you sure it isn't like 5 or 10 megabits per second upload at the server?
Reply With Quote
  #3  
Old 09-16-2020, 07:15 PM
hb4 hb4 is offline
Sage Advanced User
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 210
Yes, megabits. I'll change the original post.... Thanks.
__________________
Server: Intel i5-2400 @3.1GHz 4 cores Windows 8.1 Pro, Sage 9.2.1 with Comskip
Capture: OTA; Comcast to HD-PVR, HDHR, HDHR Prime with Firmware version 20150826 and OpenDCT version 0.5.13 beta
Storage: 1Tb HD on Server, 2Tb Buffalo NAS
Network: Gb Buffalo Router, Gb 8-port Netgear Switch connected to Server, HD-200, NAS, HDHR, Prime, LAN
Playback: HD-200, Server to HDTV; HD-300 and Emby for off-site playback
Tech Level: Hobbyist
Reply With Quote
  #4  
Old 09-17-2020, 10:55 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Expert
 
Join Date: Jan 2004
Posts: 612
Quote:
Originally Posted by hb4 View Post
I'm using a Firestick 4K with the Andriod miniclient to watch Sage recordings remotely and am seeing halts in playback using the Fixed Transcoding beta client.
I can also usethe HD-300 in Placeshifter mode, and while it's responsive the picture quality is just not there. I can use Emby as well, and it has good picture quality. I'm hoping to use the Firestick and use the SageTV software.

Here are some speeds for various links in the playback chain.

Server upload speed is reported as 10Mbps
Remote download speed is reported as 6Mbps
Server processor is i5-2400 CPU @ 3.1GHz, 4 cores
SageTVTranscoder.exe is using 20% of CPU out of about 50% usage.
Remote WiFi to FireStick is on 5G band.

Any idea where the bottleneck is in this setup?

Edit: I just set these properties and it seems like it's working without halts. Maybe it's just a good part of the day and it's certainly a blind pig move, but it is working without transcoding on the server.

miniplayer/min_bandwidth_for_no_transcode=1500000 (reset from 2000000)
miniplayer/wan_prevent_push=false (reset from 'true')

I'm using the beta client with the revised Jar.
I might try and implement this: https://medium.com/@filipluch/how-to...d-b59eb0c4d9cc

Maybe there is too much variability in the networking. I wonder if this would help.
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #5  
Old 09-17-2020, 03:35 PM
hb4 hb4 is offline
Sage Advanced User
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 210
Looks pretty slick.

If all of my recordings are with the Prime, do I need transcoding at all? Right now, with the reduced 'miniplayer/min_bandwidth_for_no_transcode=1500000', SageTVTranscoder.exe is not running.

I presume the miniclient or Sage knows the end-to-end bandwidth; I'm surprised that while the speedtests show a minimum of 6Mbs the true bandwidth is less than 1.5Mbs. Must be something else going on.

Edit: I set 'miniplayer/bwstats=true' and checked the log which reported 2676kbps. The 'min_bandwidth' setting of 1500000 implies that under that amount it should not transcode. The log says bandwidth is 2676000 so it should transcode? I'm sure there's a lot I'm not understanding here.
__________________
Server: Intel i5-2400 @3.1GHz 4 cores Windows 8.1 Pro, Sage 9.2.1 with Comskip
Capture: OTA; Comcast to HD-PVR, HDHR, HDHR Prime with Firmware version 20150826 and OpenDCT version 0.5.13 beta
Storage: 1Tb HD on Server, 2Tb Buffalo NAS
Network: Gb Buffalo Router, Gb 8-port Netgear Switch connected to Server, HD-200, NAS, HDHR, Prime, LAN
Playback: HD-200, Server to HDTV; HD-300 and Emby for off-site playback
Tech Level: Hobbyist

Last edited by hb4; 09-17-2020 at 04:56 PM.
Reply With Quote
  #6  
Old 10-17-2020, 04:09 PM
hb4 hb4 is offline
Sage Advanced User
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 210
Well, the halts are back, and wondering if this portion of the sage0.txt file where I experienced a halt might give a clue.

I see that it states that the link bandwidth is ~3000 but says elsewhere that 'IsLowBandwidth: false". I would think 3000 is pretty low.

Are there any conclusions one could make from this excerpt for the halts that I see?

Code:
Fri 10/16 11:52:53.708 [VideoFrame-504c4a555646@1d30e95] VideoFrame creating new media player for file:MediaFile[id=3104147 A[3024568,3023162,"Blue Bloods",20290@0214.22:00,60,T] mask=TV host=Media encodedBy=DCT-HDHomeRun Prime Tuner 13112554-0 on 127.0.0.1:9000 KIRODT format=MPEG2-TS 0:00:03 3637 kbps [#0 Video[MPEG2-Video 29.97003 fps 1920x1080 16:9 interlaced id=0100]#1 Audio[AC3 48000 Hz 6 channels 384 kbps MAIN idx=1 id=0101 eng]#2 Audio[AC3 48000 Hz 2 channels 128 kbps idx=2 id=0102 spa]{SeriesInfoID=1280105, PropertiesWrittenBy=CMT}] G:\Sage Recordings G\BlueBloods-S10E14-TheFogofWar-3024568-0.ts, Seg0[Fri 2/14 22:00:00.018-Fri 2/14 23:00:00.018]]
Fri 10/16 11:52:53.712 [VideoFrame-504c4a555646@1d30e95] JVL - ELSE BLOCK Creating MiniPlayer
Fri 10/16 11:52:53.716 [AsyncWatch@7228a] Deriving FreeType font face for fonts\DejaVuSansMono size=32 style=0 from=C:\Program Files (x86)\SageTV\SageTV\fonts\DejaVuSansMono.ttf
Fri 10/16 11:52:53.720 [AsyncWatch@7228a] Loading new font to cache font=MetaFont[fonts\DejaVuSansMono, size=32, style=0, height=37.0, ascent=30.0, descent=8.0, leading=-1.0, class=class sage.FreetypeFont]
Fri 10/16 11:52:53.725 [VideoFrame-504c4a555646@1d30e95] VF file=MediaFile[id=3104147 A[3024568,3023162,"Blue Bloods",20290@0214.22:00,60,T] mask=TV host=Media encodedBy=DCT-HDHomeRun Prime Tuner 13112554-0 on 127.0.0.1:9000 KIRODT format=MPEG2-TS 0:00:03 3637 kbps [#0 Video[MPEG2-Video 29.97003 fps 1920x1080 16:9 interlaced id=0100]#1 Audio[AC3 48000 Hz 6 channels 384 kbps MAIN idx=1 id=0101 eng]#2 Audio[AC3 48000 Hz 2 channels 128 kbps idx=2 id=0102 spa]{SeriesInfoID=1280105, PropertiesWrittenBy=CMT}] G:\Sage Recordings G\BlueBloods-S10E14-TheFogofWar-3024568-0.ts, Seg0[Fri 2/14 22:00:00.018-Fri 2/14 23:00:00.018]] targetTime = Fri 2/14 22:04:20.449
Fri 10/16 11:52:53.729 [VideoFrame-504c4a555646@1d30e95] VideoFrame.timeSelected(Fri 2/14 22:04:20.449, true) currFile=MediaFile[id=3104147 A[3024568,3023162,"Blue Bloods",20290@0214.22:00,60,T] mask=TV host=Media encodedBy=DCT-HDHomeRun Prime Tuner 13112554-0 on 127.0.0.1:9000 KIRODT format=MPEG2-TS 0:00:03 3637 kbps [#0 Video[MPEG2-Video 29.97003 fps 1920x1080 16:9 interlaced id=0100]#1 Audio[AC3 48000 Hz 6 channels 384 kbps MAIN idx=1 id=0101 eng]#2 Audio[AC3 48000 Hz 2 channels 128 kbps idx=2 id=0102 spa]{SeriesInfoID=1280105, PropertiesWrittenBy=CMT}] G:\Sage Recordings G\BlueBloods-S10E14-TheFogofWar-3024568-0.ts, Seg0[Fri 2/14 22:00:00.018-Fri 2/14 23:00:00.018]]
Fri 10/16 11:52:53.733 [VideoFrame-504c4a555646@1d30e95] initDriver0()
Fri 10/16 11:52:53.737 [VideoFrame-504c4a555646@1d30e95] Issuing MCSR client socket to 504c4a555646
Fri 10/16 11:52:53.741 [VideoFrame-504c4a555646@1d30e95] MiniPlayer established for 504c4a555646
Fri 10/16 11:52:53.761 [VideoFrame-504c4a555646@1d30e95] Supported push containers: [MPEG2-TS, MPEG2-PS, MPEG1-PS]
Fri 10/16 11:52:53.765 [VideoFrame-504c4a555646@1d30e95] ******************************* Investigating PULL/PUSH and supported codecs **********************************
Fri 10/16 11:52:53.768 [VideoFrame-504c4a555646@1d30e95] Determining if MPEG4_VIDEO is supported clientCanDoMpeg4
Fri 10/16 11:52:53.772 [VideoFrame-504c4a555646@1d30e95] 	clientCanDoMpeg4: true
Fri 10/16 11:52:53.776 [VideoFrame-504c4a555646@1d30e95] Determining if the client can do pull. Determined if there is a hostname, and it starts with file://
Fri 10/16 11:52:53.780 [VideoFrame-504c4a555646@1d30e95] 	Since we are not local, checking to see if container format is suppoted.
Fri 10/16 11:52:53.784 [VideoFrame-504c4a555646@1d30e95] JVL: PullContainers: []
Fri 10/16 11:52:53.787 [VideoFrame-504c4a555646@1d30e95] 		CurrentContainer: MPEG2-TS
Fri 10/16 11:52:53.791 [VideoFrame-504c4a555646@1d30e95] 		clientDoesPull: false
Fri 10/16 11:52:53.794 [VideoFrame-504c4a555646@1d30e95] Fixed push format setting from client: null
Fri 10/16 11:52:53.798 [VideoFrame-504c4a555646@1d30e95] Fixed push format setting from client: null
Fri 10/16 11:52:53.802 [VideoFrame-504c4a555646@1d30e95] Checking bandwidth to the client
Fri 10/16 11:52:53.805 [VideoFrame-504c4a555646@1d30e95] getEstimatedBW=0 estimatedBWBytes=0 estimatedBWTime=0
Fri 10/16 11:52:53.809 [VideoFrame-504c4a555646@1d30e95] Bandwidth: 0
Fri 10/16 11:52:53.813 [VideoFrame-504c4a555646@1d30e95] 	Bandwidth is < 500000 and client can do mpeg4 or httpls
Fri 10/16 11:52:53.816 [VideoFrame-504c4a555646@1d30e95] MiniPlayer was not able to get a bandwidth estimate from the UI system, sending data to get its own estimate...
Fri 10/16 11:52:53.911 [Fork-OPUS4-112742@17e9c93] ENDING background recording thumb preloader thread, ID = 0.8562319771910434
Fri 10/16 11:52:53.989 [VideoFrame-504c4a555646@1d30e95] Bandwidth test base=42 base*2=66 BW=3123047
Fri 10/16 11:52:53.997 [VideoFrame-504c4a555646@1d30e95] MiniPlayer got an estimate from the UI on bandwidth of 3123Kbps
Fri 10/16 11:52:54.003 [VideoFrame-504c4a555646@1d30e95] Checking for low bandwidth (local client, MiniClient, supports push MPEG2_TS or MPEG2_PS, less than required bandwidth and MPEG4)
Fri 10/16 11:52:54.011 [VideoFrame-504c4a555646@1d30e95] 	pureLocal: false
Fri 10/16 11:52:54.018 [VideoFrame-504c4a555646@1d30e95] 	MiniClient Renderer is not null: true
Fri 10/16 11:52:54.025 [VideoFrame-504c4a555646@1d30e95] Supported push containers: [MPEG2-TS, MPEG2-PS, MPEG1-PS]
Fri 10/16 11:52:54.031 [VideoFrame-504c4a555646@1d30e95] 	MPEG2_PS Support: true
Fri 10/16 11:52:54.038 [VideoFrame-504c4a555646@1d30e95] Supported push containers: [MPEG2-TS, MPEG2-PS, MPEG1-PS]
Fri 10/16 11:52:54.043 [VideoFrame-504c4a555646@1d30e95] 	MPEG2_TS Support: true
Fri 10/16 11:52:54.047 [VideoFrame-504c4a555646@1d30e95] 	IsLowBandwidth: false
Fri 10/16 11:52:54.051 [VideoFrame-504c4a555646@1d30e95] 	clientCanDoMpeg4: true
Fri 10/16 11:52:54.055 [VideoFrame-504c4a555646@1d30e95] Supported push containers: [MPEG2-TS, MPEG2-PS, MPEG1-PS]
Fri 10/16 11:52:54.058 [VideoFrame-504c4a555646@1d30e95] Checking for whether we are supporting push/pull
Fri 10/16 11:52:54.062 [VideoFrame-504c4a555646@1d30e95] 	clientDoesPull: false
Fri 10/16 11:52:54.066 [VideoFrame-504c4a555646@1d30e95] 	httpls: false
Fri 10/16 11:52:54.070 [VideoFrame-504c4a555646@1d30e95] 	clientDoesMPEG2Push: true
Fri 10/16 11:52:54.074 [VideoFrame-504c4a555646@1d30e95] 	clientCanDoMpeg4: true
Fri 10/16 11:52:54.077 [VideoFrame-504c4a555646@1d30e95] 	IsNOTLowBandwidth: true
Fri 10/16 11:52:54.081 [VideoFrame-504c4a555646@1d30e95] MiniPlayer is using Push mode playback
Fri 10/16 11:52:54.084 [VideoFrame-504c4a555646@1d30e95] Looks like it only switches to mpeg4 if it is not a mediaExtender, or low bandwidth....
Fri 10/16 11:52:54.088 [VideoFrame-504c4a555646@1d30e95] 	mediaExtender: true
Fri 10/16 11:52:54.092 [VideoFrame-504c4a555646@1d30e95] 	lowBandwidth: false
Fri 10/16 11:52:54.095 [VideoFrame-504c4a555646@1d30e95] We are a media extender, and we are not low bandwidth....
Fri 10/16 11:52:54.099 [VideoFrame-504c4a555646@1d30e95] Supported push containers: [MPEG2-TS, MPEG2-PS, MPEG1-PS]
Fri 10/16 11:52:54.103 [VideoFrame-504c4a555646@1d30e95] 	MPEG2_TS containerOK (I think it wants to just remux into MPEG2_TS: true
Fri 10/16 11:52:54.106 [VideoFrame-504c4a555646@1d30e95] 	Forcing transcode: false
Fri 10/16 11:52:54.110 [VideoFrame-504c4a555646@1d30e95] 	Confirming there is video
Fri 10/16 11:52:54.113 [VideoFrame-504c4a555646@1d30e95] 	Checking to see if video it MPEG2
Fri 10/16 11:52:54.117 [VideoFrame-504c4a555646@1d30e95] 	Video is MPEG2
Fri 10/16 11:52:54.120 [VideoFrame-504c4a555646@1d30e95] 	Checking to see if video codec is supported
Fri 10/16 11:52:54.124 [VideoFrame-504c4a555646@1d30e95] 	Client can do do MPEGHD. Setting video to OK
Fri 10/16 11:52:54.127 [VideoFrame-504c4a555646@1d30e95] Checking audio codec
Fri 10/16 11:52:54.131 [VideoFrame-504c4a555646@1d30e95] 	Has audio
Fri 10/16 11:52:54.135 [VideoFrame-504c4a555646@1d30e95] 	Audio code is OK
Fri 10/16 11:52:54.139 [VideoFrame-504c4a555646@1d30e95] 	Audio is not low rate
Fri 10/16 11:52:54.143 [VideoFrame-504c4a555646@1d30e95] Checking if client can do MPEGHD again....
Fri 10/16 11:52:54.147 [VideoFrame-504c4a555646@1d30e95] 	Client can do MPEGHD
Fri 10/16 11:52:54.151 [VideoFrame-504c4a555646@1d30e95] MiniPlayer is using the MPEG2 pusher
Fri 10/16 11:52:54.164 [VideoFrame-504c4a555646@1d30e95] Mpeg2Reader is detecting timestamp boundaries in the file...
Fri 10/16 11:52:54.195 [VideoFrame-504c4a555646@1d30e95] IFrame alignment=true
Fri 10/16 11:52:54.200 [VideoFrame-504c4a555646@1d30e95] Mpeg2Reader about to determine the firstPTS in the file...
Fri 10/16 11:52:54.205 [VideoFrame-504c4a555646@1d30e95] Mpeg2Reader has found the firstPTS, now determining the duration of the file...
Fri 10/16 11:52:54.223 [VideoFrame-504c4a555646@1d30e95] Opened MPEG-2 TS file: G:\Sage Recordings G\BlueBloods-S10E14-TheFogofWar-3024568-0.ts firstPTS=2880 durationMsec=3598941
Fri 10/16 11:52:54.228 [VideoFrame-504c4a555646@1d30e95] Mpeg2Reader seeking to pos=0
Fri 10/16 11:52:54.231 [VideoFrame-504c4a555646@1d30e95] Setting the transcoder format...
Fri 10/16 11:52:54.236 [VideoFrame-504c4a555646@1d30e95] 	There is a current media file...
Fri 10/16 11:52:54.239 [VideoFrame-504c4a555646@1d30e95] Not sure exactly what this block is doing.  if the ContainerFormat is not null and serverSideTranscoding, and not use original audio track
Fri 10/16 11:52:54.244 [VideoFrame-504c4a555646@1d30e95] Calling openURL0: push: f=MPEG2-TS;dur=3999;br=3637000;[bf=vid;f=MPEG2-Video;index=0;main=yes;tag=0100;fps=29.97003;fpsn=30000;fpsd=1001;ar=1.777778;arn=16;ard=9;w=1920;h=1080;lace=1;cs=yuv420p;][bf=aud;f=AC3;br=384000;index=1;main=yes;tag=0101;sr=48000;ch=6;lang=eng;][bf=aud;f=AC3;br=128000;index=2;tag=0102;sr=48000;ch=2;lang=spa;]
Fri 10/16 11:52:54.247 [VideoFrame-504c4a555646@1d30e95] openURL0(push:f=MPEG2-TS;dur=3999;br=3637000;[bf=vid;f=MPEG2-Video;index=0;main=yes;tag=0100;fps=29.97003;fpsn=30000;fpsd=1001;ar=1.777778;arn=16;ard=9;w=1920;h=1080;lace=1;cs=yuv420p;][bf=aud;f=AC3;br=384000;index=1;main=yes;tag=0101;sr=48000;ch=6;lang=eng;][bf=aud;f=AC3;br=128000;index=2;tag=0102;sr=48000;ch=2;lang=spa;])
Fri 10/16 11:52:54.273 [VideoFrame-504c4a555646@1d30e95] is ((mediaExtender && pushmode) or hdmediaextend) and not low bandwidth
Fri 10/16 11:52:54.277 [VideoFrame-504c4a555646@1d30e95] Setting audio stream for playback to be ID=0x101
Fri 10/16 11:52:54.303 [VideoFrame-504c4a555646@1d30e95] Sigma video dim=java.awt.Dimension[width=720,height=480]
Fri 10/16 11:52:54.308 [VideoFrame-504c4a555646@1d30e95] pausePush0()
Fri 10/16 11:52:54.332 [VideoFrame-504c4a555646@1d30e95] setMute0()
Fri 10/16 11:52:54.374 [VideoFrame-504c4a555646@1d30e95] getDuration : 3598941
Fri 10/16 11:52:54.380 [VideoFrame-504c4a555646@1d30e95] VideoFrame.timeSelected2(Fri 2/14 22:04:20.449, true) currFile=MediaFile[id=3104147 A[3024568,3023162,"Blue Bloods",20290@0214.22:00,60,T] mask=TV host=Media encodedBy=DCT-HDHomeRun Prime Tuner 13112554-0 on 127.0.0.1:9000 KIRODT format=MPEG2-TS 0:00:03 3637 kbps [#0 Video[MPEG2-Video 29.97003 fps 1920x1080 16:9 interlaced id=0100]#1 Audio[AC3 48000 Hz 6 channels 384 kbps MAIN idx=1 id=0101 eng]#2 Audio[AC3 48000 Hz 2 channels 128 kbps idx=2 id=0102 spa]{SeriesInfoID=1280105, PropertiesWrittenBy=CMT}] G:\Sage Recordings G\BlueBloods-S10E14-TheFogofWar-3024568-0.ts, Seg0[Fri 2/14 22:00:00.018-Fri 2/14 23:00:00.018]] realDur=3598941
Fri 10/16 11:52:54.384 [VideoFrame-504c4a555646@1d30e95] seeking numpushbuffers=0 seekTime=260354
Fri 10/16 11:52:54.389 [VideoFrame-504c4a555646@1d30e95] MPEG2 seek targetPts=23434740 length=5843670852 durationMsec=3598941 parsedPTS=-1 lastPos=0 firstPTS=2880 mux_rate=0 estimBitrate=1623700
Fri 10/16 11:52:54.393 [VideoFrame-504c4a555646@1d30e95] Mpeg2Reader seeking to pos=422741688 time=0:04:20.354
Fri 10/16 11:52:54.398 [VideoFrame-504c4a555646@1d30e95] flushPush0()
Fri 10/16 11:52:54.423 [VideoFrame-504c4a555646@1d30e95] Creating new push thread
Fri 10/16 11:52:54.432 [VideoFrame-504c4a555646@1d30e95] Channel Change Time=1602874374432 NOTE: Not valid if this was not a direct channel change!
Fri 10/16 11:52:54.436 [Pusher@115b9a2] Pusher thread is starting
Fri 10/16 11:52:54.441 [VideoFrame-504c4a555646@1d30e95] Default audio language is already selected
Fri 10/16 11:52:54.446 [Pusher@115b9a2] Miniplayer pusher using buffer size of 32768
Fri 10/16 11:52:54.450 [ActiveRender-504c4a555646@84d6c0] VideoFrame got registration of a subtitle UI component: sage.ZCCLabel[loc=java.awt.Point[x=273,y=788] size=java.awt.Dimension[width=1274,height=207]]
Fri 10/16 11:52:54.455 [VideoFrame-504c4a555646@1d30e95] VF processing job null nPlayin=true
Fri 10/16 11:52:54.459 [ActiveRender-504c4a555646@84d6c0] VideoFrame got registration of a cc UI component: sage.ZCCLabel[loc=java.awt.Point[x=182,y=103] size=java.awt.Dimension[width=1456,height=830]]
Fri 10/16 11:52:54.463 [VideoFrame-504c4a555646@1d30e95] isRec=false rd=3598941 base=260354 eos=false
Fri 10/16 11:52:54.471 [VideoFrame-504c4a555646@1d30e95] VF thread is now waiting for 0:55:38.337
Fri 10/16 11:52:54.486 [Pusher@115b9a2] Seek target=260 actual=241 diff=19
Fri 10/16 11:52:54.490 [ReProcessHook@17e9c93] Start looking for max channel digits
Fri 10/16 11:52:54.495 [Pusher@115b9a2] Seeking again to try to get a better position...
Fri 10/16 11:52:54.499 [Thread-15@739cdc] CD: StreamGetter: stderr:  0:00:38 - 2289 frames in 37.16 sec(61.60 fps), 4.87 sec(55.65 fps), 89%
Fri 10/16 11:52:54.504 [ReProcessHook@17e9c93] New max channel = 4, from channel 3291 on lineup 'Comcast King County South - Digital - Seattle (sdepg)'
Fri 10/16 11:52:54.509 [FinalRender-504c4a555646@138b724] Creating new RawImage for font rendering w=128 h=128
Fri 10/16 11:52:54.509 [Pusher@115b9a2] MPEG2 seek targetPts=23434740 length=5843670852 durationMsec=3598941 parsedPTS=21691535 lastPos=422803925 firstPTS=2880 mux_rate=0 estimBitrate=1754481
Fri 10/16 11:52:54.513 [FinalRender-504c4a555646@138b724] Rendered new font to raw cache index=0 font=MetaFont[fonts\DejaVuSansMono, size=32, style=0, height=37.0, ascent=30.0, descent=8.0, leading=-1.0, class=class sage.FreetypeFont]
Fri 10/16 11:52:54.518 [Pusher@115b9a2] Mpeg2Reader seeking to pos=454071888 time=0:04:20.354
Fri 10/16 11:52:54.525 [FinalRender-504c4a555646@138b724] Creating new RawImage for font rendering w=128 h=128
Fri 10/16 11:52:54.525 [ReProcessHook@17e9c93] Done looking for max channel digits; elapsed time: 35
Fri 10/16 11:52:54.529 [FinalRender-504c4a555646@138b724] Rendered new font to raw cache index=1 font=MetaFont[fonts\DejaVuSansMono, size=32, style=0, height=37.0, ascent=30.0, descent=8.0, leading=-1.0, class=class sage.FreetypeFont]
Fri 10/16 11:52:54.534 [Fork-JREkiwi-615771@7228a] Starting Comskip Playback v2.1.3 Thread: Thread[Fork-JREkiwi-615771,5,main], for UI context 504c4a555646
Fri 10/16 11:52:54.540 [FinalRender-504c4a555646@138b724] Creating new RawImage for font rendering w=128 h=128
Fri 10/16 11:52:54.541 [FinalRender-504c4a555646@138b724] Rendered new font to raw cache index=2 font=MetaFont[fonts\DejaVuSansMono, size=32, style=0, height=37.0, ascent=30.0, descent=8.0, leading=-1.0, class=class sage.FreetypeFont]
Fri 10/16 11:52:54.545 [Pusher@115b9a2] Seek target=260 actual=260 diff=0
Fri 10/16 11:52:54.560 [Pusher@115b9a2] BW=2383127 numPushes=1 numWaits=1
Fri 10/16 11:52:54.565 [Pusher@115b9a2] playPush0()
Fri 10/16 11:52:57.095 [Pusher@115b9a2] BW=5054572 numPushes=51 numWaits=1
Fri 10/16 11:52:59.132 [Pusher@115b9a2] BW=5654964 numPushes=101 numWaits=1
Fri 10/16 11:52:59.415 [Thread-15@739cdc] CD: StreamGetter: stderr:  0:00:43 - 2600 frames in 42.07 sec(61.80 fps), 4.92 sec(63.21 fps), 90%
Fri 10/16 11:53:01.159 [Pusher@115b9a2] BW=5900095 numPushes=151 numWaits=1
Fri 10/16 11:53:03.551 [Pusher@115b9a2] BW=5789577 numPushes=201 numWaits=1
Fri 10/16 11:53:04.259 [Thread-15@739cdc] CD: StreamGetter: stderr:  0:00:47 - 2876 frames in 46.93 sec(61.28 fps), 4.85 sec(56.91 fps), 91%
Fri 10/16 11:53:04.296 [Carny@1678972] CARNY agent workers processed 1511 of 1511 active agents.
Fri 10/16 11:53:04.306 [Carny@1678972] CARNY Negative Energy Size: 9742
Fri 10/16 11:53:04.314 [Carny@1678972] CARNY Traitors:[]
Fri 10/16 11:53:04.319 [Carny@1678972] CARNY finished in 56605ms
__________________
Server: Intel i5-2400 @3.1GHz 4 cores Windows 8.1 Pro, Sage 9.2.1 with Comskip
Capture: OTA; Comcast to HD-PVR, HDHR, HDHR Prime with Firmware version 20150826 and OpenDCT version 0.5.13 beta
Storage: 1Tb HD on Server, 2Tb Buffalo NAS
Network: Gb Buffalo Router, Gb 8-port Netgear Switch connected to Server, HD-200, NAS, HDHR, Prime, LAN
Playback: HD-200, Server to HDTV; HD-300 and Emby for off-site playback
Tech Level: Hobbyist
Reply With Quote
  #7  
Old 10-17-2020, 04:21 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 2,422
It seems fairly clear that it's a network speed issue. To answer an earlier question, I'm pretty sure 98% of the media files coming in from your Prime are higher than 3000 kbps, and if you receive local channels, they can climb as high as 15,000 kbps.

When you check the upload speed at your server end and the download speed at your client end (hopefully neither are via cellular data), does it test consistently at the same speed throughout a given day and week? Things like speedtest.net are consumer friendly, but over time, it seems that maybe the ISP's are giving a nice, clean path to speedtest.net to always give their best results, which may not be the case between your two endpoints.

Have you tried using a laptop on your client end to connect to a PC at the server end? Maybe trying to move a file manually via remote desktop and checking the speed, or using Hamachi VPN to do something similar?
Reply With Quote
  #8  
Old 10-17-2020, 04:33 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 2,422
On your server end, are there any connected devices that are attempting to send data periodically? Peer-to-peer file sharing, hosting a website/ftp site, Win 10 peer-to-peer sharing it's updates ... etc.
Reply With Quote
  #9  
Old 10-17-2020, 08:36 PM
hb4 hb4 is offline
Sage Advanced User
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 210
The server is just used for Sage.

So you were able to tell from the log that the issue is with connection speed and not the miniclient or an incorrect setting somewhere? I'm using Teamviewer which doesn't tell me the file transfer speed, and am struggling with figuring out Hamachi; once I do and get a speed report I'll post it. Ookla tells me my remote DSL gives me between 4.5 and 6 mbs and I do seem to get more halts during popular internet usage times. Not many choices for better service here on this island; Ziply has promised that we will get fiber someday and the only other choice is a mom and pop cable system. With wind and whatever, the overhead DSL is more reliable than the overhead cable service (which is 6' higher on the pole, so trees hit it first).

If I remember correctly when I was using a slow 3G connection for Sage, Placeshifter seemed to meter the resolution rather than halt; it kind of feels like the miniclient is halting rather than metering.
__________________
Server: Intel i5-2400 @3.1GHz 4 cores Windows 8.1 Pro, Sage 9.2.1 with Comskip
Capture: OTA; Comcast to HD-PVR, HDHR, HDHR Prime with Firmware version 20150826 and OpenDCT version 0.5.13 beta
Storage: 1Tb HD on Server, 2Tb Buffalo NAS
Network: Gb Buffalo Router, Gb 8-port Netgear Switch connected to Server, HD-200, NAS, HDHR, Prime, LAN
Playback: HD-200, Server to HDTV; HD-300 and Emby for off-site playback
Tech Level: Hobbyist

Last edited by hb4; 10-17-2020 at 08:39 PM.
Reply With Quote
  #10  
Old 10-18-2020, 07:36 AM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 2,422
I don't know that Sage streaming has matured enough where it can accurately determine the speed between server and client, and then properly determine its level of transcoding/data throughput. When testing, I had exactly the same experience you did with freezes, so I started forcing the client data stream to fixed at 5000 kbps (about the server upload limit with one other family member connecting at 6000 kbps at the same time), and that seemed to solve it, so I decided the issue was with bandwidth.

You could try installing Channels DVR server and then run a speedtest (there's a speedtest inside Channels DVR) as a comparison from a client at the other end. I believe they have a trial period where you can run their entire system for 30 days or so, and then cancel before the trial is up.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firestick 4k- no video from Colossus 2? btrcp2000 Hardware Support 3 09-04-2020 02:33 PM
Minimum Up speed for internet connection? Spot SageTV Media Extender 6 11-16-2010 11:11 AM
Program remote Speed Key craigdthom Hardware Support 0 08-30-2010 06:21 AM
MCE Remote/Keyboard Speed Polypro Hardware Support 1 05-08-2006 06:20 AM
Hauppauge Silver remote... speed up? krutaw SageTV Software 0 01-29-2004 06:43 AM


All times are GMT -6. The time now is 08:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.