Crashing on some IPTV channels (2 Viewers)

steviewunda

MP Donator
  • Premium Supporter
  • August 29, 2015
    19
    14
    73
    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

    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
    275
    MP1 MP2 IPTV in New Zealand DE
    The m3u8 has several extra entries on the first line of each entry. Eg. #EXTINF:-1 xui-id="{XUI_ID}" tvg-id="UK: BBC One Lon HD" tvg-name="BBC ONE FHD" tvg-logo="hxtps://bunnybox.media/logos/uk/bbc-one-uk.png" group-title="UK | Entertainment",BBC ONE FHD The standard m3u has just 1 entry. Eg. #EXTINF:-1,BBC ONE FHD
    The m3u8 has several extra entries on the first line of each entry. Eg. #EXTINF:-1 xui-id="{XUI_ID}" tvg-id="UK: BBC One Lon HD"...
    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
    13
    Views
    3K
    MP1 MP2 1.34 STB blasting for IPTV DE
    I'm downsizing my big honkin' HTPC case to a mini PC, which means the tried and true Hauppauge Colossus card that bridges the set top box into Mediaportal needs replaced with a different solution. I currently have HDMI from the STB to the colossus. Mediaportal is controlling the STB through a USBUIRT blaster and the blaster is...
    I'm downsizing my big honkin' HTPC case to a mini PC, which means the tried and true Hauppauge Colossus card that bridges the set...
    I'm downsizing my big honkin' HTPC case to a mini PC, which means the tried and true Hauppauge Colossus card that bridges the set...
    Replies
    0
    Views
    668
    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
    1K
    Thank you for the info and especially for your time. I've ordered a HDHomerun Flex Duo 2. I'm using a mini PC for TV, it's too small to fit any card from TBS. Hopefully the HDHomerun will work, and last longer than the previous HDHomerun I had (HDHomerun Extend HDTC-2US) which was hot to the touch and died after a couple years.
    Thank you for the info and especially for your time. I've ordered a HDHomerun Flex Duo 2. I'm using a mini PC for TV, it's too...
    I've been successfully using MediaPortal1 and TV Server 1.17 on Win7 for years, using first a HDHomerun tuner, when that died, a...
    Replies
    2
    Views
    202
    Top Bottom