Crashing on some IPTV channels (1 Viewer)

steviewunda

MP Donator
  • Premium Supporter
  • August 29, 2015
    19
    14
    72
    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,540
    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 in New Zealand DE
    that will only work if the username+password is in the m3u8 url. I have one like that and it works pretty ok
    that will only work if the username+password is in the m3u8 url. I have one like that and it works pretty ok
    I would love to get IPTV working on my Mediaportal. I have the TV server and three clients working great, but a recent power supply...
    Replies
    8
    Views
    793
    Hi, First off: there are some issues with the latest Mediaportal (32bits vs 64bits), so that is one of the issues you're stumbling with. If you take the previous version (1.31) it should work as expected. For IPTV there is also a different option (with different pros and cons): Onlinevideos. I'm using that sometimes for my IPTV as...
    Hi, First off: there are some issues with the latest Mediaportal (32bits vs 64bits), so that is one of the issues you're stumbling...
    Hi I am trying to play a m3u file from my IPTV provider, but when I try to install the TV part of Media Portal v1.3.2 I get an...
    Replies
    1
    Views
    654
    Didn't know computers are available in Canada's jails... :p
    Didn't know computers are available in Canada's jails... :p
    Hi folks, basically I have this m3u list with links I am trying to scan with the TV configuration tool but all the channels even...
    Replies
    5
    Views
    654
    This may or may not be a pause, after all, this is a playlist, it can constantly change, I don’t very well understand the mechanism of working with playlists in online broadcasts. Well, here you need to look at what is happening in the Media Portal player. And find someone who understands how it works.
    This may or may not be a pause, after all, this is a playlist, it can constantly change, I don’t very well understand the mechanism...
    I am running the latest "any cpu" version of the Radio Time plugin with MP 1.33 x64 which is working well except some of my...
    Replies
    22
    Views
    1K
    Hi, yes, you are right. The official x64 1.32 is buggy. You can try a new installers from this post if you like.
    Hi, yes, you are right. The official x64 1.32 is buggy. You can try a new installers from this post if you like.
    hi, I'm setting up a new computer and have installed MP 1.3.2 after a few goes and getting all the prereqs installed, I was...
    Replies
    3
    Views
    737
    Top Bottom