[fixed] live Tv freeze - 15- --> 30+ helps (1 Viewer)

FreakyJ

Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    AW: live Tv freeze - 15- --> 30+ helps

    Also make sure that the error can be reproduced with the splitted .ts file. It is possible that the error is happening after th first 50MB.
    sure I did, the errors are still there after splitting (only tested on my DesktopPC) :p

    the files will be available in ~1:15H, but I will make another post if the upload is finished :)

    The errors occur at:
    1. 00:19
    2. 00:50
    3. 01:32

    the 1, 2, 3 are in the same order as in my previous post here: https://forum.team-mediaportal.com/774405-post13.html

    It will (probably) fall back using TsReader.ax when you disable the internal MPC-HC splitter, so it points to TsReader.ax being the problem again.
    I checked your suggestion and you are right:

    "MPEG PS/TS/PVA" not ticked:
    Filter : MediaPortal File Reader - CLSID : {B9559486-E1BB-45D3-A2A2-9A7AFE49B23F}

    - Connected to:

    CLSID: {39F498AF-1A09-4275-B193-673B0BA3D478}
    Filter: MPC - MPEG-2 Video Decoder (Gabest)
    Pin: Video

    - Connection media type:

    Video: MPG2 720x576 (16:9) 25.00fps 15000kbps

    AM_MEDIA_TYPE:
    majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
    subtype: MEDIASUBTYPE_MPEG2_VIDEO {E06D8026-DB46-11CF-B4D1-00805F6CBBEA}
    formattype: FORMAT_MPEG2_VIDEO {E06D80E3-DB46-11CF-B4D1-00805F6CBBEA}
    bFixedSizeSamples: 0
    bTemporalCompression: 0
    lSampleSize: 1
    cbFormat: 218

    VIDEOINFOHEADER:
    rcSource: (0,0)-(0,0)
    rcTarget: (0,0)-(0,0)
    dwBitRate: 15000000
    dwBitErrorRate: 0
    AvgTimePerFrame: 400000

    VIDEOINFOHEADER2:
    dwInterlaceFlags: 0x00000000
    dwCopyProtectFlags: 0x00000000
    dwPictAspectRatioX: 16
    dwPictAspectRatioY: 9
    dwControlFlags: 0x00000000
    dwReserved2: 0x00000000

    MPEG2VIDEOINFO:
    dwStartTimeCode: 0
    cbSequenceHeader: 86
    dwProfile: 0x00000004
    dwLevel: 0x00000008
    dwFlags: 0x00000000

    BITMAPINFOHEADER:
    biSize: 40
    biWidth: 720
    biHeight: 576
    biPlanes: 0
    biBitCount: 0
    biCompression: MPG2
    biSizeImage: 0
    biXPelsPerMeter: 0
    biYPelsPerMeter: 0
    biClrUsed: 0
    biClrImportant: 0

    pbFormat:
    0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0020: c0 e1 e4 00 00 00 00 00 80 1a 06 00 00 00 00 00 Àáä.....€.......
    0030: 00 00 00 00 00 00 00 00 10 00 00 00 09 00 00 00 ................
    0040: 00 00 00 00 00 00 00 00 28 00 00 00 d0 02 00 00 ........(...Ð...
    0050: 40 02 00 00 00 00 00 00 4d 50 47 32 00 00 00 00 @.......MPG2....
    0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0070: 00 00 00 00 56 00 00 00 04 00 00 00 08 00 00 00 ....V...........
    0080: 00 00 00 00|00 00 01 b3 2d 02 40 33 24 9f 23 81 .......³-.@3$Ÿ#�
    0090: 10 11 11 12 12 12 13 13 13 13 14 14 14 14 14 15 ................
    00a0: 15 15 15 15 15 16 16 16 16 16 16 16 17 17 17 17 ................
    00b0: 17 17 17 17 18 18 18 19 18 18 18 19 1a 1a 1a 1a ................
    00c0: 19 1b 1b 1b 1b 1b 1c 1c 1c 1c 1e 1e 1e 1f 1f 21 ...............!
    00d0: 00 00 01 b5 14 82 00 01 00 00 ...µ.‚....

    - Enumerated media type 0:

    Set as the current media type

    "MPEG PS/TS/PVA" ticked:
    Filter : E:\MediaPortal\Recordings\live3-0.ts.tsbuffer1.ts - CLSID : {1365BE7A-C86A-473C-9A41-C0A6E82C9FA3}

    - Connected to:

    CLSID: {39F498AF-1A09-4275-B193-673B0BA3D478}
    Filter: MPC - MPEG-2 Video Decoder (Gabest)
    Pin: Video

    - Connection media type:

    Video: MPEG2 Video 720x576 (16:9) 25.00fps 15000kbps

    AM_MEDIA_TYPE:
    majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
    subtype: MEDIASUBTYPE_MPEG2_VIDEO {E06D8026-DB46-11CF-B4D1-00805F6CBBEA}
    formattype: FORMAT_MPEG2_VIDEO {E06D80E3-DB46-11CF-B4D1-00805F6CBBEA}
    bFixedSizeSamples: 1
    bTemporalCompression: 0
    lSampleSize: 1
    cbFormat: 218

    VIDEOINFOHEADER:
    rcSource: (0,0)-(0,0)
    rcTarget: (0,0)-(0,0)
    dwBitRate: 15000000
    dwBitErrorRate: 0
    AvgTimePerFrame: 400000

    VIDEOINFOHEADER2:
    dwInterlaceFlags: 0x00000000
    dwCopyProtectFlags: 0x00000000
    dwPictAspectRatioX: 16
    dwPictAspectRatioY: 9
    dwControlFlags: 0x00000000
    dwReserved2: 0x00000000

    MPEG2VIDEOINFO:
    dwStartTimeCode: 0
    cbSequenceHeader: 86
    dwProfile: 0x00000004
    dwLevel: 0x00000008
    dwFlags: 0x00000000

    BITMAPINFOHEADER:
    biSize: 40
    biWidth: 720
    biHeight: 576
    biPlanes: 0
    biBitCount: 0
    biCompression: 0
    biSizeImage: 0
    biXPelsPerMeter: 0
    biYPelsPerMeter: 0
    biClrUsed: 0
    biClrImportant: 0

    pbFormat:
    0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0020: c0 e1 e4 00 00 00 00 00 80 1a 06 00 00 00 00 00 Àáä.....€.......
    0030: 00 00 00 00 00 00 00 00 10 00 00 00 09 00 00 00 ................
    0040: 00 00 00 00 00 00 00 00 28 00 00 00 d0 02 00 00 ........(...Ð...
    0050: 40 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 @...............
    0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0070: 00 00 00 00 56 00 00 00 04 00 00 00 08 00 00 00 ....V...........
    0080: 00 00 00 00|00 00 01 b3 2d 02 40 33 24 9f 23 81 .......³-.@3$Ÿ#�
    0090: 10 11 11 12 12 12 13 13 13 13 14 14 14 14 14 15 ................
    00a0: 15 15 15 15 15 16 16 16 16 16 16 16 17 17 17 17 ................
    00b0: 17 17 17 17 18 18 18 19 18 18 18 19 1a 1a 1a 1a ................
    00c0: 19 1b 1b 1b 1b 1b 1c 1c 1c 1c 1e 1e 1e 1f 1f 21 ...............!
    00d0: 00 00 01 b5 14 82 00 01 00 00 ...µ.‚....

    - Enumerated media type 0:

    Set as the current media type
     

    cfforce

    MP Donator
  • Premium Supporter
  • March 4, 2008
    241
    21
    Home Country
    Netherlands Netherlands
    FreakyJ - the attached TsReader.ax should fix the failure to resume after stream interruptions/corruptions.

    Tony

    Hi Tony,
    I've tried the NoStopMod3 tsreader.ax, but it only works on SD Channels. (forcefull removed smartcard)
    I've attached the logs, (VH1 [OK] >> MTV HD [NOK] >> NGC HD [NOK] >> MTV Dance [OK])

    Hope this helps.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    AW: live Tv freeze - 15- --> 30+ helps

    So, the files are uploaded:
    [Germany]_[UM]_[378000]_[C]_[DiscoveryChannel]_[scrambled].ts/.txt

    I hope this will help to fix the problem ;)
    If I can do anything else, let me know :)
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Re: AW: live Tv freeze - 15- --> 30+ helps

    So, the files are uploaded:
    [Germany]_[UM]_[378000]_[C]_[DiscoveryChannel]_[scrambled].ts/.txt

    I hope this will help to fix the problem ;)
    If I can do anything else, let me know :)

    OK - I've downloaded the file :)

    Tony
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    AW: live Tv freeze - 15- --> 30+ helps

    Strange, I used two different versions:
    Help -> About: copied the three fields, separated by "-"
    On my Desktop-PC: 1.3.1249.0 - VS 2008 - GCC 4.4.1; Note: x64 Version
    On my HTPC: 1.4.2677.0 - MSVC 2008 SP1 (SSE) - GCC 4.5.1 Note: x86 Version

    Edit:
    Maybe I should say that both is Windows 7 x64
    Desktop-PC: Nvidia Graphics, Quadcore
    HTPC: ATI, Dualcore
    I don't think that this is important, but how knows :)
    /Edit

    Did you checked the filter Settings that "MPEG PS/TS/PVA" is ticked? I posted one page back a Screenshot. I guess this is the most important part, because the filter configuration on my DesktopPC is completely different and it works here too.
    You can check the source filter by doing the following: Play -> Filters -> (last point, here it is the file path) -> Properties, just see screenshot, if the MP TsReader is active it will look different ;)
    What it should look like you can see in my post 21 (at the top of this page)

    Edit2: You can check the Filter Settings here: View -> Options -> Internal Filters

    Did you restart MPC-HC after changing the settings? I see that it was quite late yesterday, maybe you forgot it oO

    Edit3:
    I attached my MPC-HC settings (from the HTPC & DesktopPC), these are registry keys, [HKEY_CURRENT_USER\Software\Gabest\Media Player Classic], so I can understand if you don't want to apply these settings on your machine, but maybe you have a development machine :) But you really should save your settings befor doing this, because I don't know if it will work, i just found these method on the internet :)
     

    Attachments

    • MPC_HC_sourceFilter.png
      MPC_HC_sourceFilter.png
      453.1 KB
    • MPC-HC_Settings.rar
      22.5 KB

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    AW: live Tv freeze - 15- --> 30+ helps

    I just downloaded the newest Version from Media Player Classic - Home Cinema - Video Player
    MPC-HomeCinema.1.5.2.3456.x64.exe and installed it in a VM with Windows 7 Ultimate x64, didn't changed any settings of MPC-HC and started playback of the file which I uploaded.
    It works perfect like on my DesktopPC and on my HTPC.

    Edit:
    In the VM is no codec pack installed, only MySQL, MediaPortal 1 & Mediaportal 2

    Edit2:
    Screenshot shows the active filters in the VM
     

    Attachments

    • MPC_HC_sourceFilter_VM.png
      MPC_HC_sourceFilter_VM.png
      537.3 KB

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Please try the attached TsReader.ax - with this version in MP 1.2.0B I get pauses of a few seconds to 15 seconds at each corruption in the test file (and the same when using TsReader.ax in MPC-HC).

    I'm running Win7 32 bit, so I can't try the x64 versions of MPC-HC (but we're trying to improve MP here, so let's not worry too much about MPC-HC :)

    Tony
     

    Attachments

    • TsReader_owlsroost_noStopMod4.zip
      157.4 KB

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    AW: live Tv freeze - 15- --> 30+ helps

    Thanks, I tested your new version :) The first two corruptions are like before, but the third corruption improved now a lot:
    10:23:25 (start hanging) - 10:24:12 (continued), please note that the time is from my radio clock, yesterday the difference between radio clock and HTPC was 01:08 minutes

    I guess I found another point, if I start the video file (the large one with over 500MB) from inside "Videos" MP needs around 30 seconds to start the video! I also had the issue with MPC-HC if it was using the TsReader.ax

    Do you think you can still improve TsReader? 15 secs is a big improvement compared to 3 minutes, but I think it is still a long time compared to MPC-HC, which only takes under 1 sec.

    Concerning MPC-HC:
    I tested the newest version x68 on a Windows XP Professional x86 machine, worked like a charm too, but you are right, we want to improve MP :)
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    FreakyJ - Just tried 'mplayerc_homecinema_x86_v1.3.1249.0' and it works OK using the internal filters (plays through the corruptions with a small glitch, as you described).

    Tony
     

    Users who are viewing this thread

    Top Bottom