[no Bug] Stuttering during BluRay playback (1 Viewer)

bangaltar

Portal Member
June 10, 2008
12
2
Home Country
Germany Germany
Hi,

I'm not sure if I'm right here. I have some Problems on BluRay playback in MP 1.3.0 Alpha...

The test environment:

Test 1
- Windows 7 Pro
- MP 1.3.0 Alpha
- Audio Renderer: Default Direct Sound Device
- Codecs: completly LAV Audio & Video Decoder from the MP Installation
- Nvidia Geforce 8400GS & Realtek on Board HD Audio

Test 2 (additional)
- Windows 7 Pro
- MP 1.3.0 Alpha
- Audio Renderer: MPAR (https://forum.team-mediaportal.com/threads/collection-of-audio-renderer-fixes-for-1-3-0-beta.109738/)
- Codecs: completly LAV Audio & Video Decoder from the MP Installation
- Nvidia Geforce 8400GS & Realtek on Board HD Audio

Test-BluRays on both Testsettings:
- Mission Impossible Phantom Protocol
- Atemlos
- Sherlock Holmes 2
- Men in Black 1
all BluRays in German. ;-)

All BluRays lay on my local Disk as ISO-Images and mounted by Daemon Tools Lite

Test 1
Playback of the first BluRay-Image (Atemlos). The Movie looks fine, A/V was in Sync and no stuttering. going back and forward in the movie without any problems.
Stop the Playback and start another BluRay-Image (Mission Impossible). The movie begins immediately with stuttering.
Now i closed MP and start it again, select Mission Impossible and the Movie looks fine, no stuttering no Sync Problems...
no matter what movie I select, the second one always stuttering...

BD.Test.zip <= Logs from Test1

Test 2
the same test as before with the latest MPAR.
First BluRay a little bit stuttering, very little or micro stutters. (my english ist so bad :D)
The stopping first BluRay and start another BluRay. At the beginning directly heavy stuttering.
close MP and start it again the same movie only with very small/little/micro stutters.

MPAR.Log.zip <= Logs from Test 2
 

Attachments

  • bd.test.zip
    81.7 KB
