Watching In-Progress-Recordings

DVBLink Kodi PVR addon is discussed here

Watching In-Progress-Recordings

Postby gallagher1000 » Fri Nov 06, 2015 1:16 pm

Hello,

I have a Problem with watching In-Progress-Recordings. While watching these recordings the playback is stuttering every minute for a few seconds. The problem does not exist while watching finished recordings and also watching live-tv works fine. The behaviour is the same on both clients. What's the problem?

My System:

TV-Server: Windows 8.1, DVBLink 5.1
Client 1: OpenElec 5.0.8 (Kodi 14.2)
Client 2: Windows 8.1, Kodi 14.2

If you need further Information, just let me know.
gallagher1000
 
Posts: 4
Joined: Fri Nov 06, 2015 1:04 pm


Re: Watching In-Progress-Recordings

Postby the_man » Fri Nov 06, 2015 1:36 pm

It would be more correctly and informatively if you did an update of dvblink server and dvblink pvr addon for kodi.
The latest versions are: dvblink server is V5.5, Kodi 15.2, dvblink pvr addon 1.10.9
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: Watching In-Progress-Recordings

Postby gallagher1000 » Mon Nov 16, 2015 5:12 pm

OK, I have done the update:

dvblink Server: Version is 5.5
Kodi: Version is 15.2 (OpenElec-Clients Version 6.0.0)
DVBLink PVR Addon: Version is 1.10.9

The Problem is exactly the same...
gallagher1000
 
Posts: 4
Joined: Fri Nov 06, 2015 1:04 pm

Re: Watching In-Progress-Recordings

Postby gallagher1000 » Fri Nov 20, 2015 4:09 pm

Any suggestions to solve the Problem?
gallagher1000
 
Posts: 4
Joined: Fri Nov 06, 2015 1:04 pm

Re: Watching In-Progress-Recordings

Postby the_man » Fri Nov 20, 2015 5:18 pm

I can't reproduce the issue. In my case the server on windows 7, and client is on RPI2 openelec 6.0.
Started a recording, waited a minute and stated playback, the video is smooth without any stuttering or freezing.
Please, set log level to info, restart dvblink server, reproduce the issue and attach zipped log files here.
Also it would be nice if you will write your scenario, step-by-step, maybe i've missed something
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: Watching In-Progress-Recordings

Postby Legolover » Sun Nov 22, 2015 9:56 pm

Same thing happens to me.
Se attached DVBlink log.
Happening while watching ongoing recording of Søndagsrevyen. The show had been recording for 7 minutes when we started watching from the start.
Recording disk is mechanical spinner.
Tested with 4 simultaneous HD recordings while watching a previous recoded HD show. Works fine.
Problem is watching the show currently being recorded.
Specs in signature.

Kodi logs at that time also attached.

Cheers.
Attachments
kodiLog.zip
(1.86 KiB) Downloaded 164 times
dvblink-log-20151122-1913.zip
(113.46 KiB) Downloaded 145 times
Intel i5 4690, 16GB RAM, 250GB M.2 SSD(OS), 1x 1TB WD Green, 3x 2TB WD Green, 2x 3TB WD Green, intel HD4600
Windows 10 Pro 64Bit, DVBLink server 5.5.0 12217 TVSource 5.5.0 12217, 4xDD DVBC tuners, Kodi 16RC3
Legolover
 
Posts: 39
Joined: Sun Oct 31, 2010 1:29 am

Re: Watching In-Progress-Recordings

Postby Legolover » Tue Dec 01, 2015 9:52 pm

The logs provided above was for a previous 5.5.0 build of the server.
Updated to DVBLink server 5.5.0 11998 TVSource 5.5.0 11904, but the problem remains.
Intel i5 4690, 16GB RAM, 250GB M.2 SSD(OS), 1x 1TB WD Green, 3x 2TB WD Green, 2x 3TB WD Green, intel HD4600
Windows 10 Pro 64Bit, DVBLink server 5.5.0 12217 TVSource 5.5.0 12217, 4xDD DVBC tuners, Kodi 16RC3
Legolover
 
