Bluray (pgs) Subtitles Stay On Screen For Too Long + Inconsistent placement.
#1
hi,

I hope this is of some use to the developers.

using build 23973-gl from kricker the bluray subtitles work (and look as good as they should!) but they dont seem to have an "end time" so they stay on the screen for a long time.



Here is a log from the ironman bluray where the subtitles stay on too long. I'm playing the .m2ts direct from disc with anydvdhd running. Also verified on a few other blurays (casino royale and life on mars season 1 and 2)

Debug Log (i turned debug on so only the second half has debug running, but I'm hoping thats the relevant bit!) - http://pastebin.com/f6230f2

1. 23973 both gl and dx
2. Windows Version - Windows Vista SP1 and Windows 7 (both 32bit)
3. Intel Q6600 @ 2.4Ghz
4. 2GB 1066mhz DDR2
5. Geforce 7950GT 512MB (nvidia 185 in vista, 190 in windows 7)
6. Asus Xonar DX - cmedia drivers.
7. none
8. see 1
9. Play a bluray .m2ts with pgssub
10. http://pastebin.com/f6230f2
11. Mediainfo

Code:
General
ID                               : 0
Complete name                    : H:\BDMV\STREAM\00010.m2ts
Format                           : BDAV
Format/Info                      : Blu-ray Video
File size                        : 31.1 GiB
Duration                         : 2h 6mn
Overall bit rate                 : 35.4 Mbps
Maximum Overall bit rate         : 48.0 Mbps

Video
ID                               : 4113 (0x1011)
Menu ID                          : 1 (0x1)
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : [email protected]
Format settings, CABAC           : Yes
Format settings, ReFrames        : 4 frames
Duration                         : 2h 6mn
Bit rate                         : 32.0 Mbps
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Display aspect ratio             : 16:9
Frame rate                       : 23.976 fps
Standard                         : NTSC
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.644
Stream size                      : 28.2 GiB (91%)
colour_primaries                 : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
transfer_characteristics         : BT.709-5, BT.1361
matrix_coefficients              : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio #1
ID                               : 4352 (0x1100)
Menu ID                          : 1 (0x1)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Format profile                   : TrueHD
Duration                         : 2h 6mn
Bit rate mode                    : Variable
Bit rate                         : 640 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Stream size                      : 577 MiB (2%)

Audio #2
ID                               : 4353 (0x1101)
Menu ID                          : 1 (0x1)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Duration                         : 2h 6mn
Bit rate mode                    : Constant
Bit rate                         : 640 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Stream size                      : 577 MiB (2%)

Audio #3
ID                               : 4354 (0x1102)
Menu ID                          : 1 (0x1)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Duration                         : 2h 6mn
Bit rate mode                    : Constant
Bit rate                         : 640 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Stream size                      : 577 MiB (2%)

Text #1
ID                               : 4608 (0x1200)
Menu ID                          : 1 (0x1)
Format                           : PGS

Text #2
ID                               : 4609 (0x1201)
Menu ID                          : 1 (0x1)
Format                           : PGS

Text #3
ID                               : 4610 (0x1202)
Menu ID                          : 1 (0x1)
Format                           : PGS

Text #4
ID                               : 4611 (0x1203)
Menu ID                          : 1 (0x1)
Format                           : PGS

Text #5
ID                               : 4612 (0x1204)
Menu ID                          : 1 (0x1)
Format                           : PGS

Text #6
ID                               : 4613 (0x1205)
Menu ID                          : 1 (0x1)
Format                           : PGS

Text #7
ID                               : 4614 (0x1206)
Menu ID                          : 1 (0x1)
Format                           : PGS

Text #8
ID                               : 4615 (0x1207)
Menu ID                          : 1 (0x1)
Format                           : PGS

I've also noticed multi line and single line subtitles have different offsets (only in the gl version).
ImageImage <--gl dx--> Image

from my laymans view it looks like the gl one is stretching the image vertically to fill 1920*1200 (it looks slighter taller and not 1:1 pixels), instead of staying at the 1920*1080 res. I will try later on my 16:9 AR screen screen. Edit, just tried at 1920*1080, same problem.
Reply
#2
Same behavior here.
I'm running last svn under Vista...
Reply
#3
i was reading somewhere that pgssubs has only recently been added to ffmpeg, so it may be a bug in that rather than xbmc.
Reply
#4
Could be in xbmc aswell.. I haven't even tried it since it was added, probably should Smile
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
It was only recently added in FFMPEG.

And whoever put it into XBMC has my appreciation.
Reply
#6
thanks for the updates. I too appreciate whoever put it in, the only other player I can think of is mpc-hc, and even then its a bit intermittent.

It wasn't a complaint, and it never is from me (at least I dont mean it as a complaint, even if it sounds like one!).
I just like to know about it, and make sure others are aware.
Reply
#7
The ending too late issue could have been solved in svn already actually.

The multiline difference is "solved" in svn aswell.. but not in any really great way. Had to disable to a feature that aligned subtitles to a certain line.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#8
elupus Wrote:The ending too late issue could have been solved in svn already actually.

The multiline difference is "solved" in svn aswell.. but not in any really great way. Had to disable to a feature that aligned subtitles to a certain line.

thanks for letting us know. much appreciated.

just got 24102 but now my cd drives are gone (both gl and dx)!, I will wait a few days for a new build and get back to you.

edit: tried 24102 in gl and dx, and the subtitles stay on too long still Sad,

edit2: the multiline appears to be fixed
Reply
#9
Here i come with a newbish question: is there anything planned to solve this issue?

I tried to play a bluray m2ts (avatar) for the first time with XBMC (r28256) and the subs just stay on screen until the next dialog, so it's unwatchable...

The only other thread found with forum search on this subject has no answer, so does anyone care about this?
Or is there a solution with remuxing to other containers where pgs are better handled? Or is the problem specific to this build?

Thanks Wink

[edit]: once again, useful info is found after posting... It's all ffmpeg's fault apprently.
Dual screen setup - HDMI/TV (sound on Digital Audio toslink) - DVI/PC Monitor
AMD PII 955 (3.2GHz) - 4GB DDR3 - Geforce GT 240 - Win7 x64
Reply
#10
Doesn't MPCHC also rely on ffmpeg (K-Lite pack)? Subs works normally with MPCHC.
Reply
#11
K-lite pack probably uses ffdshow not ffmpeg. Just a guess though since codec packs are a mess most of the time so I stay away.
Reply
#12
obviously we want to solve it, but that implies fixing ffmpeg, and learning how to parse the binary code of pgs subs (of which there exist no documentation)
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#13
Ok, so it's ffmpeg that's bugged? Reading this thread it seems they added pgssubs to ffmpeg just last October, which seems strange considering BD was released 2006. Can it really take years to fix a subtitle bug (already gone 6 months)? Sure, I don't know much about programming but if it works with other players it can't be that hard can it?
Reply
#14
Carlos ze Dwarf Wrote:Or is there a solution with remuxing to other containers where pgs are better handled?

You can convert the subtitles to VobSubs (sub/idx) with BDSup2Sub and remux everything to Matroska (mkv).
But the subtitles will be blue, you must edit the idx file and modify the HTML color codes from RGB to BGR.
Reply
#15
Quasit Wrote:Doesn't MPCHC also rely on ffmpeg (K-Lite pack)? Subs works normally with MPCHC.

That is exactly what I was thinking. I think people will start clocking on to this more with Avatar's forced subs [except those who have downloaded rips]
Forced subs are much more irritating with the hang... took me a while to figure out how to get the forced subs yellow, to then find out they hang forever in xbmc... using xbmc-r28256-trunk
Reply

Logout Mark Read Team Forum Stats Members Help
Bluray (pgs) Subtitles Stay On Screen For Too Long + Inconsistent placement.0