[solved] Watching a record during recording stops sometimes (1 Viewer)

Owlsroost

Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    There is no 'TsReader.log' in the zip file?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    @Dominik König please create the folder "C:\ProgramData\Team MediaPortal\MediaPortal\Log" and then reproduce the issue again.
    TsReader seems not to create the logfolder by itself
     

    Dominik König

    Portal Member
    November 4, 2015
    16
    0
    Home Country
    Germany Germany
    So i created the folder and reproduced again. It seems that the logs created in "C:\ProgramData\Team MediaPortal\MediaPortal\Log" are not included in the collector zip? I added them manually.
    Kind regards,
    Dominik
     

    Attachments

    • MediaPortal2-Logs-2019-05-10-20.36.19.zip
      374.5 KB
    • DVBSubs.log
      17.2 KB
    • TsReader.log
      14.7 KB

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Yes, it looks like it's stopped due to running out of data to read (the 'demux:endoffile' in the log):

    Code:
    [2019-05-10 20:35:20,072] [1D8136F8] [4f6c] - demux:GetVideoStreamType(), FPS from DTS/PTS = 25.000000, DTSdiff/PTSdiff/MPEG2 = 0.120000/0.040000/0.040000, DTS/PTS count = 11/34
    [2019-05-10 20:35:20,072] [1D8136F8] [4f6c] - vidPin: Add pmt and set discontinuity L:1 B:1 fTime:0.229 SampCnt:0
    [2019-05-10 20:35:20,072] [1D8136F8] [4f6c] - Vid/Ref : 0.580, B-frame(00), Compensated = 0.236 ( 0.229 A/V buffers=03/24), Clk : 0.007000, SampCnt 0, stallPt 2.500
    [2019-05-10 20:35:20,087] [1D8136F8] [6574] - Aud/Ref : 0.953, Compensated = 0.754 ( 1.266 A/V buffers=03/23), Clk : 0.044000, SampCnt 3, Sleep 1 ms, stallPt 1.500
    [2019-05-10 20:35:20,146] [1D8136F8] [6574] - Aud/Ref : 1.097, Compensated = 0.898 ( 1.288 A/V buffers=02/23), Clk : 0.103000, SampCnt 4, Sleep 1 ms, stallPt 1.500
    [2019-05-10 20:35:20,167] [1D8136F8] [4f6c] - Vid/Ref : 0.620, B-frame(01), Compensated = 0.283 ( 0.159 A/V buffers=01/23), Clk : 0.124000, SampCnt 1, stallPt 2.500
    [2019-05-10 20:35:20,168] [1D8136F8] [4f6c] - Vid/Ref : 0.780, P-frame(05), Compensated = 0.472 ( 0.347 A/V buffers=01/22), Clk : 0.125000, SampCnt 2, stallPt 2.500
    [2019-05-10 20:35:20,340] [1D8136F8] [6574] - Aud/Ref : 1.241, Compensated = 1.042 ( 1.182 A/V buffers=04/13), Clk : 0.297000, SampCnt 5, Sleep 1 ms, stallPt 1.500
    [2019-05-10 20:35:25,454] [1D8136F8] [64dc] - CTsReaderFilter::Duration - correction to predicted duration: 14.398 s
    [2019-05-10 20:35:29,748] [1D8136F8] [64dc] - CTsReaderFilter::Duration - correction to predicted duration: 14.398 s
    [2019-05-10 20:35:33,550] [1D8136F8] [8f94] - demux:endoffile
    [2019-05-10 20:35:33,612] [1D8136F8] [64dc] - CTsReaderFilter:: DurationThread -> idle
    [2019-05-10 20:35:34,547] [1D8136F8] [6574] - audPin:set eof
    [2019-05-10 20:35:34,549] [1D8136F8] [5778] - subPin:set eof
    [2019-05-10 20:35:34,582] [1D8136F8] [4f6c] - vidPin:set eof

    Can you repeat the test but wait for a few minutes after the recording has started before starting play please?
     

    Dominik König

    Portal Member
    November 4, 2015
    16
    0
    Home Country
    Germany Germany
    Well, here you go...
     

    Attachments

    • DVBSubs.log
      16.6 KB
    • TsReader.log
      30.8 KB
    • MediaPortal2-Logs-2019-05-11-18.33.42.zip
      416.4 KB

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    The first file played in TsReader.log stopped after about 4 1/2 minutes (the file duration reported by TsReader at start of play was about 4 1/2 minutes).

    Code:
    [2019-05-11 18:28:10,609] [1BBD5378] [9078] - Vid/Ref : 1.224, ?-frame(00), Compensated = 0.217 ( -0.104 A/V buffers=02/49), Clk : 0.322000, SampCnt 4, stallPt 2.500
    [2019-05-11 18:28:10,612] [1BBD5378] [9078] - Vid/Ref : 1.264, ?-frame(00), Compensated = 0.305 ( -0.019 A/V buffers=02/48), Clk : 0.324000, SampCnt 5, stallPt 2.500
    [2019-05-11 18:28:15,502] [1BBD5378] [8178] - CTsReaderFilter::Duration - correction to predicted duration: 276.571 s
    [2019-05-11 18:28:19,904] [1BBD5378] [8178] - CTsReaderFilter::Duration - correction to predicted duration: 276.571 s
    [2019-05-11 18:32:46,318] [1BBD5378] [7d98] - demux:endoffile
    [2019-05-11 18:32:46,413] [1BBD5378] [8178] - CTsReaderFilter:: DurationThread -> idle
    [2019-05-11 18:32:48,132] [1BBD5378] [ ac8] - audPin:set eof
    [2019-05-11 18:32:48,133] [1BBD5378] [647c] - subPin:set eof
    [2019-05-11 18:32:48,146] [1BBD5378] [9078] - vidPin:set eof

    It's unable to read any file data when it stops - it seems almost like the NAS (or Windows) is taking a snapshot of the file length when the client opens the file, and refusing to supply data beyond that point... (note: Windows to Windows file shares work OK in this situation e.g. reading recordings from a remote TV Server in an MP1 client - server setup)

    Does it work OK if the recordings are written to a local disk, not a remote NAS?
     

    Dominik König

    Portal Member
    November 4, 2015
    16
    0
    Home Country
    Germany Germany
    Hey guys,
    I now moved all my recordings to a local folder on the server. I created a fileshare pointing to that folder, and chose this share as UNC path in the settings of the tv server als recording folder.
    Everything in the environment still works fine.

    Except I still get the same behaviour. The playback of the recording is stopped when the initial file lenght of the recording is reached. There seems to be no update on recording file size.

    Logs again attached.

    Kind regards,
    Dominik
     

    Attachments

    • MediaPortal2-Logs-2019-05-17-16.52.11.zip
      479.2 KB
    • DVBSubs.log
      16.2 KB
    • TsReader.log
      15.3 KB

    Dominik König

    Portal Member
    November 4, 2015
    16
    0
    Home Country
    Germany Germany
    Hey guys,
    I mirgrated server and all clients. Same behaviour. Example recording was the "Tatort" from today.
     

    Attachments

    • DVBSubs.log
      118.7 KB
    • TsReader.log
      17.1 KB
    • MediaPortal2-Logs-2019-05-26-20.32.53.zip
      456.8 KB
    Last edited:

    Users who are viewing this thread

    Top Bottom