Posts: 39
Joined: Sun Oct 31, 2010 1:29 am

Re: Watching In-Progress-Recordings

Postby the_man » Wed Dec 02, 2015 1:21 pm

Do you have any other PC or another device where Kodi is running? If yes, try to reproduce the issue there.
And where is your dvblink server running?
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: Watching In-Progress-Recordings

Postby Spellman » Wed Dec 02, 2015 9:06 pm

I've been encountering the same problem with my Nvidia Shield. I have noticed for me the problem seems to go away if I switch from my ethernet cable to wifi oddly enough. I am wondering if it has something to do with the android system? I know earlier on amazon firetv's had a similar problem when streaming (any) files over a wired connection, but I haven't noticed the problem lately and have gone back to a wired connection on that. That firetv is a bedroom tv and isn't used as much as my shield (living room). I originally had an older avr receiver connected to the shield and was using a hdmi to spdif extractor to get my audio to it. The stutter was large enough that it would trip the audio signal and I would loose a few seconds of audio. I got a newer avr that is compliant for all the current audio formats, and no longer using the splitter, and now it only garbles and pops a few times when it happens. I am using the latest jarvis nightly and 5.5.1 dvblink, but I haven't manually installed the latest pvr addon on that device yet. I know there is an issue somewhere, just not sure what portion of the chain is giving this stutter (dvblink, android on ethernet, or kodi). Unfortunately I don't have a log file to post at this time.

edit: I should also note that I'm not seeing this issue on my windows machines.
Spellman
 
Posts: 1
Joined: Wed Dec 02, 2015 8:28 pm

Re: Watching In-Progress-Recordings

Postby Legolover » Thu Dec 03, 2015 11:04 pm

the_man wrote:Do you have any other PC or another device where Kodi is running? If yes, try to reproduce the issue there.
And where is your dvblink server running?


Just tried Kodi 15.2 on another Windows machine, and problem was seen there also. (Win10 Pro, Gbits/s eth cabel)
dvblink server is running on localhost PC. Specs as in signature.

Also tried playing back a current recording from the WEB interface, but the download.m3u just played up to the point where it was downloaded, so that test was not so good.
Intel i5 4690, 16GB RAM, 250GB M.2 SSD(OS), 1x 1TB WD Green, 3x 2TB WD Green, 2x 3TB WD Green, intel HD4600
Windows 10 Pro 64Bit, DVBLink server 5.5.0 12217 TVSource 5.5.0 12217, 4xDD DVBC tuners, Kodi 16RC3
Legolover
 
Posts: 39
Joined: Sun Oct 31, 2010 1:29 am

Re: Watching In-Progress-Recordings

Postby Legolover » Sun Dec 06, 2015 8:18 pm

Took a look in the log files myself.
Both the DVBlink server and the Kodi client is on the same W8 machine.

A normal playback of a finished recording only has 3 log entries: (watch for ~90s, no discontinued playback)

Code: Select all
2015-Dec-06 20:01:52:   [I] playback_ns_client_t::playback_thread_func: reading starting at 471583336, number of bytes 3516556920
2015-Dec-06 20:03:27:   [I] playback_ns_client_t::handle_write: http write error. connection will be closed
2015-Dec-06 20:03:27:   [I] playback_ns_client_t::handle_write: http write error. connection will be closed


When this recording was ongoing, playing it back caused discontinued playback for some seconds, then it automatically continues. Log in this case is full of http write error. connection will be closed
Here is the log for 3 such 'pauses':

