TsReader - IPTV H264 parser fix (1 Viewer)

Owlsroost

Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,539
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Hi folks,

    This is a porting across to the 'master' version of TsReader.ax of a bug fix which has been developed and tested in the experimental TsReader development thread.

    TsReader.ax is used by MP when playing live or recorded TV.

    It is a fix for Mantis issue 0003839: TsReader.ax H.264 parser does not detect NALU Start Codes in all cases

    This version of the code needs proper testing before the fix can be included in a future version of MP 1.2.x

    The source code for the fix is at https://github.com/MediaPortal/MediaPortal-1/tree/BUG-3839_TsReader_NALU_start_code_detection

    The fix modifies the H.264 NALU start code detection logic, which was failing to detect/handle correctly the start codes in some cases.

    Tony
     
    Last edited:

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,539
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Changelog:

    Initial version - 0.4.18

    This version is based on MP 1.2.3 codebase with the fix added.
     
    Last edited:

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,539
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Binaries attached - just close MP, unzip the file, make a backup copy of the original TsReader, then copy the new TsReader.ax into the MP program folder e.g. C:\Program Files\Team MediaPortal\MediaPortal

    Please test and report back - the more testing it gets the better :)

    If you find problems I need the log files please !
     

    Attachments

    • TsReader_0_4_18_H264_start_code_fix1.zip
      157.9 KB

    bc420

    MP Donator
  • Premium Supporter
  • March 15, 2012
    36
    1
    Bring Cash
    Home Country
    Canada Canada
    hey guys for working on this !! . it has been a while since i last looked on here i am going to install this tomorrow and test it ,am using 1.2.3 and will switch to 1.3.0 last time i had some problems with it crashing . i reverted back ,but if this fixes the freezing and crashing awesome ! i like the 1.3.0 features with few added things with tvserver , a very important part of mediaportal. will post back any issues with a logs thanks again(y)[DOUBLEPOST=1348471571][/DOUBLEPOST]shoot i should of read the dates lol already in the version i have !:LOL:
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    As far as I remember this is in MP 1.3.0 Alpha. So setting this to finished to avoid confusion. Correct me if I am wrong.
     

    Users who are viewing this thread

    Similar threads

    Is there a time limit for recordings. I've been trying to record over IPTV but the recordings seem to cut off after 3 hours exactly.
    Is there a time limit for recordings. I've been trying to record over IPTV but the recordings seem to cut off after 3 hours exactly.
    Is there a time limit for recordings. I've been trying to record over IPTV but the recordings seem to cut off after 3 hours exactly.
    Replies
    0
    Views
    414
    Many thanks:).
    Many thanks:).
    I have had to reinstall windows on my development machine (sigh...). I have lost the link to the source code for MP1. Would...
    Replies
    2
    Views
    438
    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
    10K
    To other people reading about this 'issue', Doskabouter provided me with a fix/patch. It is a modified version of tswriter.ax which solved the problem with dolby digital plus audio. I want to thank Doskabouter for all his time and energy he put into resolving this!!
    To other people reading about this 'issue', Doskabouter provided me with a fix/patch. It is a modified version of tswriter.ax which...
    Hi all, I could use some help with the following; OS: Win11 24H2 TV server: 1.37.000.0|x64 (working with Mediaportal for maybe 20...
    Replies
    4
    Views
    3K
    MP1 MP2 .mpd stream link DE
    I have a stream link for IPTV that is a .mpd. I can play the link in VLC and MPC-BE, but when I search for it in the TV servers it can not find it. The stream is HEVC with AAC audio. Does mediaportal not support .mpd streams?
    I have a stream link for IPTV that is a .mpd. I can play the link in VLC and MPC-BE, but when I search for it in the TV servers it...
    I have a stream link for IPTV that is a .mpd. I can play the link in VLC and MPC-BE, but when I search for it in the TV servers it...
    Replies
    0
    Views
    2K
    Top Bottom