- Moderator
- #81
Thanks for the update Chris
That VC-1 decoder setting is a bit of a "gotcha!". I'll file that away in the memory banks... though with the advent of LAV, I suspect people are not using ffdshow so much these days.
From my side I've been meaning to continue looking at the madVR flicking issue, but every time I go to look at it I seem to run into other problems. As a result, I'm starting to get the feeling that something isn't right. For example, sometimes I'm able to access a menu successfully... but after restarting the same BR (even same MP session) I'll get an MP crash or be dumped back to the MP GUI video list when I try to access the menu again. This inconsistency is really frustrating.
@Sebastiii
It seems at least some of my errors come from failure to load the JVM:
[collapse]
hdmv_vm.c:558: _jump_title(1)
bluray.c:3445: HDMV event: 3 1
register.c:420: bd_psr_write(): PSR4 (TITLE_NUMBER) 0x0 -> 0x1
bluray.c:3095: PSR change: psr4 = 1
bdj.c:728: bdj_open()
bdj.c:260: Opening c:\jdk1.7.0_17\jre\bin\server\jvm ...
bdj.c:718: Failed to create new Java VM. JNI_CreateJavaVM result: -4
bluray.c:3224: Can't play BD-J title 1
bluray.c:2056: bd_read(): no valid title selected!
bluray.c:1644: bd_seek_time(41505174165846492) failed: invalid timestamp
bluray.c:1541: BLURAY destroyed![/collapse]
The "-4" result (JNI_ENOMEM) seems to mean not enough memory... but I think I have plenty.
I tried to attach JDB to get more info but I got zero output. Either I failed to attach JDB properly or the JVM doesn't give any output.
In desperation I tried doubling the Java heap and stack size to 512 MB and 4 MB, but it didn't help.
Then I tried halving the heap size to 128 MB... and it seems to work better now (!!!).
Do you have any clues about what might be going on?
Not enough contiguous memory in the application memory space or...???
If i'm not wrong, i remember this but maybe the issue still occur, this is why we add to build MP with the largeawareadresse that push 2GB contiguous memory otherwise Java failed randomly.
This batch MSBUILD_MP_LargeAddressAware.bat
(EditBin.exe %MediaPortal%\MediaPortal.Application\bin\%1\MediaPortal.exe /LARGEADDRESSAWARE)