Code: Select all
2015-Dec-06 19:41:10:   [I] playback_ns_client_t::handle_write: http write error. connection will be closed
2015-Dec-06 19:41:10:   [I] playback_ns_client_t::handle_write: http write error. connection will be closed
2015-Dec-06 19:41:10:   [I] ns_playback_objects_t::start_object_streaming. Request for object F6F08949-2A07-4074-9E9D-423D877270BB/87-11330000-1449424800 of source 7e193489-2e9a-4e67-99c9-b3ada3dd6a34
2015-Dec-06 19:41:10:   [I] rtv_source_t::handle. Opening file I:\DVBLink\recorded\Sndagsrevyen-1900_20151206-87-11330000-1449424800.ts
2015-Dec-06 19:41:10:   [I] playback_ns_client_t::get_start_offset: Seek position 0, bytes to read 0
2015-Dec-06 19:41:10:   [I] playback_ns_client_t::playback_thread_func: reading starting at 0, number of bytes 3352563712
2015-Dec-06 19:41:10:   [I] ns_playback_objects_t::start_object_streaming. Request for object F6F08949-2A07-4074-9E9D-423D877270BB/87-11330000-1449424800 of source 7e193489-2e9a-4e67-99c9-b3ada3dd6a34
2015-Dec-06 19:41:10:   [I] rtv_source_t::handle. Opening file I:\DVBLink\recorded\Sndagsrevyen-1900_20151206-87-11330000-1449424800.ts
2015-Dec-06 19:41:10:   [I] playback_ns_client_t::get_start_offset: Seek position 376930304, bytes to read 0
2015-Dec-06 19:41:10:   [I] playback_ns_client_t::playback_thread_func: reading starting at 376930304, number of bytes 2975698944
2015-Dec-06 19:41:26:   [I] playback_ns_client_t::handle_write: http write error. connection will be closed
2015-Dec-06 19:41:26:   [I] playback_ns_client_t::handle_write: http write error. connection will be closed
2015-Dec-06 19:41:26:   [I] ns_playback_objects_t::start_object_streaming. Request for object F6F08949-2A07-4074-9E9D-423D877270BB/87-11330000-1449424800 of source 7e193489-2e9a-4e67-99c9-b3ada3dd6a34
2015-Dec-06 19:41:26:   [I] rtv_source_t::handle. Opening file I:\DVBLink\recorded\Sndagsrevyen-1900_20151206-87-11330000-1449424800.ts
2015-Dec-06 19:41:26:   [I] playback_ns_client_t::get_start_offset: Seek position 0, bytes to read 0
2015-Dec-06 19:41:26:   [I] playback_ns_client_t::playback_thread_func: reading starting at 0, number of bytes 3364876288
2015-Dec-06 19:41:26:   [I] ns_playback_objects_t::start_object_streaming. Request for object F6F08949-2A07-4074-9E9D-423D877270BB/87-11330000-1449424800 of source 7e193489-2e9a-4e67-99c9-b3ada3dd6a34
2015-Dec-06 19:41:26:   [I] rtv_source_t::handle. Opening file I:\DVBLink\recorded\Sndagsrevyen-1900_20151206-87-11330000-1449424800.ts
2015-Dec-06 19:41:26:   [I] playback_ns_client_t::get_start_offset: Seek position 400556032, bytes to read 0
2015-Dec-06 19:41:26:   [I] playback_ns_client_t::playback_thread_func: reading starting at 400556032, number of bytes 2964381696
2015-Dec-06 19:41:57:   [I] rtv_content_storage_t::check_and_reload_content: Reading recorded content from recorder
2015-Dec-06 19:42:14:   [I] playback_ns_client_t::handle_write: http write error. connection will be closed
2015-Dec-06 19:42:14:   [I] playback_ns_client_t::handle_write: http write error. connection will be closed
2015-Dec-06 19:42:14:   [I] ns_playback_objects_t::start_object_streaming. Request for object F6F08949-2A07-4074-9E9D-423D877270BB/87-11330000-1449424800 of source 7e193489-2e9a-4e67-99c9-b3ada3dd6a34
2015-Dec-06 19:42:14:   [I] rtv_source_t::handle. Opening file I:\DVBLink\recorded\Sndagsrevyen-1900_20151206-87-11330000-1449424800.ts
2015-Dec-06 19:42:15:   [I] playback_ns_client_t::get_start_offset: Seek position 0, bytes to read 0
2015-Dec-06 19:42:15:   [I] playback_ns_client_t::playback_thread_func: reading starting at 0, number of bytes 3419848704
2015-Dec-06 19:42:15:   [I] ns_playback_objects_t::start_object_streaming. Request for object F6F08949-2A07-4074-9E9D-423D877270BB/87-11330000-1449424800 of source 7e193489-2e9a-4e67-99c9-b3ada3dd6a34
2015-Dec-06 19:42:15:   [I] rtv_source_t::handle. Opening file I:\DVBLink\recorded\Sndagsrevyen-1900_20151206-87-11330000-1449424800.ts
2015-Dec-06 19:42:15:   [I] playback_ns_client_t::get_start_offset: Seek position 439812096, bytes to read 0
2015-Dec-06 19:42:15:   [I] playback_ns_client_t::playback_thread_func: reading starting at 439812096, number of bytes 2980106240


