Crashing on some IPTV channels (1 Viewer)

steviewunda

MP Donator
  • Premium Supporter
  • August 29, 2015
    19
    14
    74
    Home Country
    New Zealand New Zealand
    Totally understandable - I'll remind you once a month, and sooner or later the planets will line up ;-)
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,539
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    I've spent some time investigating the issue.

    The problem appears to be caused by missing or corrupted PCR timestamps in the file (which is why the duration of the file looks wrong e.g. 1.6 seconds instead of the actual 2 minutes 9 seconds. The file data from Mediainfo:

    Code:
    General
    ID                                       : 4 (0x4)
    Complete name                            : D:\Video\TV Server\Movie - US _ HBO 2 - 2019-03-13_1.ts
    Format                                   : MPEG-TS
    File size                                : 80.2 MiB
    Duration                                 : 1 s 600 ms
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 417 Mb/s
    
    Video
    ID                                       : 48 (0x30)
    Menu ID                                  : 137 (0x89)
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : Main@L3.1
    Format settings                          : CABAC / 1 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, RefFrames               : 1 frame
    Format settings, GOP                     : M=1, N=60
    Codec ID                                 : 27
    Duration                                 : 2 min 9 s
    Width                                    : 1 280 pixels
    Height                                   : 720 pixels
    Display aspect ratio                     : 16:9
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Color range                              : Full
    Color primaries                          : BT.709
    Transfer characteristics                 : BT.709
    Matrix coefficients                      : BT.709
    
    Audio
    ID                                       : 64 (0x40)
    Menu ID                                  : 137 (0x89)
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format version                           : Version 4
    Format profile                           : LC
    Muxing mode                              : ADTS
    Codec ID                                 : 15
    Duration                                 : 2 min 8 s
    Bit rate mode                            : Variable
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 46.875 FPS (1024 SPF)
    Compression mode                         : Lossy
    Delay relative to video                  : -101 ms

    Note the video and audio stream durations (based on the presentation timestamps) are correct, but the 'general' duration (based on PCR timestamps) is only 1.6 seconds.

    MP uses the 'general' PCR timestamps to determine the file duration and also when seeking in the file (for skip steps and fast-forward/rewind) - so not having correct ones is fairly fundamental.

    I'm pretty sure this mismatch is causing the playback problems (both with MP and in Windows media player etc.) - basically in MP it appears to stop fetching data from the file after a while (so it freezes), but I haven't worked out why (yet).

    So no fix yet, but some progress.
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 IPTV struggle DE
    Hello nicholasclark, thank you for your reply. I was trying to get my Mum's MediaPortal TVPC up to date as the time has come to replace her television with a new "smart" TV. My though was not to get involved with the "Smart" TV, but get a dumb 4K LED Panel and run it from MediaPortal. Great to have a new TV with "The Smarts" but...
    Hello nicholasclark, thank you for your reply. I was trying to get my Mum's MediaPortal TVPC up to date as the time has come to...
    Good day folks. I am trying to get my Mediaportal 1 system connected to use IPTV and finding it a bit of a struggle. I do not know...
    Replies
    3
    Views
    709
    MP1 MP2 MP Shutting down DE
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird situation. Trakt website shows that episode as watched, but in onlinevideos (where i watched that episode) it still is not flagged as watched. The watched.json doesn't contain that episode but i think it...
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird...
    I have an issue that started in 1.37 and so I updated to 1.38 and updated all my installed plugins but the issue has continued. My...
    Replies
    6
    Views
    1K
    ok, i've fixed parsing and did a couple of other optimizations. Also officially published this site, so everybody can use it
    ok, i've fixed parsing and did a couple of other optimizations. Also officially published this site, so everybody can use it
    Hi! I am trying to get the m3u files from GitHub - iptv-org/iptv: Collection of publicly available IPTV channels from all over the...
    Replies
    4
    Views
    14K
    Hello everyone. This isn't directly related to the issue discussed, but I noticed some people were looking for a recording splitter, and I'd personally recommend TSDoctor: Cypheros TS-Doctor Video Editor and Konverter It's commercial software but there is a trial option. It can do pretty much every thing you can imagine with TS files...
    Hello everyone. This isn't directly related to the issue discussed, but I noticed some people were looking for a recording...
    Hi, I've been using MP1 for many years but am new to the forum. When watching recorded TV shows with subtitles, normally they are...
    Replies
    40
    Views
    3K
    It's getting weirder..... If I remove all the IP cards in the TVServer setup and then add them back I can scan the M3u and tune the stations but if I rescan it on the same card it just keeps updating the 1 channel. My brain is melting.........
    It's getting weirder..... If I remove all the IP cards in the TVServer setup and then add them back I can scan the M3u and tune the...
    Having great fun with this still. I have a fairly good PC setup, Ryzen 5 8500g, Msi Pro 650M-P with 32GB of RAM with a TBS 6281 and...
    Replies
    2
    Views
    2K
    Top Bottom