Problem with Recordings (1 Viewer)

charliekay74

Portal Pro
June 6, 2015
115
9
Home Country
Germany Germany
i have the problem, that in TV recordings every 10 or 20 minutes there is a
small skip in between is missing 5 or so seconds.of the video. what can i do to solve the problem?
i did a fresh install some months ago. then it worked a while. now ive got the same
problem again. im using parallel Kodi for watching recordings. using Kodi with some
cpu intensive addons for twitter. Can there be a connection
to, that the cpu is heavily used and because of that there are these skips?

Windows 8.1, Media Portal 1.13, DVB-T 2 x Dual Tuner Cards,
 

charliekay74

Portal Pro
June 6, 2015
115
9
Home Country
Germany Germany
here are the logs. i updated mp from 1.12 to 1.14 but the problem is still there. the recorded tv show "heute-show" from 2016-04-29 has for example the problem with skips inside
 

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    I am a confused by your logs:

    I can't find anything relating to starting and stopping of recordings - this might be related to the fact that you are using Kodi, which we are not supporting.

    The other thing is that your logs are really full of entries like
    [2016-04-30 20:39:13,008] [Log ] [12 ] [INFO ] - RTSP: add stream A16D8720 file:E:\Recorded TV\Heidi (1).ts
    [2016-04-30 20:39:13,015] [Log ] [12 ] [INFO ] - Controller: streaming url:rtsp://wohnzimmerp:554/A16D8720 file:E:\Recorded TV\Heidi (1).ts
    [2016-04-30 20:39:13,025] [Log ] [12 ] [INFO ] - RTSP: add stream DC534F43 file:E:\Recorded TV\Heidi (2).ts
    [2016-04-30 20:39:13,029] [Log ] [12 ] [INFO ] - Controller: streaming url:rtsp://wohnzimmerp:554/DC534F43 file:E:\Recorded TV\Heidi (2).ts
    [2016-04-30 20:39:13,035] [Log ] [12 ] [INFO ] - RTSP: add stream 1DABA8AB file:E:\Recorded TV\heute - S.ts
    [2016-04-30 20:39:13,042] [Log ] [12 ] [INFO ] - Controller: streaming url:rtsp://wohnzimmerp:554/1DABA8AB file:E:\Recorded TV\heute - S.ts
    [2016-04-30 20:39:13,052] [Log ] [12 ] [INFO ] - RTSP: add stream 76BDE52E file:E:\Recorded TV\heute-journal.ts
    [2016-04-30 20:39:13,059] [Log ] [12 ] [INFO ] - Controller: streaming url:rtsp://wohnzimmerp:554/76BDE52E file:E:\Recorded TV\heute-journal.ts
    [2016-04-30 20:39:13,065] [Log ] [12 ] [INFO ] - RTSP: add stream 80A1485C file:E:\Recorded TV\heute-show - S.ts
    [2016-04-30 20:39:13,068] [Log ] [12 ] [INFO ] - Controller: streaming url:rtsp://wohnzimmerp:554/80A1485C file:E:\Recorded TV\heute-show - S.ts
    [2016-04-30 20:39:13,078] [Log ] [12 ] [INFO ] - RTSP: add stream BE0FABA7 file:E:\Recorded TV\heute-show - S_1.ts
    [2016-04-30 20:39:13,081] [Log ] [12 ] [INFO ] - Controller: streaming url:rtsp://wohnzimmerp:554/BE0FABA7 file:E:\Recorded TV\heute-show - S_1.ts
    [2016-04-30 20:39:13,089] [Log ] [12 ] [INFO ] - RTSP: add stream A70ADA55 file:E:\Recorded TV\heute-show_1.ts
    [2016-04-30 20:39:13,092] [Log ] [12 ] [INFO ] - Controller: streaming url:rtsp://wohnzimmerp:554/A70ADA55 file:E:\Recorded TV\heute-show_1.ts
    [2016-04-30 20:39:13,097] [Log ] [12 ] [INFO ] - RTSP: add stream A2E29CC3 file:E:\Recorded TV\heute.ts
    [2016-04-30 20:39:13,100] [Log ] [12 ] [INFO ] - Controller: streaming url:rtsp://wohnzimmerp:554/A2E29CC3 file:E:\Recorded TV\heute.ts
    [2016-04-30 20:39:13,110] [Log ] [12 ] [INFO ] - RTSP: add stream 20B9FDB9 file:E:\Recorded TV\Im Knast.ts
    [2016-04-30 20:39:13,113] [Log ] [12 ] [INFO ] - Controller: streaming url:rtsp://wohnzimmerp:554/20B9FDB9 file:E:\Recorded TV\Im Knast.ts
    [2016-04-30 20:39:13,124] [Log ] [12 ] [INFO ] - RTSP: add stream DD3EC173 file:E:\Recorded TV\Inas Nacht - S.ts
    [2016-04-30 20:39:13,129] [Log ] [12 ] [INFO ] - Controller: streaming url:rtsp://wohnzimmerp:554/DD3EC173 file:E:\Recorded TV\Inas Nacht - S.ts
    [2016-04-30 20:39:13,136] [Log ] [12 ] [INFO ] - RTSP: add stream B67564F0 file:E:\Recorded TV\Inas Nacht_1.ts
    [2016-04-30 20:39:13,141] [Log ] [12 ] [INFO ] - Controller: streaming url:rtsp://wohnzimmerp:554/B67564F0 file:E:\Recorded TV\Inas Nacht_1.ts
    [2016-04-30 20:39:13,149] [Log ] [12 ] [INFO ] - RTSP: add stream 13CDF055 file:E:\Recorded TV\Inas Nacht_2.ts
    [2016-04-30 20:39:13,152] [Log ] [12 ] [INFO ] - Controller: streaming url:rtsp://wohnzimmerp:554/13CDF055 file:E:\Recorded TV\Inas Nacht_2.ts
    [2016-04-30 20:39:13,160] [Log ] [12 ] [INFO ] - RTSP: add stream 6749B942 file:E:\Recorded TV\Kitchen Impossible - S_1.ts
    [2016-04-30 20:39:13,163] [Log ] [12 ] [INFO ] - Controller: streaming url:rtsp://wohnzimmerp:554/6749B942 file:E:\Recorded TV\Kitchen Impossible - S_1.ts
    Note that all these streams are simultaneous.

    Actually there is no log from 29-04, the oldest one (TVService.4) is starting on 30-04. This is kind of weird since normally a new server log is only created if either the service is restarted or the file size exceeds approx. 4 MB - while your's are only some 450 kB in size.

    The fact that the same TV show gets recorded in multiple pieces suggests that something is happening on the server. This could either be a break-off of the tuner signal, a stop of the service itself followed by automatic restarting or maybe an overloaded system. The event log is not showing anything like a service restart. UNfortunately your logs don't cover the respective time frame.

    Could you stop the service please, clear the log directory, restart the service, record a show and then collect new logs?
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    The other thing is that your logs are really full of entries like
    This is normal for KODI. Their plugin makes a stream for each available recording when TV Server starts up.

    I think the problem is probably caused by running out of space on your recording drive. There are many entries like this in the TsWriter log file:
    [2016-05-01 01:08:35,705] [111daf8] [13f8] - Recorder:unable to write file:'E:\Recorded TV\heute-show_11.ts' 112 255868 1410

    The 112 part is the Windows system error code:
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx

    As you can see, 112 means:
    ERROR_DISK_FULL
    112 (0x70)
    There is not enough space on the disk.

    Your system info tells me that your recording drive only has 1.4 GB of free space:
    Drive: E:
    Free Space: 1.4 GB
    Total Space: 1907.7 GB
    File System: NTFS
    Model: Intenso USB 3.0 Device USB Device

    TV Server's disk quota feature (automatically deletes old recordings to make space for new ones) is enabled, so TV Server is making more space for you:
    [collapse][2016-05-01 01:13:57,019] [Log ] [13 ] [INFO ] - DiskManagement: checking free disk space
    [2016-05-01 01:13:57,022] [Log ] [13 ] [DEBUG] - Quota GetDisks: E:
    [2016-05-01 01:13:57,024] [Log ] [13 ] [DEBUG] - DiskManagement: minimiumFreeDiskSpace for E: is 512000
    [2016-05-01 01:13:57,025] [Log ] [13 ] [INFO ] - DiskManagement: Drive E: is out of free space!
    [2016-05-01 01:13:57,025] [Log ] [13 ] [INFO ] - DiskManagement: Has: 16384 Minimum Set: 524288000
    [2016-05-01 01:13:57,026] [Log ] [13 ] [INFO ] - DiskManagement: not enough free space on drive: E:
    [2016-05-01 01:13:57,072] [Log ] [13 ] [INFO ] - DiskManagement: found 570 recordings
    ...
    [2016-05-01 01:13:57,218] [Log ] [13 ] [DEBUG] - DeleteRecordingOnDisk: 'E:\Recorded TV\ARD-Morgenmagazin_4.ts'
    [2016-05-01 01:13:57,220] [Log ] [13 ] [DEBUG] - - deleting 'E:\Recorded TV\ARD-Morgenmagazin_4.ts'
    [2016-05-01 01:13:57,752] [Log ] [13 ] [DEBUG] - - deleting 'E:\Recorded TV\ARD-Morgenmagazin_4.xml'
    [2016-05-01 01:13:57,852] [Log ] [13 ] [DEBUG] - - deleting 'C:\ProgramData\Team MediaPortal\MediaPortal TV Server\thumbs\ARD-Morgenmagazin_4.jpg'
    [2016-05-01 01:13:57,868] [Log ] [13 ] [DEBUG] - RecordingFileHandler: Clean orphan recording dirs for E:\Recorded TV\ARD-Morgenmagazin_4.ts
    [2016-05-01 01:13:57,871] [Log ] [13 ] [DEBUG] - RecordingFileHandler: Checking 1 path(s) for cleanup
    [2016-05-01 01:13:57,871] [Log ] [13 ] [DEBUG] - RecordingFileHandler: Origin for recording ARD-Morgenmagazin_4.ts found: E:\Recorded TV[/collapse]

    ...but not fast enough.

    I suggest you do one or more of:
    1. Clean up your E: drive.
    2. Record on C:, D:, G: or H:, which all have more free space than E:.
    3. Increase the disk quota minimum free space setting. The free space check runs every 15 minutes. Your current minimum free space setting (512 MB) is too low, because 512 MB can be filled in approximately 7 minutes by a single HD channel recording. You probably need to set it to at least 1.25 GB x [maximum number of simultaneous recordings] for safety.

    Regards,
    mm
     

    pünktchen

    Portal Pro
    October 26, 2010
    537
    201
    Home Country
    Germany Germany
    This is normal for KODI. Their plugin makes a stream for each available recording when TV Server starts up.

    I don't think so. As far as i know the rtsp access from within the Kodi plugin is broken since a very long time.
    Normally the plugin uses unc via a shared folder to access the recordings.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    @pünktchen
    You're talking about the client side plugin for KODI, but I was talking about the server side plugin for TV Server.
    I wouldn't know if the client side RTSP support is broken, because I don't use KODI... but it wouldn't matter even if it is. I still know that KODI is setting up those streams, and that's all that I was trying to say. :)
     

    charliekay74

    Portal Pro
    June 6, 2015
    115
    9
    Home Country
    Germany Germany
    Thanks for your suggestions so far. i try to expand my disk quota. i put it on 5000mb(4 Tuner x 1,25=5000). in the meantime i made a fresh setup for the tv settings, and changed from pci dvbt dual tuner cards to two usb dual tuner sticks. but the problem was still there. lets see what the disk quata changiings do.[DOUBLEPOST=1462175575][/DOUBLEPOST]new logs after some more recordings. disk quota and disk cleaning is not considered.


    UPDATE: It seems that changing at the disk quota section solved the problem. since one day no problems. i will further take a look on it. thanks to the experts for help.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom