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

Owlsroost

Development Group
  • Team MediaPortal
  • October 28, 2008
    5,539
    5,037
    Cambridge
    United Kingdom United Kingdom
    Country flag
    There is no 'TsReader.log' in the zip file?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,391
    6,966
    Germany Germany
    Country flag
    @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
     

    Owlsroost

    Development Group
  • Team MediaPortal
  • October 28, 2008
    5,539
    5,037
    Cambridge
    United Kingdom United Kingdom
    Country flag
    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?
     

    Owlsroost

    Development Group
  • Team MediaPortal
  • October 28, 2008
    5,539
    5,037
    Cambridge
    United Kingdom United Kingdom
    Country flag
    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
    Germany Germany
    Country flag
    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

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    limpwhizkid 1.22.0 Stutter and or artifact problem when recording and watching the same live tv channel 1.22 2
    K sudden complication watching recorded TV Newcomers Forum 6
    zunixnuz TV recording is watched state 1.20 2
    M partially watched video/song/recorded tv show file text color + remember cursor in folders other features (of release or svn versions) 28
    M Recorded TV - Watched status is not updated 1.20 Pre Release 11
    regeszter General Watched status of recordings TV Engine 10
    g0rsq Info box randomly popping up when watching TV or other video MediaPortal 2 Newcomers Forum 1
    SpudR Forum Duplicate lines in 'Watched' Website/Forum/Wiki Feedback 2
    TLD Can not watch tv from remote clients Television (MyTV frontend and TV-Server) 19
    R Visual status of watched TV programs MediaPortal 1 Talk 2
    M How to Watch my videos from my Media Portal to My TV without TV Tuner Newcomers Forum 1
    Scheibes Automatischer Serienimport fehlerhaft (Share Watch) Allgemeines Support- und Diskussionsforum 18
    doskabouter Black screen while watching some iptv streams General Support 2
    A Flag Mover: backup and restore watched flags Plugin Development 33
    A Plugin to transfer watched states between two MP2 installations Archive 47
    CyberSimian MP 1.20: Watched percent sometimes incorrect MediaPortal 1 47
    Alberto83 [no Bug] Watched status not retained when rewatching an episode and stopping. Archive 49
    doskabouter Notification mail for new posts on watched threads Website/Forum/Wiki Feedback 5
    N Can't Watch DVB-T2 Channels General Support 44
    mp2-ulrich [solved] MP2 W10 watching tv not possible General 3
    P Multiple clients - share resume/watched data General 1
    SpudR Custom filter for partially watched movies Moving Pictures 5
    S Watched flag, strange behaviour My Films 0
    C Netflix My List & Continue Watching Blank OnlineVideos 4
    W Blu-ray chapter popups when watching from "Menu" - any way to disable them? watch/edit Videos 1
    Similar threads

























    Top Bottom