Resolution Change Stops Video Playback (1 Viewer)

mizzourob

MP Donator
  • Premium Supporter
  • March 16, 2008
    56
    5
    Lawrence, KS
    Home Country
    United States of America United States of America
    Let me start with a disclaimer that I'm not sure if this belongs here or in the MediaPortal help section on the forum as this perhaps borders on both it and TV-Server.

    I've noticed a bizarre problem when my local cable company inserts local commercials into the cable feed, they change the image size from 1920x1088 (which TV Server cuts to 1920X1080) to 1280x720 based on what I can understand from the TSReader.log file. When it changes to the smaller image a gray bar resembling the old Windows 98 taskbar appears below the image several pixels (8?) tall. Then after the local commercials are over the audio continues ok, but the display turns black. Seemingly indicating a problem with switching resolutions back to 1920x1088/1080. If I timeshift back several minutes before the commercials, then timeshift forward past the commercials I can avoid the issues.

    I'm running MP version 1.0.0 on a Windows XP Pro machine

    Here are the relevant log entries:


    TSWriter.Log:
    04-01-2009 23:19:44.171 Recorder:pid 30 : Discontinuity header bit set!
    04-01-2009 23:20:09.531 Recorder: TIMESHIFT Stop 'C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live1-0.ts.tsbuffer'
    04-01-2009 23:20:09.765 Recorder: TIMESHIFT Reset
    04-01-2009 23:20:09.765 del m_pVideoAnalyzer
    04-01-2009 23:20:09.765 analyzer: reset
    04-01-2009 23:20:09.765 del m_pPmtGrabber
    04-01-2009 23:20:09.765 del m_pRecorder
    04-01-2009 23:20:09.765 del m_pTimeShifting
    04-01-2009 23:20:09.765 del m_pTeletextGrabber
    04-01-2009 23:20:09.765 del m_pCaGrabber
    04-01-2009 23:20:09.765 del done...
    04-01-2009 23:20:09.765 CMpTsFilter::pause()
    04-01-2009 23:20:09.765 CMpTsFilter::confused:top()


    and here is the entry in tv.log:
    2009-01-04 23:20:09.500000 [8]: Controller: StopTimeShifting 1
    2009-01-04 23:20:09.531250 [8]: card Silicondust HDHomeRun Tuner 10133561-0: StopTimeShifting user:tvserver sub:0
    2009-01-04 23:20:09.531250 [8]: card: StopTimeShifting user:tvserver sub:0
    2009-01-04 23:20:09.531250 [8]: card not IDLE - freeing subch: 0
    2009-01-04 23:20:09.531250 [8]: subch:0-0 tswriter StopTimeshifting...
    2009-01-04 23:20:09.765625 [8]: tvcard:FreeSubChannel:1 #0 keep graph=False
    2009-01-04 23:20:09.765625 [8]: DVB subch:0 Decompose()
    2009-01-04 23:20:09.765625 [8]: FreeSubChannel CA: freeing sub channel : 0
    2009-01-04 23:20:09.765625 [8]: tvcard:FreeAllSubChannels:
    2009-01-04 23:20:09.765625 [8]: dvb:confused:topGraph


    TsReader.log:
    04-01-2009 23:16:31.796 [d08]Video Continuity error... 9 ( prev 5 )
    04-01-2009 23:16:33.531 [3e8]vid:set discontinuity
    04-01-2009 23:18:42.343 [d08]DeMultiplexer: 30 video format changed: res=1920x1088 aspectRatio=16:9 bitrate=38810400 isInterlaced=0
    04-01-2009 23:18:42.343 [d08]DeMultiplexer: triggering OnVideoFormatChanged
    04-01-2009 23:19:43.218 [d08]DeMultiplexer: 30 video format changed: res=1280x720 aspectRatio=16:9 bitrate=38810400 isInterlaced=0
    04-01-2009 23:19:43.218 [d08]DeMultiplexer: triggering OnVideoFormatChanged
    04-01-2009 23:19:44.171 [d08]Audio Continuity error... 1 ( prev d )
    04-01-2009 23:19:44.375 [d08]aud:set discontinuity
    04-01-2009 23:20:11.343 [cbc]CTsReaderFilter::pause()
    04-01-2009 23:20:11.343 [cbc]CTsReaderFilter::confused:top()
    04-01-2009 23:20:11.343 [cbc]demux:set hold audio:1
    04-01-2009 23:20:11.343 [cbc]demux:set hold video:1
    04-01-2009 23:20:11.343 [cbc]demux:set hold subtitle:1
    04-01-2009 23:20:11.390 [d08]aud:isseeking2
    04-01-2009 23:20:11.875 [a00]CTsReaderFilter::ThreadProc stopped()
    04-01-2009 23:20:11.875 [cbc]CTsReaderFilter::confused:top() -stop source
    04-01-2009 23:20:11.875 [cbc]CTsReaderFilter::confused:top() -stop source done
    04-01-2009 23:20:11.875 [cbc]demux:set hold audio:0
    04-01-2009 23:20:11.875 [cbc]demux:set hold video:0
    04-01-2009 23:20:11.875 [cbc]demux:set hold subtitle:0
    04-01-2009 23:20:11.875 [cbc]demux:flushing
    04-01-2009 23:20:11.875 [cbc]demux:set hold audio:1
    04-01-2009 23:20:11.875 [cbc]demux:set hold video:1
    04-01-2009 23:20:11.875 [cbc]demux:set hold subtitle:1
    04-01-2009 23:20:11.875 [cbc]demux:flush audio
    04-01-2009 23:20:11.875 [cbc]demux:flush video
    04-01-2009 23:20:11.890 [cbc]demux:flush subtitle
    04-01-2009 23:20:11.890 [cbc]demux:set hold audio:0
    04-01-2009 23:20:11.890 [cbc]demux:set hold video:0
    04-01-2009 23:20:11.890 [cbc]demux:set hold subtitle:0
    04-01-2009 23:20:11.890 [cbc]CTsReaderFilter::confused:top() done
    04-01-2009 23:20:11.890 [cbc]aud seek to 717.755859/974.648987
    04-01-2009 23:20:11.890 [cbc]demux:set hold audio:1
    04-01-2009 23:20:11.890 [cbc]CTsReaderFilter::--SeekStart()--
    04-01-2009 23:20:11.890 [cbc]CTsReaderFilter::confused:eek--
    04-01-2009 23:20:11.890 [cbc]CTsReaderFilter:: Seek-> 717.755005/717.158020
    04-01-2009 23:20:11.890 [cbc]seek to 717.755005 filepos:516ecfe8 pid:30
    04-01-2009 23:20:11.890 [cbc]CTsReaderFilter::--SeekDone()
    04-01-2009 23:20:11.890 [cbc]demux:set hold audio:0
    04-01-2009 23:20:11.890 [cbc]aud seek done---
    04-01-2009 23:20:11.890 [cbc]vid seek to 717.755859
    04-01-2009 23:20:11.890 [cbc]demux:set hold video:1
    04-01-2009 23:20:11.890 [cbc]CTsReaderFilter::confused:eek--
    04-01-2009 23:20:11.890 [cbc]demux:set hold video:0
    04-01-2009 23:20:11.890 [cbc]vid seek done---
    04-01-2009 23:20:11.890 [cbc]aud:skip seek

    MediaPortal.log:
    2009-01-04 23:18:42.343750 [Info.][15]: TsReaderPlayer: OnVideoFormatChanged - streamtype=MPEG2 resolution=1920x1088 aspect ratio=16:9 bitrate=38810400 isInterlaced=False
    2009-01-04 23:18:44.281250 [Info.][VMRenderer]: PlaneScene: video WxH : 1920x1088
    2009-01-04 23:18:44.281250 [Info.][VMRenderer]: PlaneScene: screen WxH : 1920x1080
    2009-01-04 23:19:43.218750 [Info.][15]: TsReaderPlayer: OnVideoFormatChanged - streamtype=MPEG2 resolution=1280x720 aspect ratio=16:9 bitrate=38810400 isInterlaced=False




    Thanks so much for such a great product!

    -mizzourob

    If it would help I could upload a videoclip but I don't want to run afoul of copyright laws on re-posting of content
     

    scma

    Portal Pro
    December 24, 2005
    77
    4
    Home Country
    Sweden Sweden
    this is most likely a decoder problem, try changing your mpeg2 decoder to cyberlinks
     

    mizzourob

    MP Donator
  • Premium Supporter
  • March 16, 2008
    56
    5
    Lawrence, KS
    Home Country
    United States of America United States of America
    I've tried the PowerDVD and still no luck in preventing the black screen yet
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Need full logs for this one & ffdshow for video it's not recommended(at-least for now).

    Regards
    Roy
     

    mizzourob

    MP Donator
  • Premium Supporter
  • March 16, 2008
    56
    5
    Lawrence, KS
    Home Country
    United States of America United States of America
    Solution

    Well it seems I finally found a solution, though I can't say with 100% certainty which part of the following fixed this problem of it it was a combination of the following:

    1) Clean install Windows XP
    2) Install MP 1.0.1
    3) Remove all other codecs (including FFDShow) and install the Standalone Filters for MediaPortal (including the CLVsd.ax hack)
    4) Add DirectVobSub as a TV post processor (my feeling is that this is the prime suspect for fixing the problem)

    voila the broken video stream problem is gone!
     

    Users who are viewing this thread

    Top Bottom