Any hope for some feedback on this case?
Intel i5 4690, 16GB RAM, 250GB M.2 SSD(OS), 1x 1TB WD Green, 3x 2TB WD Green, 2x 3TB WD Green, intel HD4600
Windows 10 Pro 64Bit, DVBLink server 5.5.0 12217 TVSource 5.5.0 12217, 4xDD DVBC tuners, Kodi 16RC3
Legolover
 
Posts: 39
Joined: Sun Oct 31, 2010 1:29 am

Re: Watching In-Progress-Recordings

Postby gallagher1000 » Sun Dec 13, 2015 7:37 pm

Today I've been taken some time on the problem again. My log files look nearly the same while watching In-Progress-recordings. About every Minute I got a drop-out. Then I checked the task manager on my TV-Server where dvblink-sever is running and found out, that the Windows Defender is busy on the disk where my recordings are stored when the drop-outs are happening. Deactivating the Real-Time-Security of the Windows Defender stopped the drop-outs.
I have to test a little bit more, but for the Moment everything looks fine...

@Legolover: Maybe you can test this on your side and give us some feedback?
gallagher1000
 
Posts: 4
Joined: Fri Nov 06, 2015 1:04 pm

Re: Watching In-Progress-Recordings

Postby Legolover » Mon Dec 14, 2015 1:58 am

Hmm, seems like you are on to something @gallagher1000

I just added *.ts to the 'Excluded file types' and could leave the defender real-time protection enabled.

Tested it some 10-15 minutes now. Looks good. :D

An added bonus it that it seems that Recordings are quicker to start playing as well. :)
Intel i5 4690, 16GB RAM, 250GB M.2 SSD(OS), 1x 1TB WD Green, 3x 2TB WD Green, 2x 3TB WD Green, intel HD4600
Windows 10 Pro 64Bit, DVBLink server 5.5.0 12217 TVSource 5.5.0 12217, 4xDD DVBC tuners, Kodi 16RC3
Legolover
 
Posts: 39
Joined: Sun Oct 31, 2010 1:29 am

Re: Watching In-Progress-Recordings

Postby Legolover » Wed Dec 16, 2015 12:46 am

Just excluding the *.ts files didn't quite do the trick.
If you want to leave the Real time protection on, exclude the whole recording folder and the dvblink_server.exe process in Windows Defender.

After I did this, playback of ongoing recording is smooth, recordings start to play much faster and fwd/rew skipping works 100% (if not; disable HW video accelerating) :D
Intel i5 4690, 16GB RAM, 250GB M.2 SSD(OS), 1x 1TB WD Green, 3x 2TB WD Green, 2x 3TB WD Green, intel HD4600
Windows 10 Pro 64Bit, DVBLink server 5.5.0 12217 TVSource 5.5.0 12217, 4xDD DVBC tuners, Kodi 16RC3
Legolover
 
Posts: 39
Joined: Sun Oct 31, 2010 1:29 am


Return to DVBLink Kodi PVR Addon

Who is online

Users browsing this forum: No registered users and 2 guests