Last edited by a moderator:

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    1st issue - dropepd frames / juddering

    Quite odd issue. Video renderer reports late frames (usually system preformance issue - 8400GS is quite old GPU) but the odd thing is that it happens only on the 2nd play (and I assume that 3rd play will trigger it as well). One thing that you could do is to make sure that it is not Daemon Tools related - copy the content of some ISO to a HD folder and test the playback from there.

    Not that much I can think of what to test more. We should try to find someone else who can reproduce the same issue so we can try to collect some playsible causes. I need to go the logs thru in a bit more detail.

    2nd issue - MPAR performing worser than DS audio renderer

    MPAR requires more CPU power than DS audio renderer (a lot! .What CPU you are using? Check CPU usage with task manager. Also there is one open bug in the MPAR that causes one CPU core to be used at 100%, please test a new version of MPAR: https://forum.team-mediaportal.com/...erer-fixes-for-1-3-0-beta.109738/#post-886535
     

    bangaltar

    Portal Member
    June 10, 2008
    12
    2
    Home Country
    Germany Germany
    Hi Tourettes,

    the second Test was with the newest MPAR Version from your Link. ;)

    With best regards
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    what version of LAV is installed (LAV 0.50.5, 0.51.3 or any other) and what decoding mode for LAV video have you selected (i mean CUDA, Software, DXVACopyBack, DXVA Native, Intel QuickSync)?
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Hi Tourettes,

    the second Test was with the newest MPAR Version from your Link. ;)

    Then please check with Task Manager how big share of CPU time MediaPortal.exe uses. Also what CPU you are using? Check with both MPAR and non-MPAR case.
     

    bangaltar

    Portal Member
    June 10, 2008
    12
    2
    Home Country
    Germany Germany
    Hi,

    I've tested all your tips... :)

    First the Hardware:
    CPU: intel Core2Duo E8500 (3.16 GHZ)
    RAM: 4 GB
    HDD: WD1002FBYS
    Gr: Nvidia Geforce 8400GS
    Audio: Realtek HD Audio onboard
    OS: Win7 Pro 64 Bit
    Barebone: MSI Hetis G41

    @Vasilich
    installed is LAV 0.50.5 and decoding mode for LAV is CUDA

    @tourettes
    3rd and 4th disk i play there is stuttering, too. it make no difference where the BluRay is. ISO, Files on Disk or BluRay in the BD-Rom.
    i think, the gpu should still have enough power for a simple bluray playback. but if i need a newer one, i would buy a new grafic card. But I do not think the card is the fault.
    the average cpu utilization was 25% on MPAR Playback. Non-MPAR Playback was max 10%.

    Is there a Log-Rotate in MP? It look like there is a rotate or a write over...

    DSD.Logs.4Disk is the non-MPAR test and MPAR.Log.4Disk is MPAR Test

    If you need more Logs let me know.

    Thx for your help...
     
    Last edited:

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    01-08-2012 00:47:04.166 [1094]Scheduling sample from the past (13.55 ms, last call to NotifyWorker: 0.21 ms, Queue: 0)
    01-08-2012 00:47:04.212 [1094]Scheduling sample from the past (16.26 ms, last call to NotifyWorker: 0.25 ms, Queue: 0)
    01-08-2012 00:47:04.246 [1094]Scheduling sample from the past (6.88 ms, last call to NotifyWorker: 0.17 ms, Queue: 0)
    01-08-2012 00:47:04.288 [1094]Scheduling sample from the past (5.42 ms, last call to NotifyWorker: 0.22 ms, Queue: 0)
    01-08-2012 00:47:04.339 [1094]Scheduling sample from the past (13.26 ms, last call to NotifyWorker: 0.23 ms, Queue: 0)
    01-08-2012 00:47:04.403 [1094]Scheduling sample from the past (34.44 ms, last call to NotifyWorker: 0.22 ms, Queue: 0)
    01-08-2012 00:47:04.455 [1094]Scheduling sample from the past (43.35 ms, last call to NotifyWorker: 0.21 ms, Queue: 0)
    01-08-2012 00:47:04.499 [1094]Scheduling sample from the past (45.44 ms, last call to NotifyWorker: 0.24 ms, Queue: 0)
    01-08-2012 00:47:04.537 [1094]Scheduling sample from the past (41.40 ms, last call to NotifyWorker: 0.23 ms, Queue: 0)
    01-08-2012 00:47:04.590 [1094]Scheduling sample from the past (51.33 ms, last call to NotifyWorker: 0.23 ms, Queue: 0)
    01-08-2012 00:47:04.640 [1094]Scheduling sample from the past (58.69 ms, last call to NotifyWorker: 0.24 ms, Queue: 0)
    01-08-2012 00:47:04.701 [1094]Scheduling sample from the past (78.71 ms, last call to NotifyWorker: 0.24 ms, Queue: 0)
    01-08-2012 00:47:04.743 [1094]Scheduling sample from the past (78.96 ms, last call to NotifyWorker: 0.23 ms, Queue: 0)
    01-08-2012 00:47:04.794 [1094]Scheduling sample from the past (87.63 ms, last call to NotifyWorker: 0.23 ms, Queue: 0)
    01-08-2012 00:47:04.820 [1094]Scheduling sample from the past (71.81 ms, last call to NotifyWorker: 0.21 ms, Queue: 0)
    01-08-2012 00:47:04.868 [1094]Scheduling sample from the past (78.60 ms, last call to NotifyWorker: 0.23 ms, Queue: 0)
    01-08-2012 00:47:04.905 [1094]Scheduling sample from the past (73.57 ms, last call to NotifyWorker: 0.24 ms, Queue: 0)
    01-08-2012 00:47:04.975 [1094]Scheduling sample from the past (102.05 ms, last call to NotifyWorker: 0.19 ms, Queue: 0)
    01-08-2012 00:47:05.034 [1094]Scheduling sample from the past (119.82 ms, last call to NotifyWorker: 0.21 ms, Queue: 0)
    01-08-2012 00:47:05.081 [1094]Scheduling sample from the past (124.95 ms, last call to NotifyWorker: 0.23 ms, Queue: 0)
    01-08-2012 00:47:05.117 [1094]Scheduling sample from the past (119.33 ms, last call to NotifyWorker: 0.22 ms, Queue: 0)
    01-08-2012 00:47:05.156 [1094]Scheduling sample from the past (116.72 ms, last call to NotifyWorker: 0.22 ms, Queue: 0)

    Is clearly indicating that video renderer is not receiving samples when it needs those. 8400GS is really old and it wont support all the HW acceleration features that Blu-ray decoding needs but that wont explain why the 1st playback works.

    - If possible try a different GPU (jsut if you have any modern GPUs around)
    - Instead of CUDA test DXVA from LAV
    - Instead of CUDA test software decoding without MPAR (your CPU should be able to decode at least all MPEG2 content without any issues - so test 2x Blu-rays that are having MPEG2 video)
    - test if the issue happens with title based playback as well

    BDReader.log is showing the video format, please note that video format can change between different titles / menu clips inside the disk.

    Video [4113] MPEG2
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    as Tourettes already said, such low-end graphic probably just cannot properly handle h264 decoding with CUDA. I personally have analog of nVidia 9400 (nVidia ION) and LiveTV works stutter-free only with DXVA native, not with CUDA. So try other decoding modes (DXVA native or software)
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    as Tourettes already said, such low-end graphic probably just cannot properly handle h264 decoding with CUDA. I personally have analog of nVidia 9400 (nVidia ION) and LiveTV works stutter-free only with DXVA native, not with CUDA. So try other decoding modes (DXVA native or software)

    Still I'm a bit puzzled why the 1st Blu-ray works, it simply doesn't make any sense :)
     

    bangaltar

    Portal Member
    June 10, 2008
    12
    2
    Home Country
    Germany Germany
    Hi,

    I hope that I can test next weekend. I have also ordered a new graphics card for testing (Geforce GT 610).

    greeting
     

    Users who are viewing this thread

    Top Bottom