Dynamic Refresh Rate and LAV (and maybe .mkv) (1 Viewer)

kirk1

Portal Member
March 10, 2008
39
7
Adelaide
Home Country
Australia Australia
Ran a few tests:

With EVR I could not reproduce the issue. However I get varied playback on HDTV with EVR. Stutter issues seem to appear with use of the OSD. VMR9 solves this problem

EVR with dynamic refresh rate enabled would not play any MKV files

I have included logs both EVR with and without dynamic refresh rate

I also included screen shots of LAV and MePo settings
 

Attachments

  • screens.zip
    342.4 KB
Last edited:

kirk1

Portal Member
March 10, 2008
39
7
Adelaide
Home Country
Australia Australia
I did check LAV Audio and enabled the last file types that had no tick. I see that MePo is still using MPC audio decoder. If it's any help I am using SAF codec pack.
 

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    You didn't full out your GPU in system specs, but I'm guessing it is a really underpowered low spec onboard GPU.

    I could guess the reason you get stutter in EVR is that in EVR mode you are using hardware video acceleration (GPU) and in VMR9 mode you are using software video decoding (CPU). With hardware video decoding you would get a lot of stutter with an underpowered GPU.

    With Win7 hardware acceleration is automatically disabled in VMR9 mode, however EVR should give you a nicer picture.

    I would guess the audio codec is not the issue, and the reason MPC Audio is being used is because SAF changes the merits and has put it ahead of LAV audio.

    I suggest you use EVR and then try a different software h264 video codec, does SAF unlocked include CoreAVC, this is quite good for software decoding of h264 on low spec CPUs. You will need to change some settings to set it to software mode. You could also try using LAV and setting it to software mode as well.
     
    Last edited:

    Luca Brasi

    MP Donator
  • Premium Supporter
  • November 14, 2007
    1,026
    119
    Home Country
    Germany Germany
    I recently installed saf to get pdvd. After that something was messed up in my sys even after deinstalling saf and installing lav again. Although I had set lav to be used in all scenarios some other filters were picked my mp.... I took Win7DSFilterTweaker to fix that. Maybe you want to try that too in order to rule out one source of error.
     

    kirk1

    Portal Member
    March 10, 2008
    39
    7
    Adelaide
    Home Country
    Australia Australia
    What I can't work out is this was all working including EVR (although had issues on and off that turned out to be a nvidia chipset driver issue). This dynamic refresh rate think is a brand new issue I never experienced before. I've run this set up for nearly 12 months with no issues, decided it could do with a reinstall and now it's bugging.

    The only thing I have changed is using CUVID, but I have tested DVXA and also left LAV at none. All replicated the dynamic refresh rate issue.

    The GPU Info I have is NVIDIA ION Chipset
    Intergrated 300mhz DAC with resolution upto 1920x1440 at 75hz
    Intergrated GeForce 9 Series GPU, supports dx10

    Had to dig up the motherboard manual for that :)
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I wouldn't bother with that, if you want to see what codecs are being used run MP in windowed mode and use graphstudio that comes with SAF to connect to remote graph. Using MPC for audio instead of LAV shouldn't lead to stutttering as MPC is a good audio codec. However if you have a mess of multiple codecs running at the same time that would cause problems, and the only way you can see if this is happening is to use graphstudio.
     

    Luca Brasi

    MP Donator
  • Premium Supporter
  • November 14, 2007
    1,026
    119
    Home Country
    Germany Germany
    Sure, graphstudio gave me the info that something's not working as it should... the linked tool is just one and an easy way to force your sys in doing what you want... when this is done you can go on and have a look at the other stuff....
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    @kiwijunglist
    i have same system, using LAV only and have no problems (only judders when OSD is on, but that is known issue with our renderer). Though i use DXVA for HD as CUDA performs too slow on this GeForce 9400 ~ ION.
    but MP should use LAV audio because it is configured in MP settings. and MP doesn't bother self about merits.
     

    kirk1

    Portal Member
    March 10, 2008
    39
    7
    Adelaide
    Home Country
    Australia Australia
    For me the judder sometimes stays after the OSD has been closed. Stopping TV and restarting usually will fix that.

    Maybe I'll give DVXA another shot and see how it looks.

    Still very confused why video won't play when the refresh rate changes? I can see in the mediaportal log:

    2013-01-21 23:21:37.022400 [Info.][MPMain(1)]: Disconnecting all pins from filter H:\Media\Temp\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow]\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow].avi
    2013-01-21 23:21:37.023400 [Info.][MPMain(1)]: Disconnecting pin Video
    2013-01-21 23:21:37.023400 [Info.][MPMain(1)]: Not connected
    2013-01-21 23:21:37.024400 [Info.][MPMain(1)]: Disconnecting pin Audio
    2013-01-21 23:21:37.025400 [Info.][MPMain(1)]: Not connected
    2013-01-21 23:21:37.028400 [Debug][MPMain(1)]: Remove filter from graph: H:\Media\Temp\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow]\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow].avi 0
    2013-01-21 23:21:37.031400 [Info.][MPMain(1)]: VideoPlayerVMR9: Disabling DX9 exclusive mode
    2013-01-21 23:21:37.036400 [Info.][MPMain(1)]: g_Player.Process() player stopped...
    2013-01-21 23:21:37.038400 [Info.][MPMain(1)]: g_Player.OnEnded()
    2013-01-21 23:21:37.076400 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: current refreshrate is 24hz - changing it to 50hz
    2013-01-21 23:21:37.077400 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: using internal win32 method for changing refreshrate. current is 24hz, desired is 50

    Why does the refresh rate change seem to prevent the playing:

    Without DRR:

    2013-01-21 23:17:40.032400 [Debug][MPMain(1)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogMenu:2012->MediaPortal.GUI.Video.GUIVideoFiles:6
    2013-01-21 23:17:41.086400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: DLL Version : MediaInfoLib - v0.7.54
    2013-01-21 23:17:41.086400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: Inspecting media : H:\Media\Temp\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow]\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow].avi
    2013-01-21 23:17:41.087400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: Parse speed : 0.3
    2013-01-21 23:17:41.087400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: FrameRate : 23.976
    2013-01-21 23:17:41.088400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: Width : 1280
    2013-01-21 23:17:41.089400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: Height : 528
    2013-01-21 23:17:41.089400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: AspectRatio : widescreen
    2013-01-21 23:17:41.090400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: VideoCodec : XVID [ "xvid.png" ]
    2013-01-21 23:17:41.091400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: Scan type : progressive
    2013-01-21 23:17:41.091400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: IsInterlaced : False
    2013-01-21 23:17:41.092400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: VideoResolution : 720P
    2013-01-21 23:17:41.092400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: VideoDuration : 6129290
    2013-01-21 23:17:41.093400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: AudioRate : 48000
    2013-01-21 23:17:41.094400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: AudioChannels : 6 [ "5.1.png" ]
    2013-01-21 23:17:41.094400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: AudioCodec : AC-3 [ "ac-3.png" ]
    2013-01-21 23:17:41.095400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: HasAudio : True
    2013-01-21 23:17:41.095400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: HasVideo : True
    2013-01-21 23:17:41.098400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: HasSubtitles : False
    2013-01-21 23:17:41.098400 [Info.][MPMain(1)]: MediaInfoWrapper.MediaInfoWrapper: NumSubtitles : 0
    2013-01-21 23:17:41.099400 [Debug][MPMain(1)]: g_Player.Play - Mediatype Unknown, forcing detection as Video
    2013-01-21 23:17:41.105400 [Info.][MPMain(1)]: RefreshRateChanger.AdaptRefreshRate: 'auto refreshrate changer' disabled
    2013-01-21 23:17:41.106400 [Info.][MPMain(1)]: g_Player.Play(H:\Media\Temp\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow]\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow].avi Video)
    2013-01-21 23:17:41.142400 [Info.][MPMain(1)]: Loading external players plugins
    2013-01-21 23:17:41.145400 [Info.][MPMain(1)]: found plugin:MediaPortal.ITunesPlayer.ITunesPlugin in C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\ExternalPlayers\ExternalPlayers.dll
    2013-01-21 23:17:41.146400 [Info.][MPMain(1)]: player:iTunes. author: Frodo
    2013-01-21 23:17:41.148400 [Info.][MPMain(1)]: found plugin:MediaPortal.WinampPlayer.WinampPlugin in C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\ExternalPlayers\ExternalPlayers.dll
    2013-01-21 23:17:41.149400 [Info.][MPMain(1)]: player:Winamp. author: int_20h
    2013-01-21 23:17:41.151400 [Debug][MPMain(1)]: PlayerFactory: Successfully created player instance for file - H:\Media\Temp\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow]\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow].avi
    2013-01-21 23:17:41.166400 [Info.][MPMain(1)]: VideoPlayer:play H:\Media\Temp\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow]\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow].avi
    2013-01-21 23:17:41.209400 [Info.][MPMain(1)]: VideoPlayerVMR9: Enabling DX9 exclusive mode
    2013-01-21 23:17:41.230400 [Info.][MPMain(1)]: VMR9: added EVR Renderer to graph
    2013-01-21 23:17:41.624400 [Debug][MPMain(1)]: VMR9: Now active
    2013-01-21 23:17:41.625400 [Debug][MPMain(1)]: VMR9: Renderer successfully added
    2013-01-21 23:17:42.179400 [Info.][MPMain(1)]: Added filter: LAV Video Decoder to graph
    2013-01-21 23:17:42.187400 [Info.][MPMain(1)]: Added filter: LAV Audio Decoder to graph
    2013-01-21 23:17:42.210400 [Info.][MPMain(1)]: DirectShowUtils: First try to insert new audio renderer Default DirectSound Device
    2013-01-21 23:17:42.211400 [Info.][MPMain(1)]: DirectShowUtils: Found audio renderer
    2013-01-21 23:17:42.215400 [Debug][MPMain(1)]: DirectShowUtils: added filter:Default DirectSound Device to graph
    2013-01-21 23:17:42.221400 [Debug][MPMain(1)]: Filter: H:\Media\Temp\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow]\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow].avi - try to connect: Video
    2013-01-21 23:17:42.592400 [Debug][MPMain(1)]: PlaneScene: PresentImage() dispose surfaces
    2013-01-21 23:17:42.598400 [Debug][MPMain(1)]: Filter: H:\Media\Temp\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow]\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow].avi - try to connect: Audio
    2013-01-21 23:17:42.840400 [Debug][MPMain(1)]: Check graph connections for: Default DirectSound Device
    2013-01-21 23:17:42.841400 [Debug][MPMain(1)]: Check graph connections for: LAV Audio Decoder
    2013-01-21 23:17:42.843400 [Debug][MPMain(1)]: - remove done
    2013-01-21 23:17:42.844400 [Debug][MPMain(1)]: Check graph connections for: Enhanced Video Renderer
    2013-01-21 23:17:42.845400 [Debug][MPMain(1)]: Check graph connections for: MPC - MPA Decoder Filter
    2013-01-21 23:17:42.847400 [Debug][MPMain(1)]: Check graph connections for: LAV Video Decoder
    2013-01-21 23:17:42.848400 [Debug][MPMain(1)]: Check graph connections for: H:\Media\Temp\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow]\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow].avi
    2013-01-21 23:17:42.885400 [Debug][MPMain(1)]: MpcEngine: using texture size of 1280x720
    2013-01-21 23:17:42.933400 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Video; Name=V: mpeg4 simple profile, yuv420p, 1280x528, Filter=H:\Media\Temp\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow]\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow].avi, Id=0, PDWGroup=0, LCID=0
    2013-01-21 23:17:42.934400 [Debug][MPMain(1)]: VideoPlayer: FoundStreams: Type=Audio; Name=A: ac3, 48000 Hz, 5.1, 640 kb/s, Filter=H:\Media\Temp\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow]\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow].avi, Id=1, PDWGroup=1, LCID=0
    2013-01-21 23:17:42.943400 [Info.][MPMain(1)]: VideoPlayerVMR7: AudioLanguage CultureInfo en
    2013-01-21 23:17:43.048400 [Info.][MPMain(1)]: VideoPlayer:Duration:6129.289833
    2013-01-21 23:17:43.054400 [Info.][MPMain(1)]: g_Player.OnStarted() H:\Media\Temp\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow]\The Innkeepers 2011 720p BDRip XviD AC3 [greyshadow].avi media:Video
    2013-01-21 23:17:43.084400 [Debug][(21)]: PlaneScene: PresentImage() dispose surfaces
    2013-01-21 23:17:43.112400 [Debug][MPMain(1)]: g_Player: ShowFullScreenWindow
    2013-01-21 23:17:43.126400 [Info.][MPMain(1)]: g_Player: ShowFullScreenWindow switching to fullscreen video
    2013-01-21 23:17:43.171400 [Debug][MPMain(1)]: Window: MediaPortal.GUI.Video.GUIVideoFiles deinit
    2013-01-21 23:17:43.183400 [Debug][FileExistsCache Thread(7)]: FileExistsCacheThread: new items found waiting for caching: 1
    2013-01-21 23:17:43.185400 [Debug][FileExistsCache Thread(7)]: InsertFilesIntoCacheAsynch: pre-scanning dir : c:\programdata\team mediaportal\mediaportal\skin\defaultwide\media
    2013-01-21 23:17:43.211400 [Debug][MPMain(1)]: TextureManager: CleanupThumbs()
    2013-01-21 23:17:43.238400 [Debug][FileExistsCache Thread(7)]: FileExistsCacheThread: no more items to cache, suspending thread.: 1
    2013-01-21 23:17:43.299400 [Debug][MPMain(1)]: Window: MediaPortal.GUI.Video.GUIVideoFullscreen init
    2013-01-21 23:17:43.421400 [Info.][MPMain(1)]: xml:C:\ProgramData\Team MediaPortal\MediaPortal\Skin\DefaultWide\videoOSD.xml image id:350 width:0 height:0 gfx:-
    2013-01-21 23:17:43.549400 [Info.][MPMain(1)]: xml:C:\ProgramData\Team MediaPortal\MediaPortal\Skin\DefaultWide\videoOSD.xml image id:350 width:0 height:0 gfx:-
    2013-01-21 23:17:43.594400 [Debug][FileExistsCache Thread(7)]: FileExistsCacheThread: new items found waiting for caching: 1
    2013-01-21 23:17:43.595400 [Debug][FileExistsCache Thread(7)]: FileExistsCacheThread: no more items to cache, suspending thread.: 1
    2013-01-21 23:17:43.597400 [Debug][FileExistsCache Thread(7)]: FileExistsCacheThread: new items found waiting for caching: 1
    2013-01-21 23:17:43.598400 [Debug][FileExistsCache Thread(7)]: FileExistsCacheThread: no more items to cache, suspending thread.: 1
    2013-01-21 23:17:43.613400 [Debug][FileExistsCache Thread(7)]: FileExistsCacheThread: new items found waiting for caching: 1
    2013-01-21 23:17:43.615400 [Debug][FileExistsCache Thread(7)]: FileExistsCacheThread: no more items to cache, suspending thread.: 1

    So confused o_O

    Thanks again for all the help and suggestions.
     

    kirk1

    Portal Member
    March 10, 2008
    39
    7
    Adelaide
    Home Country
    Australia Australia
    I've updated LAV to DVXA (native). After running HD content for a few hours the picture started to jutter the chipset appeared to be hot to the touch. I'm assuming CUVID was a bit too much :(
     

    Users who are viewing this thread

    Top Bottom