It seems that new parser is buggy at first try Here are my quick tests:
Anything you add to Expert settings and will play video with mencoder, buffer will goes to minus and PS3 hanged on black picture.
Tried 3 examples mentioned in Expert settings. Same behaviour also when settings will not be applied. EDIT:This behaviour caused enabling not re-encoding AC3 as described in "P.S.".
Maybe bug in your tsmuxer parsing code:
1.Example-MKV with 1st DTS and 2nd AC3 track(LPCM enabled,force AC3 disabled): Ac3 track played only, not possible switch to DTS
2.Example-MKV with 1st DTS and 2nd AC3 track(LPCM enabled,force AC3 enabled): DTS played as LPCM, AC3 possible to be switched via remote
When played or audio switched manually, error generated but movie continues ok:
- Code: Select all
[Thread-212] TRACE 19:40:43.048 Exception in thread "Thread-212" java.lang.IndexOutOfBoundsException
[Thread-212] TRACE 19:40:43.050 at java.io.PipedInputStream.read(PipedInputStream.java:355)
[Thread-212] TRACE 19:40:43.050 at net.pms.util.H264AnnexBInputStream.getArray(H264AnnexBInputStream.java:125)
[Thread-212] TRACE 19:40:43.050 at net.pms.util.H264AnnexBInputStream.read(H264AnnexBInputStream.java:44)
[Thread-212] TRACE 19:40:43.051 at java.io.InputStream.read(InputStream.java:85)
[Thread-212] TRACE 19:40:43.051 at net.pms.io.PipeIPCProcess.run(PipeIPCProcess.java:76)
[win32/tsMuxeR.exe] TRACE 19:40:43.149 Process C:\Program Files\PS3 Media Server\win32\tsMuxeR.exe has a return code of -4! Maybe an error occured... check the log file
3.Example-MKV with 1st AC3 and 2nd DTS track(LPCM enabled,force AC3 disabled):AC3 track played, DTS possible to be switched via remote, then plays as LPCM
When played or audio switched manually, error generated but movie continues ok: Error same as above.
Movie sample was same in all 3 test. I only changed priority of audio in container.
Using MEncoder(also MEncoder MT):
When you play MKV with AC3, it played OK, after that you will try another one with DTS converted to LPCM.Played OK. Trying to play first video again or another one with AC3, it will fail. It seems that 1st using of LPCM conversion will deny playing AC3 after that but LPCM plays without problems. Weired.
Second shot, similar problem: When I played longer with switching between more MKVs with LPCM(DTS) and AC3 files, another problem arised. After a while it was irellevant what audio you choose, always(95% of my tries) were played as LPCM, also AC3 tracks...calling LPCM re-coding will do something weired and influence all next played videos.
It is possible somehow tune this sample? There is a DTS and AC3 audio(I am ignoring commentary in OGG Vorbis).
When you play it with MEncoder+A/V sync enabled ===> DTS is ok,synced but AC3 is shifted or maybe plays at different fps as Video, so totally unsynced. Maybe video at 23.976 and audio at 25(audio is from PAL source)
If you disable A/V sync, both DTS and AC3 are played synced but with AC3 it is choppy. It is possible to to find optimal MEncoder parameters?
When it is played via tsMuxer, AC3 audio is not synced(shifted of different fps?) It is possible somehow change m2ts header to 25(audio) instead of 23.976(video) so video will be synced? tsMuxer supports it.
An example: http://rapidshare.com/files/177652637/Hell.mkv.html
Many thanks Shagrath!!!!!
Big impact on my testing above have also settings "Remux when audio track is in AC3(no reencoode)".
When enabled, tsMuxer is unstable and fall down(MEncoder was used on video file).
Will repeat testing when this feature will be disabled if